This is still actual.
Are there anybody from support?
Since the SWF isn't on a stage, I doubt that any of the Flex UI will work.
Do you mean I should use usual Flex swf instead of flash lib?
1 person found this helpful
No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.
I added actionscript library with features I need (it was packed into swf-file) and then called required actionscript functions from JS without embeddng whole swf with object tag, only reference to swf in head, and it worked.
Thanks for help.