Re: [flexcoders] How do you load library symbols without embedding via SWFLoader?

2007-01-11 Thread Rick Schmitty
Just to follow up for anyone else trying this, I was able to reference things via SWFLoader dynamically. I had to drag the movie clip to the stage and give it an instance name ball_instance then in Flex I did swfLoader.content.root[ball_instance][label_txt].text=hello dynamic world!; I didnt

Re: [flexcoders] How do you load library symbols without embedding via SWFLoader?

2007-01-04 Thread Rick Schmitty
Thanks Roger, I was exporting as an AS3 SWF, I used these options on the symbol, is this correct? (see attached) Is auto generated ok or should I write my own generic class definition for each object in the library? Thanks again On 1/2/07, Roger Gonzalez [EMAIL PROTECTED] wrote: Symbols

RE: [flexcoders] How do you load library symbols without embedding via SWFLoader?

2007-01-02 Thread Roger Gonzalez
Symbols don't exist in AS3, there are only classes. If you exported the SWF from Flash as an AS3 SWF, you should be able to use getDefinitionByName to find the class instance in the dynamically loaded SWF. The compiler knows how to reference old-style Flash symbols at compile time (via