i wnat use the flash ui components to make a dynamic text box scroll
i has the instance name “scroller” and teh var name “ans”
i pass text to it through the var name with a button…
how can i scroll this text without loading from an external file coz teh text wll be different everytime due watr is inpiutt b4 it…
and its goin to have to on a cd so i cant have it usinbg externale files…
ne help plz?
Make sure your dynamic textbox is set to multiline rather than single line.
With the actions of each button that you want to change content of the box with, set the var ans to whatever text you want to insert into the box.
If you have set up the scrollbar properly, ie, dragged it onto the text box, and the textbox is set to multiline, it should work as a scroll text just fine when you publish it.
Anyways, I think what you might be missing here is the multiline thing.
So the actionscript for each button is
on (release){
ans = “whatever text you want”;
}
Correct me someone if I’m wrong. Sorry for the rambling.