OnLoadError won't run when MC doesn't exist

Can anyone help me?
I am using a movieClipLoader & listener object to
dynamically load a SWF. If the SWF exists onLoadComplete and
onLoadProgress work just fine (but only if they are not within an
"if" statement, for some reason) but if the SWF does not exist
onLoadError does not get called.
My MovieClipLoader is attached.
Like I said, everything works but the onLoadError function.
Any idea why? I need to run my function "showRoute" if the map file
does not exist. Is there a work-around?
Thanks for all your help!
~ Joseph Russavage ~
p.s. This is for an interactive acccessibility map I am
building for my campus.
You can see this project in progress at
www.humboldt.edu/~jmr74 and clicking on
the "Interactive Accessibility Map" link. The above command
executes when the
user selects a starting and an ending location from the first
two drop-down
menus, then clicks the "Info" button and then the "Route"
tab. If there is no
route between the locations the user has selected the
onLoadError function
needs to be called to provide other ways to get from A to
B.

quote:
Originally posted by:
Rothrock
Not sure. My guess would be that you should move the loadClip
to after the listener code has been defined. Also it is kind of
strange – from my perspective – to have all this
defined inside the button onPress event handler. I would have it
all outside of that and only have the loadClip in there.
Again and also odd, I have no idea why you would try and put
events inside a conditional. What is that about?
the good/bad thing about Flash scripting is that you can be
sloppy coding and everything works fine. But as soon as you apply
strict type programming, all hell break loose
But yeah, any sort of listener should be created outside
under the main movie timeline frame on its own. Makes a lot more
sense.
Other than that, have you tried create a simpler stand-alone
flash file specifically only does this MCL? try that and see what
happen

