View Single Post
  #5 (permalink)  
Old Apr 1st, 2005, 00:52
d-kam d-kam is offline
New Member
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
OK, so I think I've decided on something for this movie but need some more scripting advice please

Quote:
Then your script only has to tell each clip to play and it'll fade in, or out, depending on where it is already...
This sounds like the best option to me, but what would be great is if I could have some simple AS imbedded into the external file control the timeline something like this:
  • -Script tells flash to load movie clip(s) such as instanceName.gotoAndPlay(2);
    -Script tells flash to wait a given amount of time before reading the next line of data for example using setInterval
    -Script repeat the above process for the consequent line of data.

The only thing is, I don't know how to make the external text doc communicate with flash. Could the data output commands such as...

Code: Select all
day1=WC2.gotoAndPlay(2) NW1.gotoAndPlay(2) setInterval:1000
day2=SW3.gotoAndPlay(2) setInterval:1000
...and be happy with it? Obviously, the AS is not correct there I am only guessing. But am I going along the right tracks?

d-kam

PS: Sorry about all these posts! I hope you guys don't mind...