All about FlashInterface
I am working on a Flex application that uses SWF 8 contents only then I realized an issue there. A Flex application which is SWF9 i.e uses AVM2 and content for the application which is SWF8 i.e AVM1 !! Flash Player do not have a way to directly comunicate from AVM1 to AVM2 contents!! After some research I found that we can use either LocalConnection or ExternalInterface to communicate between contents of different AVMs.
Both LocalConnection and ExternalInterface have their own advantages and disadvantages. I somehow managed to write a custom solution using LocalConnection. Still I wanted to make this communication system be more flexible and easier to use. Thats when I found FlashInterface.
FlashInterface allows direct communication between AVMs with a common API for both AS 2.0 and AS 3.0. It also supports controlling Flash Player 7 and lower SFW’s through a Flash 8 wrapper.
Download, documentation, tutorials and examples.
No comments:
Post a Comment