Hello Flashcoders!

I recently joinde the list and hoped to find the answer to some questions that bother me, hope they aren't to boring or stupid :-)]

I wanted to ask - how do you handle components in relation to load orde? I recently developed a combobox that doesn't work with one load order, but does work with the other, I sisuepc this is happening because the clips within it are not available when the movie is loaded in a certain order. What should I do? Establish the linking to the clips within an onEnterFrame handler instead of the constructor?

For now I initialize my components like this (I do not inherit the UIComponent):

class MyCombo extends Widget {
function initWidget() { // is a constructor delegate, gets called only once
                // code to init the movie clips forming the parts of a combo
        }
}

Can someone point me to a good read on how to handle different load orders when building components? (ideally I would like my component to work with both top-down and bottom-up).

Articles on component lifecycle on the Macromedia site are a little, ehm, incomplete.


--
Julian 'Julik' Tarkhanov
me at julik.nl



_______________________________________________
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

Reply via email to