I'd like to take a ball with a label in Flash and load that into flex
and set the label there

I saw Jesse's example
http://www.jessewarden.com/archives/2006/08/flash_9_button.html but
was wondering if there was an example using SWFLoader (ideally I'd
like to dynamically load certain swfs during runtime and not have
everything embeded) and somehow referencing it... something like

<mx:SWFLoader source={swf} id="loadedSwf" creationComplete="updateLabel()"/>

public function updateLabel():void {
     loadedSwf.label_mc.text="Hello world!";
}


This example
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000543.html
Only deals with loading another Flex created swf

When I tried to use SystemManager on my Flash9Preview swf I got this error:
TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.managers.SystemManager.

Casting it as SystemManager or DisplayObject ended up with a null
reference for loadedSM




Thanks

Reply via email to