RE: [flexcoders] Question on calling multiple Functions in sequence

2008-04-03 Thread Rick Winscot
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, April 02, 2008 8:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Question on calling multiple Functions in sequence I just got busted for being wrong on a different question, but here goes

RE: [flexcoders] Question on calling multiple Functions in sequence

2008-04-03 Thread Mike Anderson
, 2008 2:55 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Question on calling multiple Functions in sequence You could create an 'event chain' to prevent collisions... I've attached a sample for reference. Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Tracy Spratt
I just got busted for being wrong on a different question, but here goes anyway: The Flash Player, from the viewpoint of AS code is essentially single threaded. So, in the example you posted, the execution runs sequentially througe each function. myFunctionTwo() will not run until

Re: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Eric Cancil
When dealing with things inside the flash player - you need to deal with it as if it was single threaded - because generally, it is. In your example, the functions would be called in order, one after another...not all at the same time as you may think so lets say you had an example like this var

RE: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Mike Anderson
: Wednesday, April 02, 2008 6:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question on calling multiple Functions in sequence When dealing with things inside the flash player - you need to deal with it as if it was single threaded - because generally, it is. In your example

RE: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Tracy Spratt
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cancil Sent: Wednesday, April 02, 2008 6:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question on calling multiple Functions in sequence When dealing with things inside the flash player - you need to deal

Re: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Nayan Savla
Cancil Sent: Wednesday, April 02, 2008 6:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question on calling multiple Functions in sequence When dealing with things inside the flash player - you need to deal with it as if it was single threaded - because generally

RE: [flexcoders] Question on calling multiple Functions in sequence

2008-04-02 Thread Mike Anderson
] On Behalf Of Tracy Spratt Sent: Wednesday, April 02, 2008 8:54 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Question on calling multiple Functions in sequence Unless you are doing something that is explicitly asynchronous, the single threaded nature of AS processing is reliable