if I have multiple SWF's that load into another SWF, which we will call "loader.swf", is it necessary to import the libraries that I need within each of the LOADED SWF's, or can I just import the libraries that I need within the "loader.swf" and omit them from all the rest?
I know that assets get loaded based on the path of the "loader.swf", so do libraries work similarly? For example, if I have:
ANDCode://loader.swf import flash.events.Event; // some code to load my other SWF's
is that sufficient, or do I need to include the libraries in each separate SWF?Code://SWF that gets loaded into "loader.swf" //notice I import no libraries some_mc.addEventListener(Event.COMPLETE, someHandler);
thx!




Reply With Quote