I am working on a Flex project that loads dynamicaly a swf
file (flash 8 / actionscript 2). I need Flex listening events
dispatrched from flash.
Is that posible?
I read about the LocalConnection class but this looks like is
used to communicate diferent swf files in the same html documments.
LocalConnection is the way to go. It is for SWF-to-SWF
communication, but ActionScript 2 SWFs loaded into Flash Player 9
occupy a different virtual space than ActionScript 3 SWFs. So you
need LocalConnectiton to get them talking.
If possible, upgrade to Flash CS3 and you'll have
ActionScript 3 SWFs which can be loaded into the same virtual
See my blog for details (search LocalConnection):