Loading a pano in Adobe Air

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
erichboyer
Posts: 2
Joined: Fri May 06, 2011 1:20 am

Hi there,

Due to

Code: Select all

Security.allowDomain("*");
added to the panorama swf I'm unable to load the swf into Adobe Air. Is there a way to publish the swf without the above code in it?

eb
erichboyer
Posts: 2
Joined: Fri May 06, 2011 1:20 am

I went to my clients office and published the files again.
Now I'm getting this error when trying to load:

Code: Select all

SecurityError: Error #3226: Cannot import a SWF file when LoaderContext.allowCodeImport is false.
	at flash.display::Loader/_loadBytes()
	at flash.display::Loader/loadBytes()
	at PanoPlayer/initPanoCube()
eb
Post Reply