Skip to main content
Participant
May 4, 2009
Question

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

  • May 4, 2009
  • 1 reply
  • 2238 views

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

    This topic has been closed for replies.

    1 reply

    Participant
    May 4, 2009

    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.

    Participant
    May 4, 2009

    Thanks! I resolved the problem. It was an actions script error ( I was naming the images folder improperly, it was "Images01.jpg" when it should have been "Images/01.jpg"

    Thanks again for your help.

    M