Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Endless Loop w/two MC's (action script) |
From: | Jason White |
Date: | Tue, 20 Jun 2000 19:06:57 +0100 |
I began to search the archive on this...but soon gave up after seeing there were 21 pages alone of June posts...
I have a button which starts one movie clip, then I want it to watch that clip til it gets to frame 22 and then start another clip. I am trying a While Loop...but for some reason as soon as Flash starts to play the first target, it then comes back and tells me that 200,000 operations have been performed and that this is most likely an endless loop. If it would set variable inside of the loop, then it should escape the loop briefly. Anyone else tried this and have a better technique/hit the same snag? Action Script is below. Thanks,
Jason
—-----------------
On Release
Begin Tell Target ("/page1")
Go to and Play ("submitdata")
End Tell Target
Set Variable: "a" = GetProperty ( "/page1", _currentframe )
Loop While (a < 22)
Set Variable: "a" = GetProperty ( "/page1", _currentframe )
End Loop
Set Variable: "a" = "done"
End Release
—-------------------
"Everything that is wrong with training can be summed up in just four words...*It's just like school*"
--Roger Schank
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Endless Loop w/two MC's (acti, Mark Sheppard
RE: FLASH: Endless Loop w/two MC's (acti, Eric Stewart
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]