Spark.core.ContentCache with AIR 3.7 on iOS not working

I've been trying to migrate a large Flex 4.6 mobile project from AIR 3.5 to AIR 3.7 for several days with no luck. The issue that kills me is Error #3747: Multiple application domains are not supported on this operating system.
This happens only on iOS when I load art only SWF files from web. I changed all my classes to use ApplicationDomain.currentDomain and this fixed it for them but it doesn't work for spark.core.ContentCache
Error: Error #3747: Multiple application domains are not supported on this operating system.
    at flash.display::Loader/load()
    at spark.core::ContentCache/load()[E:\dev\4.y\frameworks\projects\spark\src\spark\core\Conte ntCache.as:385]
I looked through the code there and it is as follows:
// Execute Loader
var loaderContext:LoaderContext = new LoaderContext();
loaderContext.checkPolicyFile = true;
loader.load(urlRequest, loaderContext);
I can't change (and don't want a custom modified flex sdk) it because this is inside the Flex framework code. I've checked AIR 3.8 Beta and same thing happens there. This is a breaking change from AIR 3.5. It shouldn't throw an error, but just load in ApplicationDomain.currentDomain instead when the OS is iOS.
Is there any good fix for this thing? All advices are appreciated. Thanks.

Try "monkey patching" as described here:
http://forums.adobe.com/message/5267844
i.e. copy ContentCache.as into a folder spark/core in your own source folder and edit it. Then the edited spark.core.ContentCache will be used instead of the original one.

