Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

AIR 3.6 packaged SWF error

Recommended Posts

Hi guys,

i am doing some tests with converting a project to ios and wanted to test out the new loading packaged swfs on ios feature of AIR 3.6. I am getting a Multiple application domains are not supported on the operating system. error with my current loadermax que.


i see from this link that loader now expects a loaderContext option:



Is this going to be included into loadermax soon? or is there something i can add to get round it?


Thanks guys and hope you are all enjoying the festive period :)

Link to comment
Share on other sites

Sure, you can define a LoaderContext using the "context" special property. Like:


var myContext:LoaderContext = new LoaderContext(...);
var loader:SWFLoader = new SWFLoader("myURL.swf", {context:myContext});


Does that help?

  • Like 1
Link to comment
Share on other sites

fantastic! thanks for the help Jack that sorted it :)

Link to comment
Share on other sites

  • 3 months later...

It seems this problem has resurfaced...
I had to put this part of the project on the back burner while i finished the android version.
Now i have come back to it and i am recieving this error again...

Here is my code, which did work before...

i am using AIR 3.6 build 5350 for iOS


var myContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);

contentQueue = new LoaderMax({name:"assetQueue", onProgress:progressHandler, onComplete:assetsLoaded, onError:errorHandler, context:myContext});

Link to comment
Share on other sites

You don't set a context on a LoaderMax object - that's just a queue of loaders. You set the context on individual loaders like SWFLoaders. And/Or you can set a default one across the entire LoaderMax system like this:


LoaderMax.defaultContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
  • Like 1
Link to comment
Share on other sites

Thanks again Mr GreenSock!
I'm not at my dev mac at the moment but will try this when i do, sounds like i had things a little mixed up... 

Club membership once again pays for itself :)

  • Like 1
Link to comment
Share on other sites

haha it never ends does it...

Error: Error #3764: Reloading a SWF is not supported on this operating system.


sooo.... guess what my next question is :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.