flex - Is it possible to access static fields declared in a host application by movies loaded dynamically using SWFLoader -


Is it possible to access the static field declared in the host by a dynamically filled movie (the movie loaded is completely reliable Domain).

My main concern is to ensure that we do not expose the loaded SDF data, but the events still removed by the loaded SDF (via hosted app callback functions) Want to hear


UPDATE

The SWFLoader (for the flex) and the loader (the flash) differ, the SWFLoader wrappers the loader, but until Flex API 3.2 (or 3.3?) It seems that you can not get direct access to loaders contentLoaderInfo , which is loaded without the use of the loaded SWF loader is used as the link of the infoen host host swfloader's first content property flex In 3.3, they offer a property on SWFLoader.swfBridge Area are (highlight to see) content source code loader Infolder Avents find nested loader object

But still an issue: swfbridge (at the event. Compet) feel empty?

So how can we get the contents of Host SWFLoader LoaderInfo.sharedEvents object?

If you load 'a.swf file from a different domain' s SWF, and BSWF The domain has a cross domain policy file that allows access to the contents of the SSFF. Yes, you can use too much inside all. B including stable areas. SWF reads to people who use the class.

If you want to load the ASWF from BSWF to a different domain, but the ASFF does not want to access BSWF's content, T allows it for events, I remember there is something called Was there. I was lucky yet, I do not need it yet, but I remember reading about it. There was a complete boring chapter about safety. Sorry I can not provide more concrete examples because I am not responding to my personal experience.

Good luck!


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -