Three external SWF's - not smooth. Fla included

Hey geniuses.
I have a main Flash movie that preloads three external SWF's just perfectly.  Everything is great...except the 1st movie is not smooth and really slow, the 2nd movie is a little better, and the third movie is the best.
You can see what I mean here.
http://www.tvnstudios.com/loadvis.html
It's a rather simple Flash portfolio...I'm thinking it could be a stacking issue-but I've approached it from so many different ways instead of wasting my time shooting at thin air, I thought I'd give this forum a shot.
How can I make these three movies play smoothly? 
I've attached the main movies FLA just to assist.
I'm SO grateful for any assistance!
Best,
-Tyler

Hi Ned.
the link is the page where the main fla exists.  That fla is the one i attached.  It loads three external swf's into a holder.  The three buttons at the top choose which swf is visible on the page.  The site just shows the three buttons, and when you click on button 1, 2, or 3, it will either load movie 1, 2, or 3.
The frames per second are all consistent across the board.  I attached the .fla just incase there were problems that were visible in the actionscript.  It's not a lot of code, so that makes it easy to look at-but I just can't solve this one.
And thank you again for responding!
-Tyler

Similar Messages

  • External swf file not using URLRequest

    Good morning guys.
    You can load an external swf file not using URLRequest? Since embed html code is setted as <param value="never" name="allowscriptaccess"/>
    I have this problem and I need to load a swf skin
    thank you

    are you loading a swf (done during runtime) or importing one (done during authortime)?
    in either case, the allowscriptaccess parameter of the external swf (that your loading or importing) is irrelevant.  allowscriptaccess is assigned in the main (loading or importing) swf's embedding html page and is used to control html/js access of the main and loaded swfs.
    if you trust the swf you're loading, you can change allowscriptacess to always.  if you're importing a swf, none of its actionscript will execute anyway so it doesn't matter whether its trusted or not.

  • How to load and unload external .swfs in a main .fla then load another external .swf on top

    I know that the question sounds confusing. I am new to AS3 but a little dangerous with it.
    The project
    I'm putting together a website tour with has a main .fla with navigation buttons. The navigation buttons load external .swfs using X and Y properties. Every external .swf houses a scrubber bar, play pause buttons which calls to a movie clip which houses the animation.
    The problem:
    Everything was working great, until someone mentioned "Hey, what if at the end of each loaded external .swf, a button appears that says "go to next section".
    So basically we are trying to give the user another way to get to the next section in the left hand navigation once the animation ends, in addition to being able to click in the left hand navigation for the next section. It's kind of like when a youTube video ends and it displays a button to go to the next movie that's in line, but you can also do it in the thumnail navigation as well.
    Ok, let's try it. Well, after many nights, searching the web and trying everything I am waving the white flag. I went through the lynda.com book over and over but I get an error message when I add code related to the parent timeline. I can actually get the next section to load on top of the previously loaded .swf, but it's buggy and I think the previous section is showing through underneath. Plus the scrubber isn't really working right. Since every .swf has a scrubber to control it, shouldn't it just load on top of the previous .swf? Do I need to add coding related to the parent timeline?
    I don't know if I should paste my code here, I have a sample .fla too. Help is so greatly appreciated!!!! If this can work, I think it would be very useful for anyone else doing something like this - I would definitely share any knowledge gained!
    Thanks.
    Jen

    If you want to utilize that code as a starting point (hopefully you understand what it does, and that the code actually works), then you need to modify it such that the array at the start has your filenames instead of the three it now shows, and the three buttons it uses are changed to the next and previous buttons you intend to use.  Here are the functions you need to make adjustments to...
    function onCompletePreloading():void {
            _loadedSWFs = 0;
            contentContainer.addChild(_swfClipsArr[_loadedSWFs]);
            next_btn.addEventListener(MouseEvent.CLICK, setContent);
            prev_btn.addEventListener(MouseEvent.CLICK, setContent);
    function setContent(event:MouseEvent):void {
            var _swfToAdd:MovieClip;
            if(event.currentTarget.name == "next_btn") {
                _loadedSWFs += 1;
                if(_loadedSWFs == _swfClipsArr.length){
                       _loadedSWFs = 0;
            } else if(event.currentTarget.name == "prev_btn"){
                _loadedSWFs -= 1;
                if(_loadedSWFs == -1){
                       _loadedSWFs = _swfClipsArr.length-1;
            _swfToAdd = _swfClipsArr[_loadedSWFs];
            contentContainer.removeChildAt(contentContainer.numChildren-1);
            contentContainer.addChild(_swfToAdd);
            trace(_swfToAdd.customID);

  • Looping external swf which has no .fla

    Hi!
    What I have is a sliding menu with buttons - each button calls an external swf - which plays in an empty movie clip.
    Now, I want the current loaded swf to loop till the time the user clicks on another button. The problem is, I do not have the fla files for any of the external swfs (these are screencam recordings using a software that does not publish .fla) - so I can't put a code at the end of each external swf asking it to not stop.
    Any suggestions on how I might be able to have the external swf loop?
    Thanks & Regards,
    ~ Raven

    Thanks for your help Ned. Actually, I did manage to decompile the swf (using a 3rd party software) - yes, it is a movieclip on frame 1. I could even go inside it and place the loop code. But decompiling meant loss of the control bar that the screen capture software put in it and I can't compromise on that. I guess the screen capture guys should've chosen another softwares that publishes the .fla.
    Thanks again and regards,
    ~ Raven

  • External .swf files not playing, or showing up

    Hello All,
    I'm a bit confused. I have created a video interface (vidPlayer.swf) file, and am calling on external .swf's (movieName.swf), which contain paths to the original .flv files (movieName.flv) that are to play. The navigation lives on the the main interface file (vidPlayer.swf). This works fine when I'm publishing locally from my system, or if I upload it to a remote server, and play it on my computer. When another individual attempts to either (a.) play it from the server on their system, or (b.) publish it to the web for it's intended use, the interface appears and the loader performs when video track is selected, but the video never plays. Only on my system does it work. Even from a remote server, it plays on my system.
    I have not wrapped my head completely around AS3 yet, so I'm using deprecated script. On the main interface swf (vidPlayer.swf) I have the following script controlling the loader ( I also use this same loading script for the external video swf's):
    stop();
    myInterval = setInterval(preloader, 10);
    function preloader(){
    if (getBytesLoaded()>=getBytesTotal()){
    play();
    clearInterval(myInterval);}
    loadBar_mc._xscale = (getBytesLoaded()/getBytesTotal())*100;
    loader_txt.text=Math.round(getBytesLoaded()/getBytesTotal()*100)+"%";
    On the navigation buttons (tracks), I have the following script (there are 14 tracks total, so the content varies between load and unload content):
    on (release){
    mc_videoPlayer.unloadMovie("02-systemAdministration.swf");
    mc_videoPlayer.unloadMovie("03-gatewaySetUp.swf");
    mc_videoPlayer.unloadMovie("04-homePage.swf");
    mc_videoPlayer.unloadMovie("05-addUser.swf");
    mc_videoPlayer.unloadMovie("06-changePasswordOrPermission.swf");
    mc_videoPlayer.unloadMovie("07-inventorySetUp.swf");
    mc_videoPlayer.unloadMovie("08-storageContainer.swf");
    mc_videoPlayer.unloadMovie("09-addDeicingOperator.swf");
    mc_videoPlayer.unloadMovie("10-orderCryotechProducts.swf");
    mc_videoPlayer.unloadMovie("11-recordDelivery.swf");
    mc_videoPlayer.unloadMovie("12-adjustInventory.swf");
    mc_videoPlayer.unloadMovie("13-deicingLog.swf");
    mc_videoPlayer.unloadMovie("14-PTOCClog.swf");
    _root.gotoAndStop(11);
    mc_videoPlayer.loadMovie("01-firstLogin.swf");
    I have all the .swf's (movieName.swf), .flv's (movieName.flv) and main interface .swf (vidPlayer.swf) in the same folder, so there shouldn't be any missing directory paths.
    I don't know what's going on! I have this set up exactly as a previouse project, using the same interface, scripting and file directory, and it words perfectly from any system, being hosted from anywhere.
    Can anyone help????
    [ I'm working with Flash, CS3 - actions script 2 ]
    Thanks in advance,
    James

    problem solved. Solution? Redo the entire f&%#ing thing. For what ever reason, it now works.
    Thanks anyways.
    James

  • Loading an External SWF Files not working

    Hello,
    So I have a project I am working on in which I would like to teach how to cash a scratch off card. I have made the scratch and made it so it will "scratch"
    Before:                                                                                                                                               After:
    Now I have saved this out and am trying to load this into my "holder" however I am getting an error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at ScratchTicket()
    When I use this code:
    stop();
    import flash.events.MouseEvent;
    nextPG_btn.addEventListener(MouseEvent.CLICK, nClick);
    lastPG_btn.addEventListener(MouseEvent.CLICK, lClick);
    function nClick(event:MouseEvent):void{
        nextFrame();
    function lClick(event:MouseEvent):void{
        gotoAndStop(3);
    var mcExt:MovieClip;
    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
    ldr.load(new URLRequest("ScratchTicketOnly.swf"));
    function swfLoaded(e:Event):void {
        mcExt = MovieClip(ldr.contentLoaderInfo.content);
        ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
        mcExt.x = 50;
        mcExt.y = 50;
        addChild(mcExt);
    What am I doing wrong?
    Is it because of my coding in the External SWF?
    package {
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.ui.Mouse;
        public class ScratchTicket extends MovieClip{
            var scratcherIsActive:Boolean= false;
            var stuffUnderMask:Sprite = new Sprite();
            // init class
            public function ScratchTicket():void{
                stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseIsDown);
                stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseIsMoving);
                stage.addEventListener(MouseEvent.MOUSE_UP, mouseIsUp);
                // make mask           
                stuffUnderMaskClip.mask = stuffUnderMask;
                addChild(stuffUnderMask);
                makeCursor();
            // helper functions
            private function makeCursor():void{           
                trace("Custom cursor can go here");
            // hover effects
            private function mouseIsDown(e:MouseEvent):void{
                //Mouse.hide();
                Mouse.cursor="hand";
                scratcherIsActive = true;
            private function mouseIsUp(e:MouseEvent):void{
                //Mouse.show();
                Mouse.cursor="arrow";
                scratcherIsActive = false;
            private function mouseIsMoving(e:MouseEvent):void{
                if(scratcherIsActive){
                    stuffUnderMask.graphics.beginFill(0x000000);
                    stuffUnderMask.graphics.drawEllipse(mouseX, mouseY,60, 60);
                    stuffUnderMask.graphics.endFill();
        }// class
    }// package
    Any help is great!

    Make sure you check for errors on loading..
    import flash.events.IOErrorEvent;
    ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, uhOhError);
    function uhOhError(e:Event):void
         trace(e);
         // probably put some visual text field here to display the error
    Aside that, on the first block of code mentioned, is that a frame script or running from somewhere in a class? If in a class and it doesn't extend a display object then you can't addChild(mcExt) without erroring.

  • Successfully imported external swf, can not put it into movie clip

    Hello all,
    I have started learning AS3 and gradually getting used to, trying to put external swf into movie clip.
    Successfully imported target swf and put into stage, when I publish this I see target swf is playing.
    import flash.display.MovieClip;
    var BGLoader:Loader = new Loader();
    var BGurl:URLRequest = new URLRequest("HomeBG.swf");
    BGLoader.load(BGurl);
    BGLoader.y = 0;
    BGLoader.x = 0;
    addChild(BGLoader);
    As next step I want to put this swf into movie clip and get more control, but when I publish bellow only I see is empty background, without any errors.
    import flash.display.MovieClip;
    var BGLoader:Loader = new Loader();
    var BGurl:URLRequest = new URLRequest("HomeBG.swf");
    BGLoader.load(BGurl);
    BGLoader.y = 0;
    BGLoader.x = 0;
    //addChild(BGLoader);
    var animMC = MovieClip(BGLoader.content).getChildAt(0) as MovieClip;
    addChild(animMC);
    Is anything missing?
    Any help would be appreciated, thanks.

    You can only access Loader.content after Load completed successfully.
    Try this,
    import flash.events.Event;
    var BGLoader:Loader = new Loader();
    var BGurl:URLRequest = new URLRequest("HomeBG.swf");
    BGLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    BGLoader.load(BGurl);
    BGLoader.y = 0;
    BGLoader.x = 0;
    //addChild(BGLoader);
    var animMC:MovieClip;
    function completeHandler(event:Event)
         animMC = event.currentTarget.content;
         addChild(animMC);

  • COLOR BLENDING IS NOT SMOOTH (pic included)

    I'm having problems with camera raw. The colors aren't blending smoothly. I can't even describe what the problem is very well, it's best to look at the picture. PLEASE HELP! :D
    http://s3.photobucket.com/albums/y91/Liz217_/?action=view&current=HELP.jpg

    It's likely that the LUT for your video board has a bend in it. If you are
    able, start by changing your monitor profile to a generic profile from the
    monitor, or if one is not available, sRGB. If that improves the
    appearance, you probably need to use a different profile.
    In the interests of speeding things along, I'll guess that you are
    calibrating your monitor with a device like the Spyder or i1.
    One likely cause for banding would calibrating the monitor to a non-native
    white point. Do another calibration, specifying native white point.
    If you are seeing a purple band in the blue sky, I have another suggestion.

  • How to detect external SWF has stopped not using totalFrames

    Trying to find a way to detect when an externally loaded SWF has stopped. Using "totalFrames" like the example below doesn't work for what I'm trying to accomplish.
    I need something that simply listens and detects when the clip has stopped. Editing the external SWF is not an option. Thanks in advance for any insight.
    function onfrm( evnt: Event ): void
    if (newMC.currentFrame == newMC.totalFrames )
    newMC.removeEventListener( Event.ENTER_FRAME, onfrm);
    trace("End of banner");

    Just did a small test, and at least with loading a swf that has a timeline the totalFrames option works fine:
    var m:MovieClip;
    var a:Loader = new Loader();
    a.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    a.load(new URLRequest("anim.swf"));
    function done(e:Event):void
      m = MovieClip(a.content);
      m.addEventListener(Event.ENTER_FRAME, chek);
      addChild(m);
    function chek(e:Event):void
      if(m.currentFrame == m.totalFrames){
      trace("done");
      m.removeEventListener(Event.ENTER_FRAME, chek);

  • External SWF layer problem

    I can only guess if its a layer / stacking problem or not, but I have a main fla file that loads three external SWF's, all ontop of each other, three buttons for each movie, that designate that movie is the visible one playing.
    It's basically a portfolio site.  You can see the site here
    www.tvnstudios.com/loadvis.html
    Why aren't the movies playing smoothly?  The FPS rate is the same for all three of the external SWF's and for the main fla that is loading them.
    Can anyone help? 
    I'd be so grateful!
    Thanks,
    -T
    p.s.  I'm including the fla file that has the actionscript that loads the movies.  It's a small code, but maybe the error is in there somewhere...

    If you are loading all of the files and they are all playing at the same time, that could be the problem.  Invisible files still eat up their share of the processor if they are left in a playing mode.
    I am unable to determine there is any slowness, primarily due to not knowing what the first one is supposed to be doing and the others appear to be flip book implementations that work fine as long as they are only the couple of pages I can see.

  • Load and consecutively play external swf's

    Hi,
    I have three external swf files - part1, part2 and part3. I
    know how to load one clip but I would like to know how to
    dynamically load them into an empty MC and then play them in full
    consecutively without any fancy transitions so that it plays like
    one big movie using Actionscript (no button triggers!).
    I have some very BASIC actionscript knowledge but am not sure
    which way is best. If someone could give me some "simple" step by
    step advise it would be grately apreciated.
    Danielle

    Ok I followed your instructions and when I play the main swf
    (I call - load_swfs) file it plays part1.swf fine but then it gets
    to the first frame of part2.swf (which is blank) and just stops and
    doesn't go any farther! Did I put something in the wrong place?
    I've written what I did and where below.
    // In my main file (load_swfs) it's just a single blank frame
    with this code in it :-
    tl=this;
    swfA=["part1.swf","part2.swf","part3.swf"];
    dep=0;
    numLoaded = 0;
    totalLoad=3;
    lo=new Object();
    lo.onLoadInit=function(target){
    numLoaded++;
    checkIfAllLoaded();
    function checkIfAllLoaded(){
    if(numLoaded==totalLoad){
    holder1.play();
    } else {
    mc=this.createEmptyMovieClip("holder"+(numLoaded+1),dep++);
    mcl.loadClip(swfA[numLoaded],mc);
    mcl=new MovieClipLoader();
    mcl.addListener(lo);
    mc=this.createEmptyMovieClip("holder"+(numLoaded+1),dep++);
    mcl.loadClip(swfA[numLoaded],mc);
    // In part1.swf in the last frame is :-
    tl.holder2.play();
    this.removeMovieClip();
    // In part2.swf frame 1 is blank with a stop(); and in the
    last frame is:-
    tl.holder3.play();
    this.removeMovieClip();
    // In part3.swf frame 1 is blank with a stop();
    Let me know where I went wrong!
    Thanks

  • How to make external SWFs garbage collected in Air for iOS?

    My app uses lots of external SWFs( well they are actually included in the app with a folder but they aren't embeded ) and they do not contain any bitmapdata, only vector graphics. The problem I'm having is that they seem to be never garbage collected and System.privateMemory keeps increasing as the app loads more SWFs.
    Since those SWFs only contain vector graphics, I simply nullify all the variables that are holding reference to SWF file and call System.gc().. But it doesn't seem to be working. What would I need to do for the garbage collector to clean the SWFs?
    I'm using Air for iOS 3.5.0.1060 and ActionScript3.0.

    Yes I'm calling System.gc() twice. I tried using loader.unloadAndStop(true) and it seems SWFs are being garbage collected but another problem has surfaced. When repeatedly loading and unloading SWF in a short period, the air garbage collector sometimes fails to work.
    I've tested loading and unloading same SWF 50k times and checked trace.  Occasionally, garbage collector misses to collect garbage like below( swf #45119 is not being garbage collected).
    [UnloadSWF] main.swf/[[DYNAMIC]]/45115
    [UnloadSWF] main.swf/[[DYNAMIC]]/45116
    [UnloadSWF] main.swf/[[DYNAMIC]]/45117
    [UnloadSWF] main.swf/[[DYNAMIC]]/45118
    [UnloadSWF] main.swf/[[DYNAMIC]]/45120
    [UnloadSWF] main.swf/[[DYNAMIC]]/45121

  • Help with loading External SWFs

    Hi:
    I need to load external swfs into a mc. They will play in
    sequence, as soon as one ends, the next one will start. When
    running it blows by the first external swf (start.swf) and the rest
    of the external swfs will not continue to load and play after the
    objectives.swf. Could someone take a look at my code and tell me
    what I’m doing wrong?
    I’ve created controls that will allow me to play, pause
    and stop the external swfs while they’re playing (however,
    these buttons do not seem to have any effect on the external swf
    when it is playing). I think it is a scope issue, but I am not
    sure.
    Also, there’s a combo box at the bottom, which allows
    the user to jump to any external swf (it actually jumps to certain
    labels on the main timeline) at any time. The combo box appears to
    work OK.
    The FLA is located at:
    www.digitalhorizonstudios.com/exstream/newplayer.fla
    By the way, this presentation is a fullscreen .exe file when
    in use, not a swf played in an html file.
    Thanks SO MUCH for any help on this one.

    Please try this line of script:
    var myLoader:Loader = new Loader(); //create the varaible for the loader
    var myURL:URLRequest = new URLRequest("A.swf");// create the variable for the swf to be loaded
    myLoader.load(myURL)
    addChild(myLoader);

  • Loading external swf into Fla. not working

    I have created a Flash page that loads an external swf into
    it when you click a button. The swf loads but the actionscript
    assigned to the swf which scrolls images across does not work. When
    i open the swf in a browser window with the direct link to it the
    scroll works but inside the fla file the swf loads but the scroll
    buttons are not working at all. Would this be something in the
    actionscripting in the swf or fla file. Any advice would be greatly
    appreciated, thank you.

    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    is as3 code.  that won't work in your as2 project.
    here's the equivalent in as2:
    this.createEmptyMovieClip("targetMC",this.getNextHighestDepth());
    targetMC.loadMovie("my_gallery.swf");

  • What is or isn't possible on iOS?  (Not having Loader, loadBytes(), external swfs, etc)

    My basic question is:  "What are the classes which we should not use for iOS using the packager."
    I have been trying for a few days trying to get a simple Flash app to run on the iPad.  A very simple app (with sound!) with just 2 classes works fine (Performance is a whole other issue.  We will get to that).  But if I try anything else, all I get is a white/black screen on the iPad.  So it would be really nice to know what classes, functions, etc we CANNOT use for the Packager.
    I have fairly simple app (not as simple as 2 classes) which loads some art assets via URLRequest/Loader, puts them on the stage.  Fairly common standard practice in AS3.
    I've read about not able to load an external file using the Packager.  So to fix the situation of loading assets, I have looked into the [embed] tag, which seems to work.  I hope the blogger doesn't mind, but this page is an excellent source on what works and doesn't work with the [embed] tag in it's various flavors:  http://www.richardleggett.co.uk/blog/index.php/2010/03/08/flash_builder_and_flash_pro_asse t_workflows.  For example, AS3 in a swf is stripped out from an external swf using [embed].
    The best way to load an external swf file for iOS seems to be using [embed] with "application/octet-stream" and load the swf through ByteArray (Option #4 in the link above).  This works great on the PC.  HOWEVER, on iPad, it fails.  The [embed] tag works on the iPad with the other ways, so my guess is that loadBytes() does not work.  Is this true Adobe/Flash guys?  Can you confirm this?
    My initial question is "why is this not allowed on iOS?".  If it is because of the fact that it uses a Loader, can it be changed so it's not using a Loader to construct a MovieClip?  I have a ByteArray with the raw swf/MovieClip data.  Why can't I construct a MovieClip from it without going through Loader?
    This loadBytes() failure seems to be the only thing preventing me from using the normal pipeline of Flash development in loading external assets.  If there are other ways people have found, please share!
    Now on to performance.  Adobe, can you post some examples/samples of code which runs at decent performance?  Like a "tech demo" of what is possible using the Packager running on iPad/iPhone.  That would be extremely helpful for everyone.  I have done a lot of the optimizing suggestions on various sites and pages ( and by Adobe http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html), but I am not seeing the 30 fps performance that is MORE than possible on iPhone/iPad.  Displaying and moving around Bitmaps (I don't use any vector graphics) should be blazing fast.  Quake runs on iPad without any problems and that code is 10 years old.  Moore's law dictates that drawing Bitmaps using CPU should be faster than a 3D engine written 10 years ago...  I am trying out the new iOS 4.2 which is supposed to be "significantly" better, but I am still stuck on loadBytes().
    So at this point, I am blocked on loadBytes() and my performance for a simple app which draws a few Bitmaps and MovieClips is terrible.  I am hopeful some people out there have figured out some solution (there are lots of clever people out there) and I will stumble on to something.  But being forced to go native Objective-C seems to be my only option at this point.
    In summary, here are the questions I would like to ask the Adobe/Flash group for some more help/information/advise:
    - Why is Loader not allowed on iOS?  Is it a technical limitation of the hardware/os/Flash?  Will it never be supported?  What is the future of this class on iOS?
    - Why is loadBytes() not allowed on iOS?  I have the raw embedded data in memory.  I don't need to make a remote call so security should not be an issue.  Can I create a MovieClip without using Loader?
    - Why is AS3 stripped from the timeline when a Symbol is retrieved using [embed]?  Maybe this is the same reason loadBytes() fails, but if I could use [embed] and get a copy of the Symbol, that is what I need.  (There are issues with the mx.core.MovieClipLoaderAsset/Asset, but it is better than being blocked by loadBytes())
    - What are some apps you guys have written that we can use to compare PC vs iOS?  Again, a "tech demo" or sample code of what you as experts in Packager for iOS have done which runs at decent framerate (30+fps) would be of tremendous help.  If the Adobe/Flash group hasn't gotten the current Packager for iOS to handle more than 50+ 2D Bitmaps on screen running at 30+fps, that would be good to know.  Please let us know what the experts and owners of your software are capable of getting the most throughput using the Packager.  I'd hate to sound a bit fed up/angry, but I think you are wasting a lot of people's time and energy with a piece of software that, to me, seems like it was a bit early to release.  Flash can do some great things.  If it can do it on iOS, even better.  But PROVE it to us that it's possible, before having your customers run into barriers imposed on us by trial and error.
    Thanks.

    I have hardly ever seen a post here from someone at Adobe, so you may need to be patient.
    Read this article, and get its associated demo files, to see some good performing tech demos:
    http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html
    Back to your main point, loaders are working, what isn't working for you is accessing of things in the library of a successfully loaded swf, that have been set to Export for ActionScript. That means that the swf you have loaded has an ActionScript Class, to represent the library symbol. iOS Flash apps are native ARM code, and don't include the virtual machines that a browser plugin has, and so it's not able to interpret ActionScript. That may be why it would fail.
    Now, I can think of at least a couple of reasons why you might want to have external swfs with elements that you want to reuse in the main swf. One would be if you're intending to make a lot of them, like say if you wanted to have an Asteroids game and the ability to use artwork from a set of different swfs. Another reason might be if you want to skin your interface, by taking specific elements from the loaded swf and using them in the main swf. That way you could have artists preparing those swfs for you, and you just include them in your package, and load the one you want.
    There is a way to do either of those things. The second one can be done by having the item as a named symbol on the stage of the loaded swf. With a to-be-loaded swf named "inner.swf", that has a movieclip on its stage named "mc1", this script in the main swf would load that external swf and use its symbol on the main swf's stage, without having to make the inner swf's symbol use ActionScript:
    var req:URLRequest = new URLRequest("inner.swf");
    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,loaded);
    ldr.load(req);
    function loaded(e:Event) {
    var mc:MovieClip = e.target.content as MovieClip;
    var innermc:* = mc.mc1;
    innermc.x = 50;
    innermc.y = 50;
    addChild(innermc);
    For the other case, you can take the item off the stage of the loaded swf and draw it into a bitmapdata, and then make as many bitmaps from that as you like. Here's the above example, only it adds the original movieclip to the main swf stage, and also creates a bitmap that looks the same:
    var req:URLRequest = new URLRequest("inner.swf");
    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,loaded);
    ldr.load(req);
    function loaded(e:Event) {
    var mc:MovieClip = e.target.content as MovieClip;
    var innermc:* = mc.mc1;
    innermc.x = 50;
    innermc.y = 50;
    addChild(innermc);
    var bmd:BitmapData = new BitmapData(innermc.width,innermc.height);
    bmd.draw(innermc);
    var bm:Bitmap = new Bitmap(bmd);
    bm.x = 150;
    bm.y = 150;
    addChild(bm);
    So, the thing to learn is that a native ARM code application does not have an ActionScript interpreter in it, and if you need to do something that normally requires interpreting ActionScript, find another way to do it.

Maybe you are looking for