Hello everyone,
i'm trying to load a local SWF Application in my Air Application via the SWFLoader class. The SWFLoader
class is displayed in a new Window
. Therefore, i'm trying to resize the window automatically, when the Flash Application is resizing. But here's the problem. The SWFLoader does not get any events when the loader App has been resized.
The Problem seems to be the Sandbox Restrictions. I'm able to call methods in the childSandboxBridge
and parentSandboxBridge
Objects that i've set in the LoaderInfo
of the SWFLoaders content (the loaded SWF Application). But i cannot listen to any ResizeEvents or something like that when i'm resizing the loaded App.
I'm aware of the workaround with the Loader
Class and the codeExecution Property, but i don't want to bypass the Air Sandbox - if possible.
Can anyone help me with this?
Thanks in advance