Preloader causes trouble in other scene

Hello..
I have a flash file with 2 scene..
1 scene - loader
2 scene - main
When i test the scene "main" (deleted the scene "loader" from
my file) it works perfectly with the animations i have given it.
But when I add the scene "loader", the "main" scene doesn't load
completely..
Only with scene 2 "main"
Scene
Main
Scene 1 and 2 "loader" and "main"
Scene
Loder and Main
code i used for the preloader
quote:
stop();
myInterval = setInterval(preloader, 100);
function preloader(){
if (_root.getBytesLoaded() >= _root.getBytesTotal() ){
gotoAndStop("main", 1);
clearInterval(myInterval);
Any idea what this could be??
Thank you

First, you are using references to "scenes" for action script
navigation (you should use frame labels). Also, you have a
gotoAndStop to frame 1 of that scene. Depending on how other
symbols are on this time line, and since you told it to stop on
frame 1, flash may not have had time to initialize other symbols
before the play head stopped. I've come across this before - it's
hard to explain, but under certain circumstances it can happen. Is
there only one frame on the "main" scene? If so, try extending that
time line to 2 frames and place a stop action on frame 2, and
change your preloader script to gotoAndPlay("frameLabel"); - you
will need to label the first frame of the "main" scene with
something and replace "frameLabel". Do you place your actions on
the top-most layer, and in your publish settings, under the flash
tab, what is the load order?

Similar Messages

  • Appmenu-qt causeing trouble since KDE 4.9.5

    Hey guys,
    I just updated to KDE 4.9.5 just to discover that having appmenu-qt installed (I don't use it) makes menu bars go to nirvana. I simply uninstalled the package and the menu bars appeared again. Someone else experiencing the same issue?
    The problem is, at the moment I don't need/want appmenu, but it will definetly become interesting in KDE 4.10 when KWin's decorations will finally be able to use it, it would be nice to not cause trouble when not even used.

    It makes menu bars go to nirvana. Thanks I love my menu bars .

  • Urgent! Can div's ids cause trouble

    Can div's ids cause trouble with a javascript loaded flash?
    I'm using the swfobject javascript to load a flash animation
    (this code helps the submenu layers appear on top of the flash
    animation and makes that weird gray line in IE go away).
    I have many divs without id, the animation should load into a
    div called "mainflash". When I have all those div inside the same
    table as the "mainflash" div, the flash animation does not load.
    After many tests I found out that only with all those other
    divs in the different tds of the table the animation fails to show,
    which leads me to thinking the .js code might get confused with all
    those unidentified divs.
    Is that possible? This only happens in firefox 2 when using a
    mac.
    Here's the page without the divs:
    http://www.l3hm.com/anim_test9x.php
    Here's the page with all those divs:
    http://www.l3hm.com/anim_test4.php
    I used php includes, but I also tried having all the content
    in the page without the includes and in html and still it didn't
    work.
    Please help me out my client is becoming impatient.

    serg2049 wrote:
    > Can div's ids cause trouble with a javascript loaded
    flash?
    >
    > I'm using the swfobject javascript to load a flash
    animation (this code helps
    > the submenu layers appear on top of the flash animation
    and makes that weird
    > gray line in IE go away).
    >
    > I have many divs without id, the animation should load
    into a div called
    > "mainflash". When I have all those div inside the same
    table as the "mainflash"
    > div, the flash animation does not load.
    >
    > After many tests I found out that only with all those
    other divs in the
    > different tds of the table the animation fails to show,
    which leads me to
    > thinking the .js code might get confused with all those
    unidentified divs.
    >
    > Is that possible? This only happens in firefox 2 when
    using a mac.
    >
    > Here's the page without the divs:
    http://www.l3hm.com/anim_test9x.php
    >
    > Here's the page with all those divs:
    http://www.l3hm.com/anim_test4.php
    >
    > I used php includes, but I also tried having all the
    content in the page
    > without the includes and in html and still it didn't
    work.
    >
    > Please help me out my client is becoming impatient.
    >
    You could try this - in your test.php file - find this line
    of code.........
    <div id="mainflash" style="border: 1px solid rgb(99, 101,
    105); padding:
    3px; width: 466px; height: 357px; position: absolute;
    margin-top:
    49px;"><embed type="application/x-shockwave-flash"
    src="l3anim.swf"
    style="" id="main" name="main" bgcolor="#FFFFFF"
    quality="high"
    wmode="opaque" height="357" width="466">
    </div>
    and replace with.........
    <div id="mainflash" style="border: 1px solid rgb(99, 101,
    105); padding:
    3px; width: 466px; height: 357px; margin-top:
    49px;"><embed
    type="application/x-shockwave-flash" src="l3anim.swf"
    style="" id="main"
    name="main" bgcolor="#FFFFFF" quality="high" wmode="opaque"
    height="357"
    width="466">
    </div>
    chin chin
    Sinclair

  • Which Ipod Updater was causing trouble with ipods??

    I read a while back that there was an ipod updater that was actually making the ipod not work can anyone tell me which updater this was?

    I updated my ipod video w/ that ipod updater that causes trouble is there a way for me to switch back to the previous update because now the ipod plays the first 2 sec. of a song and then shuffles through the rest of the songs not allowing me listen to my downloaded music. Please help w/ my concern or let me know if there is a newer updater that will work for me.

  • Changes in RPCBURZ0 causes errors in other programs

    Hello to All,
    I made changes to RPCBURZ0 in order to extend the TABLE schema function to read a custom Infotype 9001.
    I added the necessary code in RPCBURZ0 and the data definition in RPCFDCZ0.
    The code is working perfectly , but the changes are causing errors in other country specific reports
    specifically in : HINCALC0 , HCNCALC0 , and HKRCALC0 and Transports to Quality generating errors.
    Error is because the custom infotype definition is not seen in these reports.
    Generation of the users of the transported Includes                                                                                |
    Program HCNCALC0, Include RPCBURZ0: Syntax error in line 000021
    The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
    Program HINCALC0, Include RPCBURZ0: Syntax error in line 000021
    The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
    Program HKRCALC0, Include RPCBURZ0: Syntax error in line 000021
           |   The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. . 
    Looking at other H--CALC0 reports i could easily spot an include for RPCFDCZ0.
    include rpcfdcz0.  "customer-specific data declaration (int'l)
    I wonder why this include is not in (HINCALC0 , HCNCALC0 , and HKRCALC0) !!!
    I have two solutions in mind :
    1. Make a custom ZRPCBURZ0 and include it in the main report.
    2. Look for user exist for the three reports and add the data definition statement .
    What is the best way to fix this situation ? and is there any other possible solutions ?
    We are using :
       SAP ECC 6.0
       Payroll International Driver.

    Alex Gorly and Matt Sullivan solved one of my issues above:
    Message: Attribute 'prod' is not declared for element 'prodname'
    I'm still stumpled on the other one:
    Message: Not enough elements to match content model  '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series) )*)'
    As stated above, I've even removed everything from the general rule of <prodinfo> except prodname and I'm still getting the same error. I've searched everywhere for this general rule and <prodinfo> is the only place I can find it.
    What I really want is: (prodname), (vrmlist)?, (brand | component | featnum | platform | prognum | series)*
    so that vrmlist is optional.
    No matter what I do, unless I include a vrmlist, I get the above message. Currently, our CMS can't handle vrmlist but I don't want to remove it altogether because we may be replacing our CMS.
    Help please!

  • TS3899 "cannot get mail" in iphone5 suddenly. been using iphone to check 2 email accounts for months now, one is gmail and not troubled. the other is thunderbird and i get this error message now. no settings have been changed or anything! ideas?

    hey all, I have been getting the "cannot get mail" error message on my iphone5 suddenly.
    ive been using iphone to check two email accounts for months now, one is gmail and not troubled. the other is mail from thunderbird and i get this error message now saying it is not responding. no settings have been changed or anything, it just suddenly stopped receiving mail on my device as of Tuesday afternoon.
    Does anyone have iny ideas about why? i have yet to update to the new OS7 yet, could that be it?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Mac is freezing no programs running yet no trouble for other user

    My mac keeps freezing yet no trouble for other user. No program's run without 5 mins of coloured wheel rotating. Also time machine not operating properly as computer is not recognising it. Apple support centre not much help as it took them 10 mins just to get my details straight! Anyone with similar problem and successful solution?
    Thanks.

    Tried Mac HD utility first aid but advised it can't repair disk.
    It's possible you have directory damage.  You will need to get that repaired asap by using/purchasing a stronger 3rd party utility.  The more you use the computer, the worse it will get. 
    Utilities are best run from the CDs  to avoid system interference & false readings/reports.  You must use the versions that are compatible w/your OS system & keep the utilities updated to avoid damaging/harming/trashing your system. You need to make your own decision on which to purchase.  Read up on them on their websites because each do something a little different.
    DiskWarrior (Highly Recommended for Directory Damage Repair)
    Techtool Pro
    Drive Genius

  • Time Capsule can you change the signal frequencies because it is causeing errors in other things that we have wireless cameras?

    Can you change the frequenices settings on the time capsule and the mac pro to receive it? Because it is causing errors with other wireless cameras that cannot be changed.

    Its ok. Thank you for replying. I meant router. lol. I have another question... I have looked at the back to my mac... so you are saying if I travel and take my mac book and use back to my mac I can access it?????
    Well here is the issue, as I said, my husband is deployed and he is the one that will be trying to access it. I have the mac book here with me. He has an iphone,ipad, and a windows based laptop with him... Is there a way for him to access it with these devices, to include the windows laptop?
    If all of this works can I load pics and movies on it and him be able to access them and then watch the movies?
    I appreciate your help. I am not a ******* but I just need help.
    Thanks so much!!!

  • A few months ago I bought an imac 27 inch late 2013 ... ever since I have continuously problems with my external HDD that disconnect all the time and cause problems in other software (Lightroom, Adobe PS CS6) ...

    a few months ago I bought an imac 27 inch late 2013 .. §16GB - and flash memory) - 3,3 Ghz Intel Core 15
    ever since I have continuously problems with my external HDD that disconnect all the time and cause problems in other software (Lightroom, Adobe PS CS6) ... it is not  a HDD problem, because it occurs with my 3TB WD HDD (Time Machine), my 1TB WD and  1TB IOMEGA
    any one have a solution? anyone dealt with this problem in the apple care program?

    You are still under warranty and/or have AppleCare.  Call them.  Let them deal w/it.

  • Deleted scenes causing trouble!

    Hello Everyone:
    I purchased Flash Pro 8 recently and still a rookie at using
    it. Could anyone help me with the following problem? I am creating
    a Flash doc for our robotics class. There are going to be
    approximately 10 scenes. The opening scene will be a menu where you
    can press a button to go to a specific subject which would be on a
    separate scene. For example, button 1 would go to scene 1, button 2
    to scene 2, button 3 to scene 3, etc. Everything worked fine until
    I decided to delete a scene I decided not to use, then all my
    buttons quit working. Button 1 which should have gone to scene 1
    now goes to scene 3 for example. The action script says that it
    should be navigating to scene 1 though. In fact, all my buttons
    navigate to different scenes than the ones they are told to go with
    the actionscript. Any help would be appreicated.
    Thank you.
    GP

    That is called a bug .. its been in flash for years and
    years, and they've
    never fixed it.
    that is why I tell everybody not to use scenes in
    actionscript (ie the
    special gotoAndPlay and gotoAndStop functions that take a
    scene name) ..
    they are buggy, and inserting or deleting scene can stuff
    them up
    completely.
    Solution: do NOT use scene names .. and to help make things
    easier to write
    and maintain, use frame labels.
    Jeckyl

  • JVMTI : AgentSetEventNotificationMode Causes Troubles in Lotus Notes

    Hi Everybody
    I have a JVMTI agent that i used to profile many java application ( Eclipse, Notes ...)
    I discover that I have some troubles with Lotus Notes Release 8.5.2FP4 on WIN7 64x
    (troubles like same time sigin windows don't open , contact window empty and it display nothing ...)
    when trying to investigate it a find that the problem occured when I call JVMTI method SetEventNotificationMode with JVMTI_EVENT_CLASS_FILE_LOAD_HOOK as parameters
    event with an empty callback I have always problem but only with notes
    in Trace log I found message like :
    *"An error occurred when activating automatic grouping com.ibm.rcp.aaf.startup (944).*
    *Caused by: java.lang.NoClassDefFoundError: com / ibm / icu / util / GregorianCalendar ... "*
    *"Errors when calling the plug-in code: com.ibm.rcp.personality.framework"*
    *"The plug-in com.ibm.rcp.aaf.startup failed to load the class com.ibm.rcp.aaf.startup.Startup."*
    when I try to desable this Event (JVMTI_EVENT_CLASS_FILE_LOAD_HOOK ) evry lotus notes fonctionnalities works well
    Any Idea ?
    Thanks a lot

    What version of Notes do you have? I get a message saying "Domino Web Access has not been certified to work with this browser" and I can choose one of:
    Try Domino Web Access anyway
    Use Lotus iNotes ultralite mode
    Use WebMail
    Logout
    I try Domino Web Access anyway
    As Mike says, it is pretty much useless with a touch screen. I can preview a message, I can create a new message, but I can't type in the body of the new message.
    I can switch to Lite, but the text is so small I can't read it. Clicking New doesn't seem to do anything here.
    I start over. Apparently that Lite mode isn't the same as Ultralite. The Ultralite mode seems to work fine and even has a distinct iPhone-esque look to it.
    The last option, just WebMail looks like a real old, rude and crude webmail version done by somebody's kid that is good with computers.
    So, see if you have access to the Ultralite mode. That one is definitely the best. Our Lotus Notes servers also have IMAP servers as well. I tend to use those instead of an actual Lotus client.

  • 11506 extra 302s causing trouble

    Hi,
    I have 2 sets of services supporting a 2 content rules, one is dynamic content the other static they both get requested together
    The pages are dynamic, the css and images they contain are static
    when a page is requested the css gives the dynamic content back, then the browser requests the first static element and the css gives back a 302 to the same url if the browesr rerequests this then all should be well (if an unnessecary slight delay)
    The trouble is that this 302 appears to be causing some browsers to not use the css (the first such element)
    On other pages the first image can load after the others.
    What steps should I take to find its cause and remove it?
    here is an example config that mirrors my real one
    service static
    ip address 192.168.0.10
    protocol tcp
    keepalive type http
    port 8080
    keepalive port 8080
    keepalive uri "/keepalive.html"
    active
    service dynamic
    the same (including ip address) except-
    port 8090
    keepalive port 8090
    owner webapp
    content staticsite
    vip address <public ip or ip used by ssl-proxy-list>
    protocol tcp
    port 80
    add service static
    active
    content dynamic
    vip address <same public ip or ip used by ssl-proxy-list>
    protocol tcp
    port 80
    url "/theApp/*"
    sticky-mask 255.255.255.240
    sticky-inact-timeout 1800
    add service dynamic
    active
    so the dynamic url is 'below' the static one /css and /images and /anything are served by static and only /theApp/* is served by the dynamic
    in reality the are 3 static and 12 dynamic services
    running sg0720206 (7.20 Build 206)

    the redirect is because of the change of content rule and the use of persistent connection.
    To avoid the redirect, you can use the global config command "persistence reset remap"
    Regards,
    Gilles.

  • SJSAS v9.0 : jsf-api 1.2 in javaee.jar causes trouble for jsf 1.1 apps

    In Sun Java System Application Server v9.0 (or 9.1), jsf-api v1.2 is embeded in javaee.jar. This causes a lot of trouble when deploy web applications written with jsf v1.1. Is there a way to avoid this without modifying web applications to migrate to jsf v1.2? I got strong reasons/requirements not to migrating source to comply jsf v1.2.
    In JSF v1.2 spec, it states "Faces 1.2 is backwards compatible with Faces 1.1. This means that a web-application that was developed to run with Faces 1.1 won�t require any modification when run with Faces 1.2 except in the cases described in the following section." Does anybody have the experience running v1.1 applications on top of SJSAS v9+ (or JSF v1.2 RI)? What are the best practices?
    Thanks

    It took me quite some time to diving in the codes as my situation is not simple - we have tens of custom coded JSF components/renders written in JSF v1.1 and suddently found everything not working on SJSAS v9. It turns out that I have to remove EVERY jar files related to JSF v1.1 or dependant by JSF v1.1, then it seems working but I couldn't be too sure untill the testing cycle finishes.
    Thanks for the hint BalusC - it helps.

  • PreLoader causing component problem

    Hey all,
    I have a created a site that has a scene preloader that
    preloads my main.swf.
    My main.swf then has a preloader for each external .swf file
    loaded into it.
    Everything seems to work it preloads my main.swf showing the
    percent loaded.
    Once it's loaded it appears and then loads an .swf file into
    a loader component (this works)
    Problem:
    the buttons inside the external .swf (that is loaded into my
    loader component) do not work. What could be wrong?
    I'm thinking it's just a problem with the scope. Below is my
    script I'm using.
    thanks in advance,
    sky

    I have a loader component on a layer in my main movie named
    "bgLoader".
    In my actions layer in my main movie I also have the code
    below:
    mcLoader.addListener(mcListener);
    mcListener.onLoadProgress = function (target_mc,
    bytesLoaded,bytesTotal) {
    extLoader_mc._visible = true;
    var pctLoaded = Math.round((bytesLoaded/bytesTotal)*100);
    extLoader_mc.pctLoaded_txt.text = pctLoaded;
    extLoader_mc.loaderBar_mc._xscale = pctLoaded;
    if(pctLoaded>=12){
    extLoader_mc.loaderBar_mc._visible=true;
    if(bytesLoaded >= bytesTotal){
    extLoader_mc._visible = false;
    mcLoader.loadClip("intro.swf", bigLoader);
    then in the file that is loaded into my bgLoader I have
    buttons both component and _mc's and neither will load.
    the code for the buttons in the .swf that is loaded into
    bgLoader (loader component) is
    // comboBox.value = hello.swf
    component_btn.onRelease = function () {
    if(comboBox.value == "defaultValue"){
    warning_txt.text = "Select Option";
    }else{
    warning_txt.text = ""; // works!
    //_root.mcLoader.loadClip("hello.swf", _root.bgLoader);
    _root.bgLoader.loadMovie(comboBox.value);
    trace(comboBox.value); // works!
    };

  • Using the integrated USB hub on my Thunderbolt Display causes troubles

    I just purchased a MacBook Air and a Thunderbolt Display. Unfortunately, when I connect USB plugs to the Displays buildin USB hub, I'm getting severed connections all the time (USB-Connection lost, Firewire-Connection lost, Ethernet-Connection lost...).
    I really loved the idea of not having to use external USB-hubs as this only clutters my desk - but the Displays internal hub cannot be used savely (I have a couple of hard drives connected via FW and USB to the Display - this has already resulted in data loss (fortunately I had a backup).
    As soon as I'm NOT using the Display's USB ports everything is fine (the Display's FireWire and Ethernet ports do not seem to cause any trouble).
    Anyone else seeing this?

    Plugging an additional USB hub into the integrated USB hub extends the problematic behavior even further.
    If I eject a thumb drive from a USB hub that's attached to the Thunderbolt display hub (for example), it will never recognize that thumb drive again, on any of the USB ports on the display or any additional hub connected to the display, until I reboot with no added USB hub, and then reconnect an empty hub, and then add devices one at a time.
    I've also noticed that while some devices drop off, some continue to show up in the system report, even when they have been properly ejected or disconnected. Refreshing the system report doesn't update with what's really going on...
    Weird... So since mountain lion, I don't disconnect any USB devices from the Thunderbolt display, unless I really, truly must.

Maybe you are looking for

  • How to auto-switch Wi-Fi network for the same SSID?

    Hi. In my testing, iPad will auto-switch to antoher same SSID Wi-Fi network when the signal become weak. My question is : What is the condition of auto-swith for iPad?

  • Change of origin system

    Hi Gurus. We have a system which is migrated from another R/3 system. Data is also copied over from there. So the owner of those PERNR and applicants as well as Org unit objects is the old system. Our ALE check (in table T77S0) is active. So the user

  • Mass movement of network file shares removed SHARE permissions

    We had a 10 year old server that had two iscsi drives containing all our company's shared file storage, about 2.5 TBs. A couple of days ago, we had to move those iscsi drives to a new server in order to retire the old server. Through previous experie

  • Passing control in Smart forms

    Hi! Gurus, As i was working with EKKO and EKPO and displaying amount for each order. I wanted to display total amont due for all the open POs on page 1. hw can i pass control from page 3 to page 1. Regards, Digvijay

  • Tcodes in Abap

    Hi all, How many Tcodes are there in Abap? What are they? How they are useful? Thanks & Regards jyothi.