This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2005 > LoadVariables trying to do a text scrollbar





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author LoadVariables trying to do a text scrollbar
schebito

2005-05-20, 7:26 pm

I am trying to make the movie load some preexistent text called "text.txt". I
saved it on the same folder as my .Fla file. Do I have to put it into library,
if so, how do I do it.

I tried to write " loadVariables("text.txt"); ", but it shows pasted under

1, layer=Texto, frame=1:Line 1: Wrong number of parameters; loadVariables
requires between 2 and 3.
loadVariables("text.txt");

what parameters?? what do 2 and 3 mean?
yet again, should I be putting text.txt into the library?

droopy.ro

2005-05-22, 4:14 am

hello.
the loadvariables function, needs at least 2 parametres.
try loadvariables("text.txt",this.variables_mc);
where variables_mc is a movie symbol that is located at the same level as the
code.
i hope you understand..

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews