Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Endless Loop w/two MC's (action script)
From: Eric Stewart
Date: Tue, 20 Jun 2000 19:16:26 +0100

Have the button start the movie clip, then on the movies clips 22 frame inse
rt a keyframe and have that keyframe start the last movie Clip. The reason y
our getting the error is that your computer is running the while loop tens o
f thousands of times a second. It wasn't written to support what you are try
ing to do.

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Jason White
Sent: Tuesday, June 20, 2000 1:52 PM
To: flasheratchinwag [dot] com
Subject: FLASH: Endless Loop w/two MC's (action script)


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 cl
ip 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 insi
de of the loop, then it should escape the loop briefly. Anyone else tried t
his 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 helpatchinwag [dot] com



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 helpatchinwag [dot] com


Replies
  FLASH: Endless Loop w/two MC's (action s, Jason White

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]