Page 1 of 1

Loading a pano in Adobe Air

Posted: Mon May 09, 2011 8:07 pm
by erichboyer
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

Re: Loading a pano in Adobe Air

Posted: Mon May 09, 2011 8:49 pm
by erichboyer
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