Thread: [Actionscript 3] loading extern .swf
View Single Post

  #1 (permalink)  
Old 08-07-08, 19:00
iphone747 iphone747 is offline
Junior Member
 
Join Date: Jul 2008
Location: Germany
Posts: 6
Rep Power: 0
iphone747 is on a distinguished road
loading extern .swf

hi@all,
i have a little problem with loading an extern .swf. I am working on a Adobe AIR Project, with Flash CS3 and the AIR Update. For my AIR Project i will use the Chatopica chat
link:Free Web Chat Widget - Chatopica

But if i load the chat into my basic .fla and start it i become an error message.

i used this script for loadind the extern .swf:

HTML Code:
var request:URLRequest = new URLRequest("http://static.chatopica.com/chat.swf?=v0.9");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
and this is the error message:

HTML Code:
SecurityError: Error #2047: Verletzung der Sicherheits-Sandbox: parent: http://static.chatopica.com/chat.swf?=v0.9 kann nicht auf app:/Teeworlds2.swf zugreifen.
    at flash.display::DisplayObject/get parent()
    at mx.managers::SystemManager/executeCallbacks()
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()
I hope that anybody can help me with this problem

Thanks @all
Reply With Quote