Hi - I'm trying to make a flash movie that will display a new text phrase every 10 seconds in a dynamic text box.
Here's what I did..
In the first frame I have a dynamic Text box with the var as "mess". On the actions scripts layer I have this:
getTimer();
x=getTimer();
i=0;
if (Number(getTimer())<(Number(x)+5000)) {
mess="hi. How are you.";
};
mess1="I'm doing fine.";
mess2="could you help me with that?";
The first "if" statement sets up the text box to read "hi how are you".
[b] Here's my problem. since mess is a var on the dynamic text box, whatever is inside the quotation marks gets displayed in the text box.
But I need to do a string addition so that every time 1 is added to i, the "mess" will become equal to the next "mess" (ie.. mess1,mess2,mess3...) and thus display the next message in line.
Right now, it will only display "hi how are you1", "hi how are you12", "hi how are you 123", etc, instead of the actual string value of "mess1","mess2",....
I've attached the fla file in case this gets too confusing.
Thanks for your help.
tony
Last edited by 98blacksnake; 01-29-2004 at 04:46 PM.