# Tutorial gone bad

**URL:** <https://forum.kirupa.com/t/tutorial-gone-bad/8336>\
**Category:** Uncategorized\
**Created:** [November 19, 2002, 12:29am UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336 "2002-11-19T00:29:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![davekunz](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@davekunz](https://forum.kirupa.com/u/davekunz)\
**Post date:** [November 19, 2002, 12:29am UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/1 "2002-11-19T00:29:47Z")

</div>

I got this code from the tutorial section… made sure the jpg wasn’t progressive… but

image03.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“primrosr combo2.jpg”, “container”);  
container.\_x = 150 ;  
container.\_y = 20 ;  
}

i keep getting an error message

“Error opening URL “file:///F|/My%20Documents/kate%20web/primrosr combo2 .jpg””

any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 7:57am UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/2 "2002-11-19T07:57:54Z")

</div>

hmm… maybe try taking the space out of your file name and see if that changes anything all the other spaces in your error are represented by a %20 but the file name isn’t.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 10:31am UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/3 "2002-11-19T10:31:05Z")

</div>

If u tested it with spaces offline, yoy will notice that it would work, but online it would’nt, Try adding an underscore “\_”, and it should work. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 4:51pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/4 "2002-11-19T16:51:03Z")

</div>

changed file name, still getting an error message… actually I tried downloading a couple of files from the tutorial page, and I get a loading error message from all of them. Is it a settings issue …or the way my computer is partitioned?

HELP!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 5:48pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/5 "2002-11-19T17:48:07Z")

</div>

what tutorial is it? i copied the code and loaded a jpg that I gave the same name just fine, the image didn’t resize but i didn’t get an error.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:10pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/6 "2002-11-19T18:10:27Z")

</div>

I tried a bunch of different ones, load\_pic , geturl ect… it’s like flash can’t find the path to the images

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:15pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/7 "2002-11-19T18:15:30Z")

</div>

Hang on a sec, ill make u a zip now!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:21pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/8 "2002-11-19T18:21:05Z")

</div>

Check the attached ZIP.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:37pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/9 "2002-11-19T18:37:15Z")

</div>

Error opening URL “file:///C|/Documents%20and%20Settings/Administrator/Local%20Settings/Temp/Temporary%20Directory%201%20for%20davekunz.zip/test.jpg”

this is the message I got.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:38pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/10 "2002-11-19T18:38:26Z")

</div>

you need to unzip everything to one directory, if your picture isn’t in the same directory with your flash movie then the script will not work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:38pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/11 "2002-11-19T18:38:43Z")

</div>

It worked fine here!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:39pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/12 "2002-11-19T18:39:37Z")

</div>

> \*Originally posted by Sorcerer \*  
> \*\*you need to unzip everything to one directory, if your picture isn’t in the same directory with your flash movie then the script will not work. \*\*

Yes, u should unZip everything in same directory!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 6:48pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/13 "2002-11-19T18:48:15Z")

</div>

sorry, your right I was in a hurry to try it and didn’t unzip it correctly.

IT WORKS …now if I could just figure out why it can’t find my images in the movie I made… they are in the same folder as the movie I created, they are not progressive jpg

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 7:05pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/14 "2002-11-19T19:05:04Z")

</div>

I have exact the same problem and it’s drivin’ me crazy. I you solve the problem please let me know. thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 7:05pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/15 "2002-11-19T19:05:57Z")

</div>

Try dowloading the Zip File!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:00pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/16 "2002-11-19T23:00:59Z")

</div>

ok, so I’m used to working on a Mac, and I’m trying to learn windows XP and flashmx at the same time… I found the “hide extensions for known file types option” and turned it off, at that point I could see that my file name had .jpg.jpg behind it. so the bottom line is that you have to make sure its in the same folder as your movie, AND the file name matches exactly…

sorry I wasted your time everyone!

It works

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:02pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/17 "2002-11-19T23:02:20Z")

</div>

Hmm, that should appear in the output window!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:32pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/18 "2002-11-19T23:32:40Z")

</div>

actually it wouldn’t, it just knows it can’t find that picture name and gives up. As far as flash goes it doesn’t know a picture\_name.jpg.jpg file exists.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:48pm UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/19 "2002-11-19T23:48:28Z")

</div>

LOL, how da hell did’nt i realize that Sorcerer, sorry, was’nt thinking correctly ![](http://www.kirupa.com/forums/smileys_files/bangin.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 20, 2002, 11:08am UTC](https://forum.kirupa.com/t/tutorial-gone-bad/8336/20 "2002-11-20T11:08:33Z")

</div>

Hi h88,

Thanks for the file, it works perfect. When I create a new document with my own files it also works but my original file doesn’t work. It’s part of a big portfolio-site. The buttons that have to be clicked are part of another MC(a slider). Any idea what the problem could be?

[Next page](https://forum.kirupa.com/t/tutorial-gone-bad/8336.md?page=2)
