-
1. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Colin Holgate Sep 27, 2012 9:02 AM (in response to FLAdude)Read the AIR 3.5 release notes, there's information in there about how you have to set the loaderContext in order for it to work.
-
2. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
FLAdude Sep 27, 2012 9:26 AM (in response to Colin Holgate)I guess this release is so fresh that the search engines haven't indexed that PDF...
I added the line of code from there and it appears to be working...
Is AIR 3.5 beta allowed to be released to the App Store? I don't see a watermark on it, but I recall some betas you're not supposed to release with yet? Or is that just for 'private beta'?
I might be close to having this ready to submit...
-
3. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
neh@adobe Sep 27, 2012 9:48 AM (in response to FLAdude)Although, there are no legal restrictions on uploading an applciation with a Beta version anymore, but it is still not a recommended.practice.
You may find details at:
http://labs.adobe.com/technologies/flashplatformruntimes/air3-5/
Click on Product Details > FAQs
-
4. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
FLAdude Sep 27, 2012 9:50 AM (in response to neh@adobe)Ah, that's good to hear. I always do a thorough test of my apps before I release them anyhow, and it is unlikely that the beta could be worse than the existing version of the app already in the AppStore that won't work at all on iOS 6.
Do you have any idea when it might possibly be ready? 'fourth quarter of 2012' is so vague that it is hard to plan around. If it is going to be released October 1st, it is worth waiting for. If it is going to be released at the end of December, it is better to take my chances with the beta.
-
5. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Colin Holgate Sep 27, 2012 9:52 AM (in response to FLAdude)You ought to take a chance, the worse case is that 3.5 is released next week, and you then do another update. That's better than having a non-working app possibly for the next three months.
-
6. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Nimisha1 Sep 28, 2012 4:38 AM (in response to FLAdude)Hi,
Are you trying to load a SWF in any way from the loader in your app? Would you mind sharing the code that you're using in your app which is giving Error?
Thanks,
Nimisha
-
7. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
FLAdude Sep 28, 2012 6:23 AM (in response to Nimisha1)Colin's fix from the release notes seems to have fixed the issue.
But yes, it is using a Loader to load an SWF if you are curious. It is not trying to run any ActionScript on the SWFs, just plain SWFs for graphics, not code.
here is the main lines of code calling the load
holder.loader = new Loader();
...
//this line updated with the fix
var loaderContext:LoaderContext = new LoaderContext(false,ApplicationDomain.currentDomain,null);
var urlReq:URLRequest = new URLRequest(url);
holder.loader.contentLoaderInfo.addEventListener(Event.COMPLETE,holder.loadedHandler );
holder.loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,holder.errorH andler);
holder.loader.load(urlReq,loaderContext);
-
8. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Divij Kumar Sep 29, 2012 1:07 AM (in response to FLAdude)That is indeed the recommended way of loading an external SWF in an AIR app on iOS.
A SWF is loaded in a particular ApplicationDomain which is specified in the Loader.load call via the LoaderContext. By default, a child SWF is loaded in a child domain of the root SWF's application domain. However, as we don't support multiple application domains on iOS, you need to specify the domain as ApplicationDomain.currentDomain to be able to load an external SWF on iOS.
-
9. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Lorenzo Nuvoletta-K15qTH Oct 15, 2012 5:54 PM (in response to Colin Holgate)Air 3.5 Release Note Link redirects to a 404 page http://labsdownload.adobe.com/pub/labs/flashplatformruntimes/shared/FILENAME.pdf
Also I tried to load using this syntax: loader.load(new URLRequest( url ), new LoaderContext(false, ApplicationDomain.currentDomain));
and I still get a 3747 error: Multiple application domain
EDIT: I figured it out, Air 3.5 on iOS6 doesn't like me embedding SWF files.
-
10. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Nimisha1 Oct 16, 2012 2:37 AM (in response to Lorenzo Nuvoletta-K15qTH)Following is the current link:
Also your application should load secondary SWFs on iOS 6 with AIR 3.5 .
-
11. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
FLAdude Oct 16, 2012 7:27 AM (in response to neh@adobe)Thankyou to Adobe for stepping up and removing restrictions on using the beta. My app now has its update approved and live in the AppStore. It could have been potentially crippling to have to wait for a release build while the old AIR release was broken on iOS 6.
-
12. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
Nimisha1 Dec 12, 2012 6:11 AM (in response to FLAdude)Hello,
Feature Multiple SWF on iOS has been introduced in AIR 3.6 Beta build and you can download it from here http://labs.adobe.com/downloads/air.html
Also to know more about the feature refer to http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air- apps-on-ios/
We would like to hear your feedback, please let us know if you face any issues.
Thanks,
Nimisha
-
13. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
obssessless Jul 14, 2013 6:06 PM (in response to Lorenzo Nuvoletta-K15qTH)> EDIT: I figured it out, Air 3.5 on iOS6 doesn't like me embedding SWF files.
I've just discovered this as well. It seems that mx.core.MovieClipLoaderAsset does not set the LoaderContext to ApplicationDomain.currentDomain on it's internal loader, causing Embedded swfs to trigger the Multiple application domain error.
Are there any workarounds for this? Will this be fixed?
-
14. Re: AIR 3.5 can't load SWF graphics and/or app: folder "Multiple application domains are not supported"
slmille4 Dec 31, 2013 11:37 AM (in response to obssessless)Has anyone come across any solutions to this embedded SWF issue?




