Re: [Flashcoders] Calling functions in sequence

2006-08-09 Thread eric dolecki
this is AS3: http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/events/Sequence.as On 8/9/06, Matt Comstock [EMAIL PROTECTED] wrote: I am a newbie to flash and I did search flashcoders prior to asking this question. My issue is that I have two function that I

Re: [Flashcoders] Calling functions in sequence

2006-08-09 Thread Matt Comstock
Thank you. What would I have to change to make is AS2 compatible? On 8/9/06, eric dolecki [EMAIL PROTECTED] wrote: this is AS3: http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/events/Sequence.as On 8/9/06, Matt Comstock [EMAIL PROTECTED] wrote: I am a

Re: Re: [Flashcoders] Calling functions in sequence

2006-08-09 Thread eric dolecki
Well, take it out of the package declaration, and then rewrite the class a bit using the AS2 EventDispatcher, etc. If you need help with that, I might be around later today. On 8/9/06, Matt Comstock [EMAIL PROTECTED] wrote: Thank you. What would I have to change to make is AS2 compatible? On

Re: [Flashcoders] Calling functions in sequence

2006-08-09 Thread Mick G
You could call the second function from the first (and have a paramater so it only runs the second function if you send the paramater). function funct1(runNext){ //do something if(runNext){ funct2(); } } function funct2(){ //do whatever } to call only the first function: funct1(); to

Re: [Flashcoders] Calling functions in sequence

2006-08-09 Thread Andreas Rønning
I might be mistaken, but: function doAll(){ func1(); func2(); func3(); func4(); } func2 is called once func1 is done, not before or during. In this way, happily start loading your flv and xml file at the same time. If you want the xml file to load once the flv

RE: [Flashcoders] Calling functions in sequence

2006-08-09 Thread Mike Mountain
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 09 August 2006 15:11 To: Flashcoders mailing list Subject: Re: [Flashcoders] Calling functions in sequence I might be mistaken, but: function doAll(){ func1(); func2(); func3