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
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
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
3 matches
Mail list logo