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

Loading a pano in Adobe Air

Post by erichboyer » Mon May 09, 2011 8:07 pm

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

Re: Loading a pano in Adobe Air

Post by erichboyer » Mon May 09, 2011 8:49 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests