Hi All, need some help from the pros…
Was not sure how to approach this problem…
Goal:
**. Load Main swf file
. Loaded App creates a StageManagerClass();
. StageManagerClass calls loader for library.swf (contains style interface elements)
. StageManagerClass creates other classes that use the library.swf elements
for its styles and adds those classes() to the stage or in this case the stageManagerClass.
**
Questions is,
[LIST]
[]What is the best way to access these loaded library clips from other class’s
[]is there a better design idea out there or example where this is used
[*]Is it better to create a var on the stage so all new classes have access to it?[/LIST] My Concept for how this might work something like:
var stageControl = new stageManagerClass();
stageControl.loadAssets("library.swf");
stageControl.loader.addEventListener("COMPLETE", onLoaded);
public function onLoaded(evt : Event) : void{
trace("loaded!");
var clip:MovieClip = loader.getMovieAsset("mySymbolClipInMovie");
}
thanks for any suggestions
c