Flasher Archive

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


Subject: Re: FLASH: Call actions and order of execution
From: Nathan Dicken
Date: Tue, 7 Dec 1999 16:53:11 GMT

Dave,

Multiple call statements in a single actionscript will run one after the
other. Esentially, when Flash encounters a call statement in an
actionscript, it finds the target frame (with it's actionscript contents),
runs through those specified scripts, and then continues on with the rest
of the statements in the original actionscript. In the example you gave
below, playback would hit the first call statement ("stop playback"), do
those actions, then hit the second call statement ("disable hotspots"), do
those actions, and so on... One call statement will finish executing
before a consecutive one starts. I hope this helps.

Nathan

--------------------------------------
Nathan Dicken
Fusionary Media
http://www.fusionary.com




>I have a number of Action Scripts that I'm using as subroutines in a current
>project. Flash Help says "After the specified frame's actions run, control
>returns to the action that issued the Call statement." Does that mean that
>Flash waits until all the actions at the target of the Call are executed
>before control returns? What happens when I issue a number of Call actions
>one after another in the same Action script?
>
>For example, I have a frame with the following actions:
>
>Call ("stop playback")
>Call ("disable hotspots")
>Call ("play recorded data")
>
>Does "stop playback" finish executing before "disable hotspots" can start,
>or do they all start executing at the same time?
>
>Dave Hollinden
>dhollindenatsonicfoundry [dot] com
>
>-----Original Message-----
>From: Dave Hollinden [dhollindenatSonicFoundry [dot] com (mailto:dhollindenatSonicFoundry [dot] com)]
>Sent: Tuesday, December 07, 1999 10:11 AM
>To: 'flasheratchinwag [dot] com'
>Subject: RE: FLASH: A way for an accurate delay using Loop while??
>
>
>I also need a very accurate timer for coordinating sound files in a current
>project. What I'm doing is using a frame based timer to time the bulk of a
>wait period, maybe all but the last half second, and then using a Loop based
>timer to accurately time the remaining bit of the wait period. That way the
>Loop based timer only has to wait for a short period of time, and won't
>exceed the 200,000 action limit.
>
>Dave Hollinden
>dhollindenatsonicfoundry [dot] com
>
>-----Original Message-----
>From: Jake McFee [gommorah99athotmail [dot] com (mailto:gommorah99athotmail [dot] com)]
>Sent: Tuesday, December 07, 1999 8:50 AM
>To: flasheratchinwag [dot] com
>Subject: FLASH: A way for an accurate delay using Loop while??
>
>
>Hi all,
>
>I need to make a timer in flash that will play a frame after 1 second. I
>have tried the timer at http://www.moock.org/webdesign/flash/ but I can
>still notice a slight delay when using sounds. I think this is because Flash
>
>isn't very accurate when looping between frames. And I need for it to play
>very accurately once every second. The only way I can think of is to use the
>
>Loop action. However I keep running into problems where I get errors saying
>that flash exceeded 200,000 actions. Has anyone had any success in getting
>flash to play at a consistent speed?
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
>Reserve your space today at http://www.streamingmedia.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...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
>Reserve your space today at http://www.streamingmedia.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...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
>Reserve your space today at http://www.streamingmedia.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com

--------------------------------------
Nathan Dicken
Fusionary Media
http://www.fusionary.com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: projector challenge, Judd Morrissey

Replies
  FLASH: Call actions and order of executi, Dave Hollinden

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