Load order control

I'm working with a project where I need to load external images as well as internal movie clips dynamically to the stage. I want the external images loaded first (below) the other elements but I'm having an issue where they come in over the other movie clips. I'm pretty sure what's happening is, even though I load the images first, because they take longer to actually load, they land on the page after the other movie clips.
I know that's the reason for the "COMPLETE" listener, but all the information I'm using is coming from an external database. I get all the results then loop through them to load the objects. Making sure to load the external images first. I don't see how I could use the "COMPLETE" listener to continue loading the other results.
Can I change the "stack order"? (for lack of a better term)
If anyone can shed a little light on this topic, I'd appreciate it.
Thanks in advance,
Dave

The key to controlling the load order is to load one item at a time and let the completion of each loading trigger loading the next item.  So you could have an array that identifies the images in the order you want them loaded, and you create your own form of loop using a counter variable that you increment each time an object completes loading.  The Loader loads the current array item who's index is the value of the counter variable.  The Loader has a COMPLETE event listener to detect load completion.  The COMPLETE handler function would include the code for incorporating each image into the display, an increment of the counter variable, and a check of that variable to see if the entire array has been processed (which it is when the variable equals the length of the array).  If it hasn't, the call goes out to load the next image.  When it is detected to be complete, then you proceed with whatever other loadings you have planned.

