SWF Load order.

Hello all,
I have a group of FC outputs that I have used to create a virtual tour of my client's showroom here:
electronic-lifestyle.com
But the SWF files I have linked in the FXP are loading from back to front.  The last Page is loading first and the first loads last creating some issues.  I have one more pass I need to maker to fix some glitches with the vertical scroll bar and several other points but I need to know if I can adjust the order in which the SWF files load into the page.  I would prefer they load when called for but if that is not possible I would like to load from the first page to the last.
On an associated thought, is it possible to create a progress bar in FC or Flash that will give the viewer some feed back on the SWF files loading in.  Right now the area is blank until they arrive.
I have a feeling that this level of control is something achieved in Flash Builder, not in FC.  That is fine, I am planning on importing the file into FB to enable deep linking anyway but since there is no round trip function I figured I would get all of the FC work finished first, then go into FB and make whatever changes need to happen there.
It is starting to seem silly that the two programs were separated to begin with.  It seems a natural evolution that Catalyst and Builder be joined into the same application sometime in the near future.  Once the round trip issue is taken care of, why not just work toward combining the two apps?
Anyway, if someone could give me a pointer on the load order issue that would be wonderful.
Thanks,
Brett

dmcdonald wrote:
> Is there a way to dictate load order of html page?
No.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Dashboard Builder - sequencing the load order of content linked swfs?

    Hi,
    I don't think this is possible but wanted to throw it out there and see if anybody has some cunning tips on this subject...
    We have an InfoView Dashboard that houses 5 Xcelsius modules (swfs). There is a Header Sidebar (swf) that initialises and passes parms to 4 chart modules (swfs) using content linking. Everything works fine and as the selections in the header change, new parms are sent to the swfs which in turn change correctly.
    The issue we have is that the business would like everything to initialise with a starting view that contains data. This is not currently done because we cannot guarantee the order that the swfs load in and the 4 chart modules are dependant on the header. The user has to press refresh at the start to trigger the experience once the header has fully loaded.
    I'm going to play around with it and will report back with my findings but if anybody has a technique for ensuring child modules are loaded automatically on load AFTER the parent module has gotten its data back and passed the content linked parms, please let me know. Or if there is a way to order (or daisychain) the loading of modules please share this.
    Cheers,
    Lee

    Hi Tracy thanks for your replies.  I found somebody to help me on getacoder.com - this code works perfectly.
    The flex code:
    <mx:Script>
    <![CDATA[
    public function FromSwf1(value:String):void
    swfLoader.source = value;
    public function FromSwf2(value:String):void
    swfTeacher.source = value;
    ]]>
    </mx:Script>
    The AS3 code:
    var flexApp = root.parent.parent['parentApplication'];
    btn1.addEventListener(MouseEvent.CLICK, CallFlexFunction);
    //stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
    function CallFlexFunction(e:MouseEvent) {
    flexApp.FromSwf1("assets/ninos/alphabet.swf");
    btn2.addEventListener(MouseEvent.CLICK, CallFlexFunction2);
    //stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
    function CallFlexFunction2(e:MouseEvent) {
    flexApp.FromSwf2("assets/ninos/clase_de_ninos.swf");

  • Load Order in Html - swf load last?

    Is there a way to dictate load order of html page? I have a
    .swf Flash file that I would like to load last.

    dmcdonald wrote:
    > Is there a way to dictate load order of html page?
    No.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Controlling the load order of swfs in a HTML document

    Hi all I have a document containing multiple swfs. Is there
    anyway I can control which swf loads first etc. Obvisouly it would
    start from which ever one is higher in the HTML document.
    However I would like to control what loads first, also can
    this be done with the images in the document?
    Any help is much appreciated.

    In your web.xml, under the servlet tag, make A.jsp be loaded the first, at your web app 's startup:
    <jsp-file>A.jsp</jsp-file>
    <load-on-startup>0</load-on-startup>
    ...

  • Undesired Load order of  FLV and MP3s

    Hello
    I have added a scrolling Flash page with a FLV and several
    MP3 files in each their own player to site below.
    I have set the video to autostart.
    The MP3s are set to not autostart.
    When I export the FLA the swf nicely plays the video first,
    and the mp3s are loading in the background simultaniously.
    When viewing the page in Firefox and Netscape the same
    happens, just as intended.
    Problem:
    But in IE and Safari all the sound files are loading first
    (and not playing) and not until they are fully loaded will the
    video start loading and playing. This results in viewing an empty
    video window for a long time.
    1) Is there are way to make all browsers load the video first
    and play it first?
    2) And in general manage load order of video and audio files
    in a Flash file?
    Thank you on beforehand.
    ggaarde
    http://www.corpstory.com/video.htm

    no, the sounds wouldn't be playing until you used the start()
    method of those sound instances or you assigned the source property
    of your mediaplayer and you wouldn't want to do either until your
    flv completed play.
    in fact, it would be optimal to first load one sound: the mp3
    that follows the flv. then when that sound completed loading, load
    the 2nd sound.

  • How to detect the end of an external swf loaded into a container

    Hi,
    I'm having trouble finding a solution for this problem, can somebody help me?
    I have a main swf that will load external swfs into a container. I need to detect the end of the loaded external swf in order to start to load and play a new one into the same container.
    The problem is that i do not know what the length of the external swfs will be, and will have no control over the development of them, so i cannot place a variable at the end of their animation which would allow me to detect from the main movie its end.
    I also cannot rely on the _totalFrames property because the loaded swf might not have all the animation inside its main timeline.
    Is there any way to achieve this goal?
    Thx

    Ok... Its as i thought... unfortunatly...
    Gonna mark your latest post again as possible solution, just in case someone comes with any sort of out of the box thing...
    Thx for your help Kglad

  • Loading and Unloading of swf files in SWF Loader

    Hi all,
    I have a doubt reg. SWF Loader.
    I have created two mxml files A & B.
    A. local.mxml
    B. SwfSample.mxml
    i have two labels and a button in A file and i have set values to those labels and have a method to handle the click event of the button. In B file i have loaded this A file and accessed the labels and methods using SystemManager Component and changed the values of the A file's label and accessed data from A file to B file.
    Here comes the problem,
    I have two buttons named LoadAgain and Unload
    When i click the Unload button, the SWF Loader unloads its content by the method i handled for  the Unload button, after that i have clicked on the LoadAgain button to load the same content of A's mxml to the SWF Loader, it loads succesfully,but i was not able to access its Label or Method from the B mxml. Please help me to solve the issue.
    local.mxml
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx=http://www.adobe.com/2006/mxml layout="absolute">
    <mx:Script>
        <![CDATA[
    Bindable]
        public var varOne:String = "This is a public variable";
        public function setVarOne(newText:String):void
              varOne = newText;
        ]]>
    </mx:Script>
    <mx:Label id="lblOne" text="I am here" x="28" y="88"/>
    <mx:Label text="{varOne}" x="166" y="88"/>
    <mx:Button label="Nested Button" click="setVarOne('Nested Button Pressed');" x="28" y="114"/>
    SwfSample.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx=http://www.adobe.com/2006/mxml layout="absolute">
        <mx:Script>
        <![CDATA[
              import mx.controls.Alert;  
              import mx.managers.SystemManager;  
              import mx.controls.Label; 
    Bindable]
              public var loadedSM:SystemManager;
              private function initNestedAppProps():void
                  loadedSM = SystemManager(myLoader.content);
              public function updateLabel():void
                  lbl.text = loadedSM.application[
    "lblOne"].text;
              public function updateNestedLabels():void
                  loadedSM.application[
    "lblOne"].text = "I was just updated" ;
                  loadedSM.application[
    "varOne"] = "I was just updated";
              public function updateNestedVarOne():void
                   local(loadedSM.application).setVarOne(
    "Updated varOne");
              public function unload():void
                   myLoader.content.loaderInfo.loader.unload();
              public function loadAgain():void
                   myLoader.load(
    "../bin-debug/local.swf");
            ]]>
         </mx:Script>
    <mx:Label id="lbl" x="72" y="47"/>
    <mx:SWFLoader id="myLoader" width="438" source="../bin-debug/local.swf" creationComplete="initNestedAppProps();" y="73" height="238" x="72" alpha="1.0"/>
    <mx:Button label="Update Label Control in Outer Application" click="updateLabel();" x="72" y="319"/>
    <mx:Button label="Update Nested Controls" click="updateNestedLabels();" x="72" y="349"/>
    <mx:Button label="Update Nested varOne" click="updateNestedVarOne();" x="72" y="379"/>
    <mx:Button label="Unload" click="unload();" x="72" y="409"/>
    <mx:Button label="Load Again" click="loadAgain();" x="72" y="439"/>
    </mx:Application>
    Thanks & regards,
    Sathish.K

    creationComplete only fires once when the SWFLoader is created.  Therefore you never reset your variables to point to the new sub-app.  On a slow network, creationComplete may fire before the sub-app loads.  It is best to use the COMPLETE event.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Change the SWF loading text for a single presentation

    This question was posted in response to the following article: http://help.adobe.com/en_US/Presenter/7.0/WS8815BC0A-5D22-4f29-87B9-D9047B5B57E4.html

    Hi,
      I have Adobe Presenter 7.0.5, in which with recently updating to 7.0.7 version.
    When I tried the fix of this "Change the SWF loading text for a single presentation" workaround fix, I passed to have the error:ReferenceError: Error #1069: Property ADOBE_PRESENTER not found on Pool_P75.Resource.UIText
    But before this error comes, I see that the loading text is changes from the original 2Adobe Presenter" to the one defined by me on the UIText, as the fix said.
    And what's happen is that the scrren with the loading text is not being changed by the learning first slide....
    Is there any workaround to correct that error?
    Many thanks in advance for any feedback from the adobe support team or from any other colleagues that are using Adobe Presenter (;-)).

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • Target Load order is not working properly in 11.2.0.2

    Hi,
    Mappings whihc are migrated from OWB10.2 version to 11.2 which contains multiple targets are not working in accordance with the target load order given in the mapping.
    The order in which targets are loaded changes between execution.
    To test is this a problem with migration we had created a smaple mapping containg 3 targets and mentioned loading order in each target table as well as in mapping property.
    The order in which the targets are loaded was random. But when we have 2 targets it seems to be working. But for migrated maps this is also not working.
    Is there any bug reported in 11.2.0.2 for this issue? Any help is highly appreciated.
    Thanks and Regards,
    Pnreddy

    Target load ordering is set to false by default in 11.2.
    You need to set it to true if you want your mapping to use it.

  • Loading external SWF's into an SWF Loader as3 style?

    Hi,
    I've recently made the switch from as2 to as3 and am still struggling to get my head around one aspect in particular. I've managed to load one external swf into a blank file via the script
    import LoadDisplayObject;
    var loader:LoadDisplayObject = new LoadDisplayObject("button_01.swf", true);
    loader.addEventListener("displayObjectLoaded", onComplete, false, 0, true);
    addChild(loader);
    function onComplete(evt:Event):void {
         trace("loaded complete received");
         loader.scaleX = loader.scaleY = .75;
    .....however I'm struggling with the script to make a swfs load into a space when one of my 3 buttons is clicked....
    My page currently has three buttons (button_01, button_02 and button_03) and in a local folder three separate swfs with the same names which I wish to load in, when the appropriate button is pressed. 
    I have managed to get them to load in using a tutorial...however they load over the top of each over...far from ideal. From research on the internet I've found a range of different script...but I just can’t find anywhere I can find script to make this work..hence why I have turned to here.
    Any help much appreciated...thanks in advance.

    Hi,
    Just throught I would let you know that I've manged to get this to work this morning. Changed the script slightly and used a different method of:
    var home:MovieClip = this;
    function butt1Click(evt:MouseEvent):void {
        var ldr:Loader = new Loader();
        ldr.load(new URLRequest("button_01.swf"));
        ldr.contentLoaderInfo.addEventListener(Event.INIT, loaded);
    function butt2Click(evt:MouseEvent):void {
        var ldr:Loader = new Loader();
        ldr.load(new URLRequest("button_02.swf"));
        ldr.contentLoaderInfo.addEventListener(Event.INIT, loaded);
    function butt3Click(evt:MouseEvent):void {
        var ldr:Loader = new Loader();
        ldr.load(new URLRequest("button_03.swf"));
        ldr.contentLoaderInfo.addEventListener(Event.INIT, loaded);
    function loaded(evt: Event):void {
        if(contentClip.numChildren > 0){
            contentClip.removeChildAt(0);
        contentClip.addChild(evt.target.content);
    button_01.addEventListener(MouseEvent.MOUSE_UP, butt1Click);
    button_02.addEventListener(MouseEvent.MOUSE_UP, butt2Click);
    button_03.addEventListener(MouseEvent.MOUSE_UP, butt3Click);
    seems to work well. Only small question is if I want one page to load automatically upon opening...how do I alter the script to do this??? Thanks

  • Xcelsius Parent/Child SWF Loader with BICS Connections

    We have several Xcelsius Dashboards that use BICS connections to retrieve data from BW queries that we'd like to combine into one Parent/Child tabbed dashboard. I can't seem to find solid information on if this is possible using a SWF Loader component due to the BICS requirement of being published through BW Portal and not InfoView. Does anyone have any ideas (short of combining them into one huge dashboard due to the volume of data)? Thanks!

    Hi Chris,
    I have been working with SWF loader on the SAP portal using the BICS connection type. It was not supported last time I asked about a year ago. However, it can work if you specify the URL in the SWF loader in this way:
    http://sapwebdisp.vestas.net:8103/bicsremotebex?SWF=XXX&TIMESTMP=1318867468000
    XXX is the name you publish your child dashboard under. Data can be exchanged between the parent and child dashboard by using the custom component "Data sharer" from Inovista which can be downloaded for free:
    http://www.inovista.com
    Besides the fact that this setup is unsupported there are some limitations so from my point of view it should only be applied under the following conditions:
    1. It is not possible to build eveything into a single dashboard.
    2. A solution having several independent dashboards does not make sense.
    An alternative might be the setup described in note 1526291. The way I understand it, it binds the dashboards together in a similar way as on a BO server with flash variables.
    Regards,
    Michael

  • Load Order in a mapping

    any one has done a SINGLE MAPPING WITH multiple SOURCE TO multiple target
    like      source a TO target a
         source b TO target b
         source c TO target c
    in an order, which is first a should be feeded, THEN b and so ON...
    we have load order in Paris to resolve this, I'd like to know is there ANY way we can do it with 10GR1

    I dont think there is anything like load order in 10gR1 but when i had similer problem we sorted that out with use of process flow by spliiting the mappings.
    If you know a better way out then do let me know.
    I have come across a previous thread in the forum on the same issue which says that we can not control load control WITHIN the mapping and OWB decided it by default in the order in which objects are drppoed on canvas!!!!!!!!!!!!!!

  • A swf loader bug?

    It looks like I may have found a bug in the swf loader.  Before I submit this problem I want to make sure there is not something I'm missing in my code. I wrote this class to load a tutorial when the user first launches a sub application in a project I'm working on. This is a simplified version of the class that exemplifies the problem.  The same methods I use to launch the swf from within an mxml work just fine, but when I externalize the process in this class, I can hear the tutorial, but I get no visual.  Is this a bug or am I missing something?
    Here is the tutorial launcher class:
    package proj.fuego.utils
         import flash.events.Event;
         import mx.controls.SWFLoader;
         import mx.flash.UIMovieClip;
         public class TutPlayerSimple extends UIMovieClip
              private var gutLoader:SWFLoader;
              public function TutPlayerSimple(fullTutorialPath:String)
                 gutLoader = new SWFLoader();
                 gutLoader.addEventListener(Event.COMPLETE, addToStage);
                 gutLoader.load(fullTutorialPath + ".swf");
                 //addChild(gutLoader);
              private function addToStage(evt:Event):void
                 addChild(evt.target.content);
    This is my mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="1024" minHeight="768" applicationComplete="application1_applicationCompleteHandler(event)">
         <mx:Script>
              <![CDATA[
                 import mx.controls.SWFLoader;
                 import mx.events.FlexEvent;
                 import proj.fuego.utils.TutPlayerSimple;
                 private var fullTutorialPath:String = "ll_tut";
                 private var tutPlayer:TutPlayerSimple;
                 protected function application1_applicationCompleteHandler(event:FlexEvent):void
                      // TODO Auto-generated method stub
                      var context:LoaderContext = new LoaderContext();
                      tutPlayer = new TutPlayerSimple(fullTutorialPath);
                      //context.checkPolicyFile = true;
                      //gutLoader.loaderContext = context;
                      trace("Loading Tut:", fullTutorialPath + ".swf");
                      addChild(tutPlayer);
              ]]>
         </mx:Script>
    </mx:Application>

    That didn't look right.  You'll need to addChild SWFLoader.  Not sure what will happen if you just try to add its content.  There might also be issues putting Flex components inside a UIMovieCip.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Cross-domain SWF loading doesn't work

    I've been trying to get cross-domain SWF loading to work for
    a while now, but even though it works from the Flash IDE the loaded
    SWF is blank when I upload it to a webserver somewhere. And yes,
    both servers have a crossdomain.xml file in their root folder, and
    I've also used System.security.allowDomain("*"). I've published
    both using the 'using network' option in the publish dialog.
    Could someone please help me with this, as I can't seem to
    find why it isn't loading. I've also read the entire PDF about
    Flash 9 security, but I couldn't find anything about external SWF
    loading except for the crossdomain files.

    A little more color on this: If there are 2 or more messages in the active mailbox (and others in a different mailbox), the expand/collapse function works for the messages in the active mailbox. In the message column on the right, all the messages in the conversation are shown (both mailboxes). Only those messages in the active box are shown in the list column when the conversation is expanded. I can kind of see how this might be intentional, but it's strange to see lots of messages in the conversation in the right column, but only one or a few corresponding items in the messge list.

Maybe you are looking for