Similar Messages

  • /var/run/gdm.pid doesn't exist, perhaps GDM isn't running

    /var/run/gdm.pid doesn't exist, perhaps GDM isn't running
    I'm getting this message when I'm trying to turn off deamon manualy. There is a file in /var/run/ called gdm.pim . It's started after gnome upgrade. What's wrong with this ?
    Thanks for your help

    Rokixz wrote:
    /var/run/gdm.pid doesn't exist, perhaps GDM isn't running
    I'm getting this message when I'm trying to turn off deamon manualy. There is a file in /var/run/ called gdm.pim . It's started after gnome upgrade. What's wrong with this ?
    Thanks for your help
    Same problem here.

  • Php won't run when in html pages

    On my server php do not run when inserted in html pages. If I rename the file in .php, all runs correctly but I don't want to rename all my files... I know there is a way to make php run in html pages, but i can't find it.
    Any help would be apreciated...

    For anyone else that reads this - you can't get there from here.
    If you want PHP to execute, the file must be named .php, .php4, .php5, etc. You can have standard HTML in the file and enclose the PHP with tags <? script here ?> to run and that will work, but the file MUST NOT be named .htm or .html, or even .shtml or the scripting will not execute.
    It WILL, however, show your code to anyone surfing the page - including any passwords or other secrety-type thingys.

  • EXS24 samples won't boot: "Specified Volume Doesn't Exist"

    My sample library is in my external drive... I scanned the whole thing in Project Manager, which took forever, and I saved it...and I was able to use the samples on EXS24.
    But when I reboot Logic, only the samples that were recorded are recognized...
    when I try to pick a new sound I get the most lovely message:
    "Specified Volume doesn't exist:
    Result Code -35"
    any suggestions pleez?

    Tovinho,
    Thank you very much for reading my post and for the suggestion... I already have chosen this setting... in addition, I have "Search Project Manager Database and Search Engine" also chosen in that window, and after I boot Logic, the computer always goes through the "updating tree" process.
    But I still get the same error message.
    Kam

  • Photo elements wants to open last used dir location. When it doesn't exist or cannot access, it fails to open.  How do you set the default file location?

    Upset!!!
    Photo elements wants to open at the last used folder location. When it does not exist or unable to open that location. It FAILS to OPEN.
    Does not seem to be a way to set a default location or to change the location.
    VERY ANNOYING.
    How do you tell photo elements to always go to a set location rather than the last used location?
    Thank you

    Hi,
    I did a test as you suggested - open an image on a removable drive, close the editor and took the removable offline. When I next went to the editor, it opened OK.
    From the screen shot in message #5 above, I think that the fault is with SolidWorks. I am not familiar with that product but it seems to be a form of asset management and it can't open its database - is that on the removable?
    Normally, the editor does not open any files when it loads except for it program files and any addins. Could SolidWorks be an addin?
    See if this works to reset the preferences.
    Create a desktop shortcut for this file
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\PhotoshopElementsEditor.exe"
    Hold down the Ctrl, Shift & Alt keys when you double click on the shortcut. Keep the keys held down and eventually a message box will pop up asking if you want to reset the preferences - you do.
    Brian

  • Photoshop Elements 6 - PDF slide show won't run when email is opened

    I have created a slide show in Photoshop Elements 6 as a PDF file and sent it to myself as a trial run. Although I have selected the 'loop' option the show does not run automatically when the email attachement is opened as I believe it should. Any suggestions gratefully received. Thanks.

    It comes to something when I have to answer my own question!  However I have to admit I did have a little help from an earlier question which was thrown up by a search I did! It seems that when a PDF show is emailed and the recipient is asked whether the show should be opened in full screen or not; the answer should be 'yes' in order for the show to start automatically.
    If the recipient answers 'no' the show stays stuck on the first slide. Hope this help anyone else who may have the same problem.

  • Itunes 7.1.1 won't run, when 6.0 does.

    Hi, I recently got a laptop, (from my dad, its his old one). It runs XP fine, and is a fairly fast PC.
    I tried installing iTunes, and after installation it would not open. It acts as though its opening, and the process appears in the task manager (ituneshelper and ipodservice).
    I got worried, and messed around with it for a day.
    After discovering nothing would work, I tried installing iTunes 6. This version runs fine, and I would just use that, but it has connection issues when I try to log on in the store, so I can't even buy anything.
    Please help me figure this out!

    Also, I'm sure its probably related, Windows live messenger, and Windows messenger both have connection problems saying the service is down when I try to log on, so I have to use the webmessenger.
    good catch. okay, that, in conjunction with your iTunes symptoms, is suggesting a problem with digital signing of some drivers on your PC. try the "Resolution" section from the following document:
    Detecting digital signing issues in Windows XP
    ... if itunes and live messenger and messenger all start working again, strongly consider doing a thorough antivirus scan on the PC. (the dlls can be deregistered initially by malware.) a good place to start with that would be with one of the reputable "online" virus checks, like TrendMicro's HouseCall or Symantec's online virus check. here's a link through to the Symantec check. (apologies in advance but it takes an eternity to complete.)
    Symantec Security Check

  • Jar file from netbeans won't run when doubleclicked

    Hello,
    I've just completed my first java application using netbeans (just a simple "hello world"), it runs fine in the netbeans ide, but when I located the .jar file and double clicked it, nothing happens. I've already verified that the file extension .jar is associated with javaw.exe so that's not the problem.
    Anyone how to fix this problem?
    Thanks!
    Edited by: b-rad311 on Jul 14, 2010 8:44 AM

    My guess is he posted something and then edited it and put in nvm for NeVer Mind.
    In NetBeans I would try this to make sure the main class setting is fully saved with new version of NetBeans
    press Ctrl+1 to go to projects tab
    Right click your project click Properties
    on left click Run
    Make sure you don't have anything in Arguments or VM Options because javaw will read use either of these settings.
    Click Browse next to Main Class and click your class again and click Select Main Class. Then click OK to rewrite the settings.
    Right click your project and do "Clean And Build".
    Let us know if this works or not

  • Creative Cloud won't run when I click it's icon

    I downloaded the Creative Cloud app, went through the installer and created an icon. When I click the icon nothing happens. Opened the file location and ran the app from there, nothing. What did I do wrong? What can I do to fix it? Windows 8.1

    Colorado Berto have you utilized the steps listed in Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html to reinstall the Creative Cloud Desktop application?

  • Evolution shows an "Other" number when one doesn't exist

    When I add a contact to evolution, if I give it a single phone number the summary, business card style list at the top, shows the phone number in the correct category but also shows the number repeated in the Other category. If I click on the contact and get the details in the bottom pane only the one number I entered is there. Also, if I edit the contact only my single number is there.
    Has anyone else seen this problem?

    No replies in a week. I assume this is just not possible, but a good enhancement recommendation for the next version of iTunes.
      Windows XP Pro  

  • Artist Alert When Artist Doesn't Exist In iTunes

    It's pretty simple to add an Artist when you're on the Artist page, but what do you do when the Artist is not currently contained within the iTunes catalog? Perhaps it's an obscure band or one that has previously withheld their music from iTunes and you want to know when they're finally available. I've just started to investigate this feature and don't even know if it really works when I discovered this problem. Any thoughts?
      Windows XP Pro  

    No replies in a week. I assume this is just not possible, but a good enhancement recommendation for the next version of iTunes.
      Windows XP Pro  

  • ITunes won't run after downloaded.

    I downloaded iTunes to Windows XP successfully, but it won't run when I attempt to open it. Nothing happens. My iPod should arrive in a week and I want to have iTunes prepared to transfer songs ASAP!
    Why won't iTunes open after I've successfully downloaded it??!!

    ...ok, I downloaded iTunes 6.0 and it worked fine until my iPod cam and it said I needed version 7.0 or higher to transfer songs[thanks a lot apple].

  • New to CC...Lr won't run.

    I installed LR and PS about a week ago using CC.  Both worked just fine.  Now LR won't run when I click on it, although PS runs without problem.

    Figured it out...husband said start with shutting off computer and when I did the computer told me LR was running somewhere.  So did the close and shut off computer and everything is running fine.  Knew it wasn't computer because everything was jsut upgraded in order to handle LR and PS.  I'm notorious for not shutting off computer .

  • Report won't run for mimetype=application/vnd.ms-excel

    Hi,
    My customers need to run reports in excel and type in parameters into the parameter from. The URL is:
    http://myServer/dev60cgi/rwcgi60?xyz+server=Repserv+report=rptName.rdf+destype=cache+paramform=yes+desformat=delimited+mimetype=application/vnd.ms-excel
    The parameter from shows up and all the LOVs are there, the reset botton works, the Submit Query botton only shows Submit (NO QUERY). The report won't run when I click on Submit botton.
    But it works perfectly if no mimetype=application/vnd.ms-excel in URL
    Can anybody help me to fix this ?
    Thanks

    The mimetype parameter was only introduced in 6.0.8.10 and above. What version are you running ?
    Thanks,
    Danny

  • PowerPoint won't run - Mac to Windows

    A few slides on my power point won't run when I save it on a CD and transfer it to a PC (Dell). I saved the images as A JPG, so why won't it work.

    You should probably post your question(s) on Microsoft's Office:Mac newsgroups:
    http://www.microsoft.com/mac/community/community.aspx?pid=newsgroups

Maybe you are looking for

  • Selecting non-consecutive text in Safari text boxes?

    I've been trying to find a way to highlight/select different ranges of text in Safari without luck; I know that selecting consecutive text can be done by holding down "shift", but is there any way to do it with non-consecutive text? TextEdit is able

  • Order related Billing-Excise duties

    Dear All, Excise duties are not flowing to RG1 print (J2I6) for u201CCash saleu201D Excise Invoice. For this I have done the cash sale process as below: 1.Created an order (BV), here along with order no. Delivery no also got generated 2.change mode o

  • When to use "CALL" to invoke a stored procedure?

    I am kind of confused on how to invoke a stored procedure. I have a stored procedure, let's say, "X" in package "P". I am not sure when I should use "BEGIN CALL X.P(args); END;" or when I should just call "BEGIN X.P(args); END;". Sometimes the first

  • HT5312 Hlep me iam forget my other email

    I have 10 $ in my account and iam forget  my other email and iam forget the answer pleas help me

  • Jpeg degradation when not editing

    Some years ago, I was given to understand that jpeg images lose quality when edited, and I have seen this for myself when cropping.  At the same time, I understood that I could save an unedited jpeg repeatedly, with no loss of quality, as long as I d