Similar Messages

  • I just fix my macbook air because it was kernel panic. They changed the hard drive. I could not back up with Time Machine, because it did not work and I had over Adobe creative suite 5 design premium student. But I finished my studies last year and I'd li

    I just fix my macbook air because it was kernel panic. They changed the hard drive. I could not back up with Time Machine, because it did not work and I had over Adobe creative suite 5 design premium student. But I finished my studies last year and I'd like to know how to get the serial number for me to reinstall Adobe creative suite 5 design premium when I am no longer study because I would still like the used? It is not fair if I do anymore because I really need.

    You can download Creative Suite 5 here:
    Other downloads
    To deal with the issue of the serial number and using it again, you'll have to use Web Chat. Here's a link:
    Adobe ID, sign in, and account help
    See the bottom of the page for a link

  • Air Traffic Control Widget Does Not Work With OS 10.6.8

    Air Traffic Control Widget Does Not Work With OS 10.6.8.
    Any suggestions?
    SR

    No I have not. I have thought about just downloading another version...
    Thanks for your reply.
    SR

  • MacBook Air wifi internet shared network not working on tethered android phone GT B5122

    MacBook Air wifi internet shared network not working on tethered android phone GT B5122
    I have created a password protected wifi internet network on my Macbook air. I tethered by Andriod phone onto this network, but the internet connection works intermittently on the phone, and when it stops working the network continues to show as connected to the shared network mostly(other times it keeps renewing the wifi IP address on the Andriod phone).
    Also the network the MBA is connected to, is a hardwired one using a SSH login account in a student accomadations.
    I am not sure, but all the restarting and refreshing of system, phone and wifi sharing and re-enabling wifi is not reparing the internet connecting on the wifi network for the phone
    Really puzzled, if this is one of the Apple, Andriod compatability issues.
    Cheers,
    Vivek

    Spanners91 wrote:
    Hi.
    I'm having trouble with the wireless connection on my new home hub 3. Most devices will connect easily, but there are three devices that have trouble connecting. These are an Android Phone (Samsung Galaxy Mini), an android tablet (Sony Tablet S) and an iPod. All of these devices work perfectly on other network connections, and other devices in the house are quite happy connecting to the network.
    The Androids can see the network, and will try to connect to it, but when they do they just go through a loop of "connecting">>"acquiring IP address">>"disconnected". I have tried resetting the Home Hub with a pin, and that lets the devices connect for about 24 hours, but after that time they stop connecting again.
    I'm really not sure what to do to fix the problem, so I will very much appreciate some help.
    Many Thanks.
    My lads SGMini connects perfectly to our hub3
    Have you installed the BTFon app to these devices?
    If so, you could delete it and then see what hapens.....
    -+-No longer a forum member-+-

  • Archive file with errors in sender file adapter not working! please help!

    Hi Experts,
       I have a file to RFC scenario. the input is a XML file. I have setup the flag in sender file adapter channel for archiving the input files with errors. But it is not working.
    For testing I have used an invalid xML file for example without the main XML tag. I have also tested with a MSWORD file saved with.xml extension. But in both the cases the files are not getting archived.
    My archive location permissions are fine and in fact normal archive operation is happening. That is, if I select the processing mode as "Archive" and gave the Archive directory then files are getting archived. The problem is only with the "Archive faulty source files" option.
    What am I missing? DO I need to do some more configurations?
    What are the prerequisites if any for this option?
    How to test this?
    Please help me! I will be greatfull to you all!
    Thanks & Regards
    Gopal

    and go thru this links
    Creating a Single Archive of the Version Files
    http://help.sap.com/saphelp_nw04/helpdata/en/79/1e7aecc315004fb4966d1548447675/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/31/8aed3ea86d3d67e10000000a114084/frameset.htm
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • When streaming a movie with the new Apple TV, and using a DSL Internet connection, all audio sound works, e.g., the music track, but the audio track with the actor's voices, does not work. What can I do?

    When streaming a movie with the new Apple TV, and using a DSL Internet connection, all audio sound works, e.g., the music track, but the audio track with the actor's voices, does not work. What can I do?

    Hi Brian,
    Thanks restoring and restarting didn't fix my problem - i have started it fresh and still it doesn't work. Basically I press ONCE on the remote, after the machine has not had any commands for 10 minutes, and the cursor skips from one end of the menu to the other - so I can't choose network or update software etc - I sometimes manage to stop it randomly in the middle of the menu if I press on a command in the middle of the cursor skipping all the menu steps...not sure what the problem is but I have basically not used my brand new apple tv since I bought it for that reason! I should call Apple support I suppose! grrrr hate wasting time with stuff like this!
    Thanks for your help though!
    Pernille

  • My ipad mini is not syncing music onto in, my ipad has been replaced to see whether the issue is to do with the ipad but its still not working. i have a a windows PC please help thanks

    my ipad mini is not syncing music onto in, my ipad has been replaced to see whether the issue is to do with the ipad but its still not working.
    ive tried everything and ive been to the store which was when i was given a new ipad mini. i have a a windows PC please help thanks

    Are you attempting to sync music from your iTunes Music Library on your PC?
    What options do you have set on the Music Tab for your iPad in iTunes?
    What happens when you sync?
    Any error messages?

  • After acceessing home screen with assistive touch auto lock is not working in my iphone 4S after upgrading to ios6

    After acceessing home screen with assistive touch auto lock is not working in my iphone 4S after upgrading to ios6

    Additional testing i perform to make wifi work but nothing works out:
    i did re-installing the software using iTunes, reset the network settings restarting the phone. Nothing solves my problem.
    wifi was working with older software versions. i think there should be a problem with 8.1.1.
    is anyone has fix for this issue?

  • The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • There is a problem with my apple watch.it is not working well .There is a problem in its charging .The repairers says that contact to your company and ask them to provide you its software. Please help me.

    There is a problem with my apple watch.it is not working well .There is a problem in its charging .The repairers says that contact to your company and ask them to provide you its software.
    Please help me.

    Please be aware that you are not communicating with Apple when you post in these forums. These are user-to-user support forums, so in almost all cases the only people who will reply to your posts are, like me, your fellow users.
    As to your issue, Apple does not and never has made a wristwatch as such. The only thing close to a watch that they have made was the 6th-generation iPod nano:
    http://support.apple.com/kb/ht1353#iPod_Nano_6G
    which has a clock feature and which some people have worn as a wristwatch. Is that what you mean?
    Message was edited by: varjak paw

  • I am running 10.8 and I am trying to get a E-mu 1x1 midi/usb connector to work with my keyboards. It's not working with any keyboard at all. I believe it is a Mainstage/Mac issue. Mainstage can recognize the the interface but it won't work.

    I am running 10.8 and I am trying to get a E-mu 1x1 midi/usb connector to work with my keyboards. It's not working with any keyboard at all. I believe it is a Mainstage/Mac issue. Mainstage can recognize the the interface but it won't work.

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • Drawing with a custom profile stroke is not working for me. Does it work for you?

    Drawing with a custom profile stroke is not working for me. Does it work for you?
    I can only apply it on an existing stroke but can't draw a new one with the selected profile. In fact if I change the profile to other than the default Uniform I also can't draw a new stroke with any other width than the default 1 point. This doesn't seem normal.
    Using SC5 on a PC.

    Another question on the same topic.
    Once I add a new profile to the list is it possible to put it on top of the list. I need this because the Adobe people decided to put the list in a tiny scrollable window with only a few of the first profiles showing. If there is noting in the interface may be I have to modify some program files settings?

  • Can't connect to websites with any browser. Bookmarks do not work but bookmarks  through bookmarks edit works just fine.

    Can't connect to websites with any browser. Bookmarks do not work but bookmarks  through bookmarks edit works just fine.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • What's up with the I-tunes radio player not working now for several days?

    Wha's up with the I-tunes radio player not working now for several days? error message reads "an error occurred occurred while contacting the radio tuning service. Check your internet connection or try again later" My internet connection is fine.

    Having same issue on Powerbook G4 running 10.5.8 I suspect Apple disconnected the service.

Maybe you are looking for