[Flashcoders] Order of code execution - class files versus the root timeline- is this consistent
When code is in class files can we count on any particular order of execution relative to code in the _root timeline. For example if I have a component that is dragged on stage that is dragged on stage is it always available by the time code in the main timeline runs. I have sort of taken it for granted that I can write code to execute say on a combobox on stage without worrying about when it will be available- is this always a safe assumption? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Order of code execution - class files versus the root timeline- is this consistent
best to wait a frame i would say, and with v2 components sometimes 2 frames. do an on enter frame on width for example and see what it says On 5/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: When code is in class files can we count on any particular order of execution relative to code in the _root timeline. For example if I have a component that is dragged on stage that is dragged on stage is it always available by the time code in the main timeline runs. I have sort of taken it for granted that I can write code to execute say on a combobox on stage without worrying about when it will be available- is this always a safe assumption? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Order of code execution - class files versus the root timeline- is this consistent
Okay thanks- That's good to know. On 5/2/06, Johannes Nel [EMAIL PROTECTED] wrote: best to wait a frame i would say, and with v2 components sometimes 2 frames. do an on enter frame on width for example and see what it says On 5/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: When code is in class files can we count on any particular order of execution relative to code in the _root timeline. For example if I have a component that is dragged on stage that is dragged on stage is it always available by the time code in the main timeline runs. I have sort of taken it for granted that I can write code to execute say on a combobox on stage without worrying about when it will be available- is this always a safe assumption? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com