Flex 4.6 IOS Mobile packager - can it load and play swf's dynamically at run time?

I have an app that shows the viewer slides in a SWFLoader object.  I load the slides at runtime from a remote server.  When I package the app for IOS using 4.6 the swf slides load and play fine in the IOS emulator on the PC.  They don't load, however, when I deploy to a provisioned iPad. 
My guess is that IOS can handle doesn't know what to do with dynamically loaded swf data.  I'm not positive though because it plays in the emulator.  Is that emulator truly emulating xcode or is it running flash?
Note:  this same app plays an rtmp flash stream just fine even on the device itself.  Just can't handle a dynamically loaded swf.

The correct answer to this question appears to be that Apple's terms of service *do not* prohibit the loading of swf's on IOS from remote servers dynamically at runtime.  They prohibit the loading of swf's that *contain executable ActionScript code*. 
I loaded a PPT into Adobe Connect and then retrieved the resultant slide swf's from the Connect server.  I took these swf's and loaded them into my iPad app, dynamically at runtime, from a remote server.  The swf's loaded and animations played.  I made no changes to my code.  I'm just using a plain old SWFLoader object.
Loading swf's dynamically at runtime from remote servers into IOS works - if you make the swf's right.  How to do that I'm not sure.

Similar Messages

  • Can we load and unload the files in the run time?

    Can we load and unload the files in the run time?
    For example there are four files named "test1.h & test1.c" and another set "test2.h & test2.c" (I attached them as attachment to this post).
    test1.h contains code:
    int variable; //variable declared as integer
    test1.c contains code:
    variable = 1; //variable assigned a value
    test1.h contains code:
    char *variable; //variable declared as string
    test1.c contains code:
    variable = "EXAMPLE"; //variable assigned a string
    So here, in this case can I dynamically load / unload the first & second group of files so that the same variable name "variable" can be used both as integer and string? And if yes, how is that to be done?
    Solved!
    Go to Solution.
    Attachments:
    test.zip ‏1 KB

    What do you mean by "dynamically"?
    If you want to have a variable that either is an int or a char in the same program run, I'm afraid your only option is to define it as a variant and assign from time to time the proper data type in the variant according to some condition. Next, every time you access the variable you must firstly check which data type is stored in it, next access it in the proper way.
    If on the other hand your option or to have a run in which the variable is an int, next you stop the program and in a following run it is a char, you may have it by using some appropriade preprocessor clause:
    #ifdef  CHAR_TYPE
    #include "test1.h";        // variable defined as a char
    #else
    #include "test2.h";        // variable defined as int
    #endif
    Next, every time you want to access the variable you must proceed in the same vay:
    #ifdef  CHAR_TYPE
      variable = "string";
    #else
      variable = 1;
    #endif
    Does it worth the effort?
    Additionally, keep in mind that this "dynamical" approach can work only in the IDE, where you can properly #define your CHAR_TYPE or not depending on your wishes: when you compile the program, it will have only one #include depending on the definition of the macro.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Can you facetime and play game with person at same time

    Can you facetime and play game with person at same time

    Yes, simply close the app and you can continue to talk. However, the other person cant see you and you cant see them. You can only do an audio session.

  • How can i add and delete node in tree in run time

    i want to know the method that let me select tree node to delete it and another to input upon user inputs

    Hello,
    why don't you just enter "add tree node" in the Search Forum search box ?
    There are plenty of samples.
    Francois

  • Loading and download SWFs for AIR apps on iOS from server

    Dear
    I develop app for ios using adobe air i need to loading and download swf in my server to my local device
    i make it loading from server and play but i need to download it locally in device to play offline
    Please Help
    Thank You

    If I undestand correct, the unload() is unsuported yet, so it just hangs in the memory
    In the tests I did, when I put two loads for the same swf, the app freezes, so I don´t know what you can do there.
    For the "code", you just need to put the LoaderContext on the loads, something like this:
    Frame 1:
    var myLoader:Loader;
    var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
    if(myLoader == null){myLoader = new Loader(); addChild(myLoader); }
    else {myLoader.unload();}
    Frame 2:
    myLoader.unload();
    myLoader.load(new URLRequest("file1.swf"),loaderContext);
    Frame 3:
    myLoader.unload();
    myLoader.load(new URLRequest("file2.swf"),loaderContext);
    Frame 4:
    myLoader.unload();
    myLoader.load(new URLRequest("file3.swf"),loaderContext);
    Regards,
    Rogério Gonzalez

  • Audibook files can be found and played on the iphone only with spotlight. Help me get them to show and play.

    I download audiobooks to Overdrive console, then all parts are transfered to iphone 4s with IOS 7.1. Files can be found and played on phone only with spotlight. This is a difficult procedure for my wife. Help me to show and play audiobooks downloaded from library using Overdrive. Tried Sync and beboot several timnes.
    Thanks in advance

    I used it once for audiobooks with a phone that had iOS 6, and the audiobook was transferred into the music app.
    I think the audiobook in question was in the WMA format, though, and was converted to MP3 in iTunes and then transferred to my phone, now that I think about it a bit more.
    There is a program/app for the computer that can play liason between phone and computer, rather than just using the app on the iPhone.  That could be contributing to the issue here.
    ~Lyssa

  • How can I load an external SWF into a movie clip that's inside other movie clip?

    Hi.
    I creating my first flash (actionscript 3.0) website but I'm
    stuck with a visual effect I want to create.
    I have a window on my website called contentWindow. Every
    time you click a button this window is supposed to leave the stage,
    load the requested content and return to the stage.
    The sliding window is a movie clip with 83 frames, 21 to
    enter the stage, 21 to leave the stage again, 20 for nothing (its
    just to simulate the loading time) and 21 to return to the stage.
    Now my goal is, when the user clicks on a navigation button,
    the window exits the stage, loads an external SWF with the content,
    and then returns to the stage.
    I've the "window" movie clip with an instance name of
    "contentWindow". Inside there is another movie clip with an
    instance name of "contentLoader". The content that the user
    requested should appear inside the "contentLoader".
    Now, when the contentWindow leaves the stage, I get this
    error message:
    quote:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at rwd_fla::MainTimeline/trigger()
    If I switch
    "contentWindow.contentLoader.addChild(navLoader);" for
    "contentWindow.addChild(navLoader);" it works fine, but the
    external SWF doesn't move with the window.
    How can I load an external SWF into a movie clip that's
    inside other movie clip?

    Hi,
    Recently, I have been putting together a flash presentation.
    And I am just wondering if the following might help you, in your
    communication with the said swf file:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    function onComplete(event:Event):void
    event.target.content.thinggy_mc.y -= 100;
    Not the best example, but this allows you to target a mc
    within an external swf file. I think if you look up this code, you
    will have an answer ;)
    Kind Regards,
    Boxing Boom

  • How can I listen to itunes and play a game at the same time on my ipad 4?

    How can I listen to itunes and play a game at the same time on my ipad 4? This means I need to run 2 apps at the same time itunes and my game.  The game has its own sound control so I can turn off its sound while i listen to itunes tracks.  But I don't know how to set it up so the ipad does both.

    Anytime you open an app that has a persistant sound stream - a movie, a podcast, some games - it will overide the music app's stream. nothiong you can do to change it.

  • How can you listen to music and play a game at the same time?

    How can you listen to music and play a game at the same time?
    I am playing music, by starting the Crash Baandicoot Nitro Kart 3D game it shuts off the music playing. Is there a way around this?
    It seems like this should be possible.
    Message was edited by: RuthlessVengeance
    Message was edited by: RuthlessVengeance

    Select the music play list you want to listen to and start it playing. Go back to the home screen and start the app you want to use, music will stop. Press the home button two time quickly and it will bring up a simple control for controling the music. This works for me with all of the apps I have purchased including games. Just a note you can pull up the same music control if the iPod is a sleep and locked by pressing the button three times quickly.
    Mike

  • I have completely downloaded all parts of master suite (I attend AAU so it's provided by school) however, I can get nothing to load and operate. I am still running XP but my understanding is that it should still work for most apps

    I have completely downloaded all parts of master suite (I attend AAU so it's provided by school) however, I can get nothing to load and operate. I am still running XP but my understanding is that it should still work for most apps

    I believe you need to have XP with Service Pak 3 as a minimum for most CS6 applications.  You should check all of the system requirements because I think you also need to have a 64-bit machine as well.   Here is a link...
    System requirements | Adobe Creative Suite 6

  • I can not download and play HD rented movies through my TV2

    My Problem:
    I can not download and play HD rented movies through my TV2
    and get the following message   "an error occurred loading this content. Try again later"
    Do others have the same problem of not being able to play rented HD?
    All my other activities are normal. I can play Standard Def rentals, Movie Previews, HD MLB, and all else as necessary except HD rentals
    I have a 13.5 Mbps connection.
    I have gone through ALL of the expected procedures. Changed the cable, did a reset, did a restore.
    This has happened with two TV2's as I replaced the first one due to the "unable to update issues"
    The current TV2 now has the current up to date software since that issue has been resolved for all.
    Any answers???
    Location Melbourne Australia.

    This is a new TV2. Actually my second. First bought less than 2 weeks ago. it was returned to the store and replaced because of the issue of not being able to update the TV2 software from 4.1.1 to 4.2.2.
    Both machines had that same problem, and both could not play the rented HD movies.
    The second TV2 has sicne been able to update to 4.2.2 when everyone else who had that problem went away this last weekend. So I have gone from 4.1.1 on two machines and no HD rentals to the current one updated to 4.2.2 and still no HD rentals.
    The Standard def comes in fine and no real delay. And IF the movie previews are HD (when it is turned on in settings) then I have had NO problems viewing them.
    I also have NO problem viewing HD MLB games on the TV2

  • Can I download and play Soldier Front if I install Windows 7 and parallel using mac?

    Can I download and play the soldier front which is FPS online game for windows. The system requirements for Windows is this
    Your computer must meet certain minimum requirements in order
    to play Soldier Front.
    Before you download and install Soldier Front, please verify your system specifications.meet or exceed the following.
    Minimum Requirements Recommended Requirements
    OS
    Windows XP, Windows Vista, Windows 7
    CPU
    Pentium III 833MHz
    Pentium III 1.2 GHz
    Graphics Card
    GeForce3 64MB
    GeForce4 128MB
    DirectX
    DirectX 9.0b
    RAM
    256MB
    512MB
    Browser
    5.5 or higher
    Local Disk Drive
    You must have a partitioned local disk drive named C:\
    My specs or whatever it is for my mac is
    OS          Mac OS X version 10.6.8 I just updated it tonight
    Processor      2.4 GHz Intel Core 2 Duo
    Memory           4 GB 1067 MHz DDR3
    Startup Disk      Macintosh HD
    Model Name:    MacBook Pro
      Model Identifier:    MacBookPro7,1
      Processor Name:    Intel Core 2 Duo
      Processor Speed:    2.4 GHz
      Number Of Processors:    1
      Total Number Of Cores:    2
      L2 Cache:    3 MB
      Memory:    4 GB
      Bus Speed:    1.07 GHz
      Boot ROM Version:    MBP71.0039.B0B
      SMC Version (system):    1.62f6
      Serial Number (system):   
      Hardware UUID:    51139D25-40E8-51FE-AD31-A9BF9B9DB567
      Sudden Motion Sensor:
      State:    Enabled

    not crash hot = not very fast / poor fps
    If you have a copy of Windows then BootCamp might be better than Parallels to be honest.

  • HT1329 I am trying to move music from my ipod onto my mac. When I locate the ipod under devices on my mac there is no music ! even though I can see it and play it when I use the ipod. So how can I transfer it ?

    I am trying to move music from my ipod onto my mac. When I locate the ipod under devices on my mac there is no music ! even though I can see it and play it when I use the ipod. So how can I transfer it ?

    brianmartinwoolf wrote:
    I am trying to move music from my ipod onto my mac. ...
    Was this Music purchased in iTunes... If so... see here...
    Transfer Purchases
    File > Devices > Transfer Purchases
    More Info Here  >  http://support.apple.com/kb/HT1848

  • I am running CS4 Web Premium on Windows XP.  Can I uninstall and reinstall on my new PC running WIndows 7?  Is there an upgrade path?

    I am running CS4 Web Premium on Windows XP.  Can I uninstall and reinstall on my new PC running WIndows 7?  Is there an upgrade path?

    yes, you can uninstall (but deactivate first, help>deactivate) and yes, you can reinstall on another computer.
    and yes, you can upgrade to cc, Creative Cloud pricing and membership plans | Adobe Creative Cloud

  • I can open iTunes and play library contents but cant see any names or information in the library or any kind of wording at all

    I can open iTunes and play library contents but cant see any names or information in the library or any kind of wording at all, please help.

    Your synced music (and audiobooks) will go into the iPad's Music app, and films and tv shows into the Videos app - on an iPad the iTunes app is just the store

Maybe you are looking for