Hi - I am new to Flex and wondering if this is possible:
In the markup of my Flex application, load a 3rd party .swf (in this case, a media player from another website), add it as a child and let it be run within the context of my app. Here's what I tried based off of Adobe's documentation. However, Security.allowDomain() throws an error: SecurityError: Error #3207: Application-sandbox content cannot access this feature. Maybe trying to do this is a total security violation? Does it expose my application data to said 3rd party SWF?
Thanks in advance for any advice. Here's my code:
<?xml version="1.0" encoding="utf-8"?>
xmlns:s="library://ns.adobe.com/flex/spark" title="SWFTest" initialize="init()">
private function init():void
var container:UIComponent = new UIComponent();
addElement( container );
//Load a video from world star hip hop. I know, really classy...
var request:URLRequest = new URLRequest("http://hw-static.worldstarhiphop.com/videos/wplayer/NAPP2j.swf");
var loader:Loader = new Loader()