Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

I get this error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Here is my code:
import fl.transitions.*;
import fl.transitions.easing.*;
//Assign CLICK listeners for each menu button
Home.addEventListener (MouseEvent.CLICK, buttonClicked);
Big_Square_Baling.addEventListener (MouseEvent.CLICK, buttonClicked);
Wrapping.addEventListener (MouseEvent.CLICK, buttonClicked);
Chopping.addEventListener (MouseEvent.CLICK, buttonClicked);
Tillage.addEventListener (MouseEvent.CLICK, buttonClicked);
Raking.addEventListener (MouseEvent.CLICK, buttonClicked);
//Make the buttons look like buttons
Home.buttonMode = true;
Big_Square_Baling.buttonMode = true;
Wrapping.buttonMode = true;
Chopping.buttonMode = true;
Tillage.buttonMode = true;
Raking.buttonMode = true;
//This loader is used to load the external swf files
var loader:Loader;
//URLRequest stores the path to the file to be loaded
var urlRequest:URLRequest;
//This array holds all the tweens, so they
//don't get garbage collected
var tweens:Array = new Array();
//Stores the current page we are displaying
var currentPage:MovieClip = null;
//Stores the next page that we are going to display
var nextPage:MovieClip = null;
//This function is called when a menu button is clicked
function buttonClicked (e:Event):void {
//Create a new loader instance
loader = new Loader();
//If we clicked the first button, we load the the Home page
if (e.target == Home) {
urlRequest = new URLRequest("Home.swf");
loader.load (urlRequest);
//If we clicked the second button, we load the Big Square Baling page
else if (e.target == Big_Square_Baling) {
urlRequest = new URLRequest("Big_Square_Baling.swf");
loader.load (urlRequest);
//We load the Big Square Bale Wrapping page since we know that the home page or the Big Square Baling page
//is not clicked
else if (e.target == Wrapping) {
urlRequest = new URLRequest("Wrapping.swf");
loader.load (urlRequest);
//We load the Chopping page since we know that the home page, the Big Square Baling page, or the
//Big Square Bale Wrapping page is not clicked
else if (e.target == Chopping) {
urlRequest = new URLRequest("Chopping.swf");
loader.load (urlRequest);
//We load the Tillage page since we know that that the home page, the Big Square Baling page, the
//Big Square Bale Wrapping page, and the Chopping page is not clicked
else if (e.target == Tillage) {
urlRequest = new URLRequest("Tillage.swf");
loader.load (urlRequest);
//We load the Raking page since we know that the home page, the Big Square Baling page, the
//Big Square Bale Wrapping page the Chopping page, and the Tillage page is not clicked
else {
  urlRequest = new URLRequest("Raking.swf");
  loader.load (urlRequest);
//We want to know when the next page is finished loading
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, fileLoaded);
//This function is called, when we have finished loading a content page
function fileLoaded(e:Event):void {
//The loader contains the page we are going to display.
nextPage = e.target.content;
//Let's animate the current page away from the stage.
//First, we need to make sure there is a current page on the stage.
if(currentPage != null) {
  //Tween the current page from left to the right
  var tweenX:Tween = new Tween(currentPage, "x", Regular.easeOut,
      currentPage.x, 500, 1, true);
  //Decrease the alpha to zero
  var tweenAlpha:Tween = new Tween(currentPage, "alpha", Regular.easeOut,
      1, 0, 1, true);
  //Push the tweens into an array
  tweens.push(tweenX);
  tweens.push(tweenAlpha);
  //currentPageGone will be called when the tween is finished
  tweenX.addEventListener(TweenEvent.MOTION_FINISH, currentPageGone);
//There is no current page, so we can animate the next
//page to the stage. The animation is done in
//the showNextPage function.
else {
  showNextPage();
//This function animates and displayes the next page
function showNextPage():void {
  //Tween the next page from left to the center
  var tweenX:Tween = new Tween(nextPage, "x", Regular.easeOut,
      -200, 0, 1, true);
  //Tween the alpha to from 0 to 1
  var tweenAlpha:Tween = new Tween(nextPage, "alpha", Regular.easeOut,
      0, 1, 1, true);
  //Push the tweens into an array
  tweens.push(tweenX);
  tweens.push(tweenAlpha);
  //Add the next page to the stage
  addChild(nextPage);
  //Next page is now our current page
  currentPage = nextPage;
//This function is called when the current page has been animated away
function currentPageGone(e:Event):void {
//Remove the current page completely
removeChild(currentPage);
//Let's show the next page
showNextPage();

To help figure out what's wrong, you can use an absolute path to your SWF files. (Such as "C:/Program Files/My Project/MySWF.swf") If the error goes away, then the filename is correct and there is simply some confusion as to where the local path is. Remember that the parent project (your main.swf) should be in the exact same directory as the SWFs being loaded)
~Plystire

Similar Messages

  • Help with this ! Error #2044: Unhandled ioError:. text=Error #2035:

    Okay,
    I'm green and new to Flash and making a website so this may not be a huge issue to some.
    I'm trying to make a simple image gallery  with the UI Loader.( 9 thumbnail images with main image above it)
    I'm following a Lynda.com CS3 video tutorial if that helps. It seems straightforward enough.
    I have everything properly assigned (buttons, the loader) and this is the basic actionscript code to get the first two images to appear:
    btn1.addEventListener(MouseEvent.CLICK, ldr1)
    function ldr1(e:Event){
        ldr.source = "Images01.jpg";
    btn2.addEventListener(MouseEvent.CLICK,ldr2)
    function ldr2(e:Event){
        ldr.source = "Images02.jpg";
    When I test the movie I get this error :
    Error #2044: Unhandled ioError:. text=Error #2035: URL Not Found.
    I have the flash file and the swf file saved in the same folder as the images (as the video instructs) but it seems Flash cannot read or find my external hard drive. I also remade the file and resaved everything on my computers main hard drive and it still cannot find my folder.
    Please help. I know this is probably an easy issue but again, I'm new and any help would be great.
    Thanks,
    Mike

    I'm not familiar with the way you're loading images (what class is "ldr" an instance of?), but the error is straightforward. You somehow misspelled the image name (caps, maybe in the extension?) or you're referring to a folder that doesn't contain that image.
    I usually debug these kind of errors with Tamper Data, an addon for Firefox. Run it, then run your sfw (in a browser) and see what the location is of the called images. That should give you an idea on what's going wrong.
    Oh and btw, e is not an Event but a MouseEvent. Though I don't think that produced the error in this case.

  • Safari Error #2044: Unhandled IOErrorEvent.........

    WHen I open up Safari and go to ebay (mostly) I get this error message. Sometimes it will list like 5 different ones. But they all start with Error #2044.....
    And then freezes and safari crashes. I restart safari and everything is fine.
    Does anyone know what is causing this? I'm on safari 3.2.1.

    This is what the last one said.
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

  • Anyone else seen this while loading a plugin: "Error #2044: Unhandled IOErrorEvent:"

    Hello All,
    I'm curious if anyone else has seen this error while loading an OSMF plugin dynamically:
    "Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type."
    You will only see this with the debug version of the Flash Player. The plugin loads fine, but the RTE appears. I've submitted a bug for this (http://bugs.adobe.com/jira/browse/FM-1104) but apparently no one at Adobe can reproduce it while everyone on our team can easily reproduce it at will. Some use Windows, some use Macs.
    I've written a very simple player and a very simple plugin, you can simply refresh your browser to try to reproduce the error. You won't see anything on the page, just hit refresh a few times until you see it. You'll need the debug version of the Flash Player to see the RTE. One guy on our team (uses Windows) claims he sees it after he clears his browser cache. I can make it happen on Safari for Mac by simply hitting Cmd-R a few times.
    http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    I also see this on cnn.com. I've attached a screen shot.
    Go to cnn.com and watch any video. I get the RTE every time on the first try. We are seeing this repeatedly on OSMF built players that load OSMF plugins dynamically.
    Reply if you see the error. This will greatly help in determining that I've not completely lost my mind
    In the mean time, I'll be working locally on a work around and hopefully submit that to the OSMF trunk.
    Thanks,
    - charles

    Hi Charles,
    Re:  CNN.com > Yes I am seeing the error (with each video twice in fact, 1st on start of preroll, 2nd on start of main video)
    Re:  http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    This link is not loading.
    Both cases using both:
    Windows XP > IE 6.0.2900 > Flash Player 10,1,85,3 installed
    Windows XP > Firefox 2.0.0.18 > Flash Player 10,1,85,3 installed
    hth,
    g

  • After publishing an adobe captivate 8 file that has a video I got this message when the video slide starts, I'd appreciate if you have any useful suggestions.   Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=

    After publishing an adobe captivate 8 file that has a video I got this message when the video slide starts. I'm using Adobe media encoder and it outputs the file as f4v formate and when inserted into the adobe captivate 8 project, I found that I'm still getting the same error message after publishing the project. I'd appreciate if you have any useful suggestions.
    Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: file://C:\Users\User\AppData\Local\Temp\Rar$DIa0.291\haloSkin1_as3_progressive.swf"]
    Thanks in advance
    Warm Reagrds

    After publishing an adobe captivate 8 file that has a video I got this message when the video slide starts. I'm using Adobe media encoder and it outputs the file as f4v formate and when inserted into the adobe captivate 8 project, I found that I'm still getting the same error message after publishing the project. I'd appreciate if you have any useful suggestions.
    Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: file://C:\Users\User\AppData\Local\Temp\Rar$DIa0.291\haloSkin1_as3_progressive.swf"]
    Thanks in advance
    Warm Reagrds

  • Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion

    I keep on getting this error while connecting to amfphp. Any idea what might be the problem?
    Code:
    private function init(e:Event = null):void
                responder = new Responder(onResult, onFault);
                connection = new NetConnection;
                connection.connect(gateway);
                sendData_btn.addEventListener(MouseEvent.CLICK, getData);
            private function getData(event:MouseEvent):void
                connection.call("UserVO.getUserData", responder);
            private function onResult(result:Object):void
                trace("Result");
            private function onFault(fault:Object):void
                trace("Fault");

    I am testing the HelloWorld AMFPHP example from AMFPHP's website. There's a strange problem though. If i run the application from within the Flash IDE, I get this error:
    Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
    at Main()
    But if I publish the application and run it in browser, it runs fine. What might be the problem?

  • Error #2044: Unhandled StatusEvent:. level=error, code=

    Hi all,
         I am using LocalConnection method to communicate between SWFs. But sometime flash player throws this error "Error #2044: Unhandled StatusEvent:. level=error, code=".
    I put the code in try-catch block. I have added listeners for (STATUS, ASYNC_ERROR, SECURITY_ERROR). But still i am getting the above error. This is not happen always.
    Any ideas?

    it always happens in Mac OS - firefox browser.

  • Error #2044 Unhandled IO ErrorEvent

    Hello. I have am getting the error:
    Error #2044: Unhandled IOErorEvent:. textError #2035: URL Not Found.
    option images/1a.jpg
    I can't for the life of me figure out why I am getting this error because in the same programming I have the same picture loaded in a different place and it comes up fine. And I don't know what it means by "option".
    Here is the code the error is comming from:
    rawImage = xd.subject[subNum].imgURL;
    imageHolder = new MovieClip;
    imageLoader = new Loader;
    imageLoader.load(new URLRequest(rawImage));
    imageHolder.addChild(imageLoader);
    imageHolder.x = 128;
    imageHolder.y = 165;
    addChild(imageHolder);
    As I said earlier, I have the same picture loading later in the programming. But I am loading it differently because in this case it loads when a button is clicked. In the code I typed above I was using it to load the picture withough any button click.
    I am using XML for all of the pictures.
    Do you see something wrong? Or do you have any ideas on what I could check to further investigate the situation?
    Thanks for any help you have to offer!

    Tks.
    This is what it says in the output panel:
    <imgURL>images/1a.jpg</imgURL>
    <imgURL>images/1b.jpg</imgURL>
    <imgURL>images/1c.jpg</imgURL>
    <imgURL>images/1d.jpg</imgURL>
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035L URL Not Found.
    I have no other traces going at this time.
    So it seems that maybe my problem is that I have all images 1a, 1b, 1c, 1d under the same parent (or however it is called) in the xml. So under the code for rawImage how do I refer to just the first child of the "subject" in the xml?

  • Need help with Error #2044: Unhandled securityError:.

    Hi,
    I am developing an AIR+AJAX app and I am using sockets to connect to the ftp server and just checking whether the app is able to connect to the ftp server successfully, check the user name and password and return with a message.
    It connects and displays the following error after 15 seconds or so:
    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: app:/index.html cannot load data from www.mydomain.in:21.
    at flash.html::HTMLLoader/nativeOnMouseUp()
    at flash.html::HTMLLoader/invokeMouseUpImpl()
    at flash.html::HTMLLoader/onLeftMouseUp()
    How can I take care of this? The app needs to connect to the ftp server often. This error is shown when I am in preview mode.
    This is absolutely essential for me to take care of this because the app will check any number of domains and connect using sockets. Is there anyway to suppress these errors. I have heard of air.Security but how exactly should I use in this regard.
    Please help.
    Gaurav

    Hi Gaurav,
    I'm not sure exactly what kind of documentation you are looking for.
    The live docs language reference pages have sections for Events and Error for each API. You can see there what events or errors a class or any given function may dispatch, and treat them accordingly.
    (http://help.adobe.com/en_US/AS3LCR/Flash_10.0/index.html)
    Here is a resource on error events for ActionScript:
    http://livedocs.adobe.com/flex/3/html/help.html?content=11_Handling_errors_10.html
    I don't know if you're aware of this, but even if an AS3 API does not have an alias in AIRAliases, it can still be accessed via the runtime property:
    runtime.<package-name>.<class/function> (ex. runtime.flash.events.ErrorEvent)
    You might want to also have a look at this book:
    http://onair.adobe.com/files/AIRforJSDevPocketGuide.pdf
    See the Troubleshooting AIR Applications section (and the "Missing event listeners for error events" subsection)
    Regarding the file upload.
    I think the FileStream is the API you are looking for.
    The live docs for FileStream should have pretty good examples on reading from a file. I think the 'readBytes' function is the one you should be looking at.
    The above book contains a File API section - you can look at "Asynchronously Read Text from a File" for a streamlined file reading process.
    You will probably want to read binary files, but the process is similar. Subsitute the 'readMultiByte' function, which returns a string, with the 'readBytes' function, which reads binary data into a ByteArray.
    You will then write the data read into the byte array to the socket.
    Also, there is a sample on Adobe Labs called KeePIPE, demonstrating the use of new networking APIs in AIR 2. It might be too complicated, and not map exactly to what you're looking for, but you can have a look at:
    js/SendChannel.js : App.SendChannel.prototype.sendFile function.
    Source Code: http://download.macromedia.com/pub/labs/air/2/b2/samples/keepipe.zip
    Samples Page: http://labs.wip3.adobe.com/technologies/air2/samples/
    Hope this helps.
    Horia

  • Unhandled AsyncErrorEvent:. text=Error #2095:

    Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback onBWDone. error=ReferenceError: Error #1069: Property onBWDone not found on flash.net.NetConnection and there is no default value.

    on flashmedia servers a bandwidth (bw) check is done so you can stream appropriate streams to your users.
    to remedy, add an onBWDone() method to your client class:
    yournetconnection.client=this;
    function onBWDone(){

  • Error #2044: Unhandled skinError:. - works on some computers though?

    I'm getting this error when I preview my flash file online:  Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed.
    The issue is, i tested it on my computer with IE8 and firefox and I get this error.  When I test on another users computer with IE8, they do not get an error?
    Why would only my computer throw and adobe flash player error?
    Once I hit continue, the flash file plays fine, but I would like to get rid of the error....

    the computer that doesn't show the error does not have a debug version of the flash player installed?
    to remedy the problem, upload the skin.swf to your server.

  • AIR3.5 for iOS & f4v & iPad, Error #2044: Unhandled NetStatusEvent

    Hello,
    Now, I have to try to play the video on iPad2.
    The video file is f4v.
    But this error occurs
    Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound
    This is my environment
    Flash CS6
    AIR3.5
    iPad2 iOS6
    Use StageVideo
    RenderMode - Direct
    I was able to play flv and mp4 with the same code.
    Only when using the f4v, that error occurs.
    My question is
    Can I play f4v on AIr for iOS ?
    Where is documentation for it?

    thanks random.
    I tryed to change extension. so I was able to play.
    but...
    I had to embed the video cuepoint. the event does not occur at the cue point.
    can't use cuepoint ?

  • URL not found error while loading photo on Linux

    Hi,
    I have a AIR 2.0 appliaction which works perfectly well on Windows but while I run it on Linux Loader object can't load any photo. I tried many path variations but I always get Error #2035: URL Not Found.
    Here's how I load a photo (with hard coded URL)
    _imageLoader.load(new URLRequest("/home/piotr/105755/damage_photos/17.jpg"));
    I'm sure that "/home/piotr/105755/damage_photos/" path is correct. I pasted it to files explorer address text input and expected directory was opend. I'm also sure that 17.jpg file exists in that directory.
    When I trace IOError message it says: Error #2035: URL Not Found. URL: app:/home/piotr/105755/damage_photos/17.jpg
    My questions are:
    What "app:" does in my URL... can it cause the problem? If yes, how can I get rid of it?
    Is there anything specific about UNIX systems and Loader that should I know about?
    How can I load file from hard drive other way than by Loader object?
    I use AIR 2.0 SKD, Flex 4.5 SKD and Ubuntu 10.04. Could anyone help me, please?

    Hi,
    Just a test, can you try to do this:
    var f:File = new File(File.userDirectory.nativePath+File.separator+"105755"+File.separator+"damage_photos" +File.separator+"17.jpg");
    _imageLoader.load(new URLRequest(f.url));

  • IN FB Mafia Wars getting this message Unexpected Error has occurred. Requested URL not found: 400 What do I do?

    These errors only appear on my laptops. Running FBMW Add Ons with grease money on 1 laptop , and the other laptop does not have these installed. The problem started 3 days ago.
    From Firefox Error Console:
    Warning: Error in parsing value for 'background-image'. Declaration dropped.
    Source File: https://support.mozilla.com/en-US/questions/new?product=beta&category=b2&search=IN+FB+Mafia+Wars+getting+this+message+++Unexpected+Error+has+occurred.+++Requested+URL+not+found%3A++400+++What+do+I+do%3F&showform=1
    Line: 0
    These types of errors appear whenever I try doing any new actions in Mafia Wars.

    Hello everyone with AVG, I have the simple solution. 1) Open your AVG Antivirus File 2) Under Tools, Open Advance Settings 3) On the left side, Click on LinkScanner 4) On the Box on the right-hand side... Unclick "ENABLE SURF-SHIELD" Click OK on the bottom of the page. PROBLEM FIXED

  • Mafia wars facebook error - an unexpected error has occurred. Requested url not found : 400 Can you help?

    error message pops up - with every move of the game -
    VERY annoying.
    an unexpected error has occurred. Requested url not found : 400
    i have cleared the cache - i have disabled AVG - suggestions i found on web, other ideas?

    Hello everyone with AVG, I have the simple solution. 1) Open your AVG Antivirus File 2) Under Tools, Open Advance Settings 3) On the left side, Click on LinkScanner 4) On the Box on the right-hand side... Unclick "ENABLE SURF-SHIELD" Click OK on the bottom of the page. PROBLEM FIXED

Maybe you are looking for