Similar Messages

  • Not allowed to move load order of Control panels in System Preferences Tige

    I post here because System refuses to let me post in Tiger forum depite my being a forum member since purchasing my G4-500 new just a few months after coming out.
    The problem is associated with my PowerBook17" bought new March a year ago. I currently am running 10.4.6 Tiger.
    On my G4-500 using Panther 3.9 I am allowed to drag and drop the load order of extension and control panel in System > Accounts > Startup items, at will.
    If I try the same thing on my PowerBook 17" It want let me Drag or if I do get it appear to drag what it does instead is remove from the list.
    Suggestions?

    How do I mark one portion of my question as being answered ( the part so named in the subject line.) and one part as not part about not being able to get into sub category so far as adding a question.
    You can use the Helpful buttons without using Solved. Solved will result in your thread being marked as answered, Helpful won't. It is possible to mark a question answered without marking any posts as helpful or solved. You would do this if you found the solution somewhere other that the thread with the question. It is good form to post what the solution is so that others can benefit. You can go back & "unmark" a question as answered, but I'm not sure if there is a time limit from the time you originally marked it answered.

  • Control load order of third-party menulets / menu extras at startup

    Does anyone know how to control or adjust the load order of third-party menulets / menu extras at startup? I am using the latest update to Tiger.

    There are two types of third-party menulets: those that use Apple's sanctioned "NSStatusItem" (which is not as full featured as Apple's menulets) and those that use the reversed-engineered (and unpublished) "NSMenuExtra" which is exactly what Apple's menulets use. The method for arranging these in your menubar depend on the type:
    1) Apple and "NSMenuExtra" menulets: hold down the command key (and keep it down) and you can click and drag these in the order your like.
    2) "NSStatusItem" menulets: these are added to left side of the the other menulets in the order they are launched. If these applications are in your "Login Items" then OS X launches these simultaneously, which means those that launched "quicker" will end up towards the right, and others will end up towards the left. The only real solution to controlling this order is to control the launch order by writing an AppleScript for each one that puts in an artificial delay before launch. Then, use these AppleScripts as your Login Items instead.

  • Controlling  JAR loading order in OC4J

    I have a WAR file ,which contains 2 JAR files namely, BASE.JAR, IND.JAR(among others).
    BASE.JAR is used in our base application and IND.JAR is the industry specialization of BASE.JAR.
    IND.JAR & BASE.JAR do have many overlapping classes.
    In my industry application WAR ,i neeed OC4J to load IND first and then look at BASE. that way i will always invoke the IND variant and then if a class is not in IND then BASE gets invoked.
    how do I set this ? ( weblogic has a load order ,does OC4j have anything like that ?).
    Thanks in advance.

    Hello,
    If your application can be packaged into an EAR file I recall sometime I employed the standard application.xml file (that tells the container to load each module in the order specified therein).
    Nevertheless that addresses a deploy time issue, not runtime like this one. If you are using OC4J 10.1.3, you can edit the deployment plan for your WAR file; in the webAppClassLoader wizard you can change the "searchLocalClassesFirst" or "includeWarManifestClassPath" setting. By finding adequate values for those above and by using the shared libraries mechanism accordingly you may work it out.
    RB

  • Unable to load Site Control File

    Hello,
    The background :
    I am in the process of learning how to create a Management Pack for a distributed application in SCOM 2012 R2.</p><p>For this, I picked our SCCM Site server to use as an example. So, in short, am writing a management pack for SCCM 2007 Discovery.
    I know a management pack might already exist. I am trying to learn by using an architecture I'm familiar with so I need to create this from scratch.
    In order to discover SCCM Site installed on a server, I decided to use the SMS WMI namespace. By reading the
    SMS_ProviderLocation Instance, I am able to detect if the server has SCCM Site installed on it.
    My next step was to find out where the SMS database is hosted. I found
    ROOT\SMS\site_ABC\ namespace contains an instance of SMS_SCI_SiteDefinition where I can find the database name and server name which I can use to discover the other components of a distributed application.
    The problem :
    When I run the query Select * from SMS_SCI_SiteDefinition I get a generic error 0x80041001.
    More Information reveals the following:
    error description : " Unable to load site control file "
    error code : " 2160198400 (0x80c20300) "
    file name : " c:\qfe\nts_sms_fre\sms\siteserver\sdk_provider\smsprov\sspsitecontrolextractor.cpp "
    Now, I cannot find the QFE folder anywhere. The SCCM Site is working fine and the site_control_manager component has no errors. I can launch the SCCM console on that server without any errors and the site status messages do not contain any errors.
    Can someone please help me out with "detecting" an installed instance of SCCM site server using WMI? Is the above error cause for worry for the SCCM part of my brain?
    Thanks in advance for your guidance!

    Thanks for your response Don!
    The SMS_Site instance does not provide information of the database server and database name.
    The funny thing is when I browse use wbemtest to connect to root\SMS\site_XXX and enumerate classes, i do not find
    the SMS_SCI_SiteDefinition. 
    I find it when i enumerate recursively and can browse into the values. I'm not sure how could build a query against this now.
    Can anybody with a test instance of SCCM 2007 check this and let me know please?
    Everything you are looking for exist within WMI. You can use the documentation script as an example to get what you are looking for.
    http://www.enhansoft.com/pages/downloads.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • 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!!!!!!!!!!!!!!

  • 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/

  • Parent-Child Apps and Classloading...Wrong load order?

    Ah, everyone's favourite two oracle topics slammed into one. I've been using Oracle's parent-child application deployment for some time, to reasonable success in Oracle App Server 9.0.4. Though screwing about with the classloaders in this way usually fills me with dread, the benefits of developing child apps in isolation from the parent are excellent.
    In general I have always deployed in the following way:
    server.xml
    <application name="msip-app" path="../applications/msip-app.ear" parent="default" start="true" />
    <application name="msip-services" path="../applications/msip-services.ear" parent="msip-app" start="true" />
    default-web-site.xml
    <web-app application="msip-app" name="msip-web" load-on-startup="true" root="/msip" />
    <web-app application="msip-services" name="msip-services" load-on-startup="true" root="/msip-ws" />
    orion-application.xml (parent app)
    <library path="./msip-web/WEB-INF/classes" />
    <library path="./msip-web/WEB-INF/lib" />
    (Note: this generic approach has always worked...)
    Now I am trying to upgrade to oc4j 10.1.3.x, and I seem to be trapped in configuration hell. OC4J now appears to load the child application first, which inevitably screws up the classloader for the parent app. Surely this doesn't make any sense, as the parent app is the dependency and should be started first?!
    I haven't discovered any way to control the load order for apps in the config files; the only workaround is to set the load-on-startup for the child app to "false". This is fine, until I redeploy through Oracle EM, which switches load-on-startup back to true. Again, there doesn't seem to be any way in deployment to control this parameter!
    Why in the heck would oc4j have changed it's load priority for parent child apps? Is there any way to force load order through config? Am I just crazy and no one else has seen this?
    Help.

    Thanks for the reply. Gave that a look, but unfortunately, that link concerns a problem at a lower level than the one I've encountered. A classloading problem alerted me to what I believe is a bigger issue, namely that oc4j appear to be launching my child app before the parent app, and this consistently screws up the initialisation phases for both ear files. This appears to be an explicit decision in the Oracle app loader about which war file (parent or child) to launch first, but for the life of me, I can't find the offending code by decompiling oc4j.
    If it turns out that this intentional, surely this must be a mistake? The parent app is the dependency and must be loaded first! or I missing something big...

  • Adding pre-mapping process breaks target load order

    OWB 11.2.0.2 on Oracle database 11.2.0.2
    I created a mapping that has 4 sources (views on external tables) and 4 targets (3 regular tables).
    V1 => T1 (truncate/insert)
    V2 => T2 (truncate/insert)
    V3 => T3 (truncate/insert)
    V4 => T3 (update/insert)
    The above is the target load order. It tested fine.
    I added a pre-mapping process (packaged procedure) that is unrelated to any of these source/target tables, but just exits or raises a failure to control whether the mapping should continue to run or not.
    When I run it, the selected/inserted/merged counts are identical, but from what I'm seeing in T3 is that the order was update/insert followed by truncate/insert. I verified that the target load order remained the same.
    Has anyone else run into this problem?

    Hi,
    For OWB 11.2.0.2 the target load order property will set to 'False' by default.
    If this is the case you can not guarantee that the targets will be loaded in the order specified. It should be set to 'true'
    Right click on your map and select configure -> Code generation Properties -> Use target load ordering set it to true.
    Please note that you should have ODI EE licence and you must have installed OWB with Enterprise opton to set this property.
    Regards,
    Pnreddy

  • Movieclip load order FIFO or FILO

    Hi, I recently purchased Zinc to simply have more control
    over the window
    (placement, title, icon - that's all I wanted for this
    project!!) and it is
    causing issues with my program.
    I use the following code to create some movie clips:
    for (var i=0;i<count;i++)
    filePath = pstrFolderPath + swatchNameArray
    paLoadedSwatchClips.push(new swatch(this, pobjMainRef,
    pmcSWFHolder, i,
    filePath, theCounterValues));
    The swatch class has the following code that actually creates
    the clips:
    loadListener.onLoadInit = function(target_mc:MovieClip)
    trace(target_mc + ' is done loading' + ' !! ' +
    thisRef.pnID);
    var mdm = _global.mdm;
    mdm.Exception.DebugWindow.trace(target_mc + ' is done
    loading' + ' !! ' +
    thisRef.pnID, mdm.ASYNC)
    thisRef.pmcLoadedClip = target_mc; // Set reference for
    calling play and
    stop
    thisRef.pobjSetRef.mClipDone();
    // Store height before we put textfield on there
    thisRef.pnMyHeight = target_mc._height;
    thisRef.mCreateCounter(initialCount);
    mcLoader.addListener(loadListener);
    var thePath = _global.mdm.Application.path + swfPath;
    mcLoader.loadClip(swfPath, pmcButton);
    My trace statements in Flash are in order - 0,1,2.....
    I am using Flash MX 2004.
    When I run it through Zinc, and when customer support runs my
    files, the
    trace statements are reversed - 2,1,0
    I guess I'm wondering if load order has changed since 2004
    version... This
    problem is breaking this part of my program when I run it
    through Zinc, and
    want to know if it is Zinc, or an issue with Flash?
    Any help would be appreciated,
    Jason

    Update for anyone who cares...
    It seems flash 7 and 8 are different in how they load movie
    clips. Using an
    older version of Zinc(which uses player 7) works just fine.
    Seems to me,
    Flash 8 loads them first in last out, where Flash 7 loads
    them first in
    first out.
    Good to know for me at least!
    "Jason C Reynolds" <[email protected]>
    wrote in message
    news:[email protected]...
    > Hi, I recently purchased Zinc to simply have more
    control over the window
    > (placement, title, icon - that's all I wanted for this
    project!!) and it
    > is causing issues with my program.
    >
    > I use the following code to create some movie clips:
    >
    > for (var i=0;i<count;i++)
    > {
    > filePath = pstrFolderPath + swatchNameArray
    > paLoadedSwatchClips.push(new swatch(this, pobjMainRef,
    pmcSWFHolder, i,
    > filePath, theCounterValues));
    > }
    >
    >
    > The swatch class has the following code that actually
    creates the clips:
    >
    > loadListener.onLoadInit = function(target_mc:MovieClip)
    > {
    > trace(target_mc + ' is done loading' + ' !! ' +
    thisRef.pnID);
    > var mdm = _global.mdm;
    > mdm.Exception.DebugWindow.trace(target_mc + ' is done
    loading' + ' !! '
    > + thisRef.pnID, mdm.ASYNC)
    >
    > thisRef.pmcLoadedClip = target_mc; // Set reference for
    calling play and
    > stop
    > thisRef.pobjSetRef.mClipDone();
    > // Store height before we put textfield on there
    > thisRef.pnMyHeight = target_mc._height;
    > thisRef.mCreateCounter(initialCount);
    > }
    > mcLoader.addListener(loadListener);
    > var thePath = _global.mdm.Application.path + swfPath;
    > mcLoader.loadClip(swfPath, pmcButton);
    >
    >
    > My trace statements in Flash are in order - 0,1,2.....
    > I am using Flash MX 2004.
    >
    > When I run it through Zinc, and when customer support
    runs my files, the
    > trace statements are reversed - 2,1,0
    >
    > I guess I'm wondering if load order has changed since
    2004 version... This
    > problem is breaking this part of my program when I run
    it through Zinc,
    > and want to know if it is Zinc, or an issue with Flash?
    >
    > Any help would be appreciated,
    > Jason
    >
    >

  • Capacity profile in order control spro

    hi
    in order control of pm spro
    capacity profile-field
    i fnd generally people left it bank
    can i manintain the all the capacity(man) of maintenace in profile
    and put it here
    so capacity avalabilty check for manpower i can do
    this is what i know
    if iam wrong please correct me and also give some idea how to use this field
    thank you

    1. In Capacity tab page, use
    Other Formula - SAP008 (Proj: Reqtmns in Prcng). This relates to the internal Calculation of Available Capacity by system.
    2. Overload - in Percentage
    eg) Available Capacity of the Work Center is 100 mhrs. If you set Overload as 10%, the work center can be loaded with 110 mhrs. That means, in Maintenance Order the Work Center can be loaded 110 mhrs per day. If the Capacity requirement Crosses 110 mhrs, sysytem will throw message according to the IMG setting.
    3. If we set the Indicator Relevant to finite scheduling,
    we will have the flexibility to continue with MO processing even though the Work Center is Over loaded (If you have this option, during the pop up meesage by system at the time of overloading, we can manually adjust the Capacity and proceed with the process)
    4. Can be used by several Operations -
    Capacity of Work Center id 100 mhrs. Capacity requirement for One Operation in an Order is 50 mhrs. In this case, if you have not selected the "Can be used " option, remaining 50mhrs can not be utilized for the whole day by any other Operation. So it ie advisable to enable this option, so that maximum utilzation can be done.
    5. Long Term Planning -
    As the name indicates, it is basically to plan the Capacity Requirements/assignments in long term.
    eg) Planning of Spares, Man power in a Maintenance Plan
    Hope this will solve ur clarification.
    Regards
    Sam

  • 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.

  • 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.

  • Error Loading Plugins Control Panel.aip

    I tried to open Illustrator for the first time on my new computer. It seems like it's going to open, then I get an error message:
    Error Loading Plugins
    Control Panel.aip
    I have reinstalled, uninstalled, reinstalled, updated window, updated adobe, restarted inbetween, etc.
    I have Designer CS3 on a toshiba satellite p205d-s8804 running Vista 2gig memory AMD Turion 64x2 2GZ x86 ATI Radeon X1200 2G RAM 139G free HD space.
    It seems numerous people are having this problem across the web but no one has posed an answer on how to fix it. It is insinuated that it is a registry problem.
    Can and Adobe person post the solution.
    PLEASE HELP

    Bill, thank you very much for posting the solution to the "Error Loading Plug-ins. Control Panel.aip" problem.
    I was able to find your solution here on the forum with only a minimal amount of searching, and it worked perfectly.
    FWIW, I found two duplicate files in the C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Required folder - one called ADMEveParser and another one called ADMPlugin.  Both of them had a 1 in parentheses after the file name.
    Again - many thanks for your thoughtfulness.

  • SQL Loader and control file changes for different users

    In the front end of my application I can select a data file and a control file, and load data to the table mentioned in .ctl file. Every user who logs in uses the same .ctl file and so loads onto the same table. Now I want the user to load data onto the table in his own schema. I can get the username of the user currently logged in and i want to insert it into that username.table. So can i copy the contents of the .ctl file into a variable, modify it into username.table in that string and pass that variable as a parameter to the sqlldr command instead of the .ctl file.
    Or is there a better way how I can modify the same control file everytime to change tablename to username.tablename in .ctl file and pass to sqlldr to load data to table in local user schema table.
    Thanks and Regards

    Thanks for the reply .. user do have their user credentials but only for the application ... but all users use a common loader and control file once they log into the application. So irrespective of which user is logged in he selects the same control file and loads to the same table mentioned in the control file .. i instead want user to be able to load to the table in control file but into his schema like username.tablename instead of just the tablename mentioned in .ctl file.

Maybe you are looking for