# Loadmovie prob

**URL:** <https://forum.kirupa.com/t/loadmovie-prob/16300>\
**Category:** Uncategorized\
**Created:** [March 23, 2003, 11:35am UTC](https://forum.kirupa.com/t/loadmovie-prob/16300 "2003-03-23T11:35:58Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ping](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@ping](https://forum.kirupa.com/u/ping)\
**Post date:** [March 23, 2003, 11:35am UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/1 "2003-03-23T11:35:58Z")

</div>

help.

command return in flashmx will load image okay.

but preview in browser will not load image.

any idea why?

here’s my code.

icon2.onRelease = function() {

```
imageHolder.loadMovie("2_dbaFrontHR.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:** [March 23, 2003, 11:41am UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/2 "2003-03-23T11:41:54Z")

</div>

Howdy and Welcome…

Is your 2\_dbaFrontHR.jpg file compressed as progressive JPEG file??? Flash can only load baseline JPEG 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:** [March 23, 2003, 11:53am UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/3 "2003-03-23T11:53:58Z")

</div>

it is non progressive.

it interesting that test movie in flash will read the image, but it won’t read in any preview in any browsers.

---

<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:** [March 23, 2003, 11:56am UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/4 "2003-03-23T11:56:33Z")

</div>

In other words, you are able to see the JPEG file loaded within the Flash, but if you load your HTML file that embeds Flash movie file, you don’t see the JPEG files??? Maybe it is the path where the JPEG file is located??? Is your JPEG file located in the same directory as your Flash file??? But then, this doesn’t make much sense either since you see the JPEG files within the Flash authoring environment… Hm… ☹

---

<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:** [March 23, 2003, 12:09pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/5 "2003-03-23T12:09:43Z")

</div>

the swf file when loaded into flash 6 player will read.

the html file when loaded into netscape and explorer will not read. all files are in the same directory.

this is odd.

---

<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:** [March 23, 2003, 12:21pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/6 "2003-03-23T12:21:08Z")

</div>

What about the Flash plugin for the browser??? What is the version of it???

---

<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:** [March 23, 2003, 12:25pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/7 "2003-03-23T12:25:13Z")

</div>

try

imageHolder.loadMovie("/2\_dbaFrontHR.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:** [March 23, 2003, 12:25pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/8 "2003-03-23T12:25:43Z")

</div>

i found the problem,

Error opening URL “file:///G4%5Fcheetah/apps/Macromedia/Macromedia%20Flash%20MX/7\_metproHi.jpg”

why is it looking into my macromedia application directory for the jpg 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:** [March 23, 2003, 12:28pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/9 "2003-03-23T12:28:49Z")

</div>

Hm… That is not even the same file either…

---

<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:** [March 23, 2003, 12:33pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/10 "2003-03-23T12:33:32Z")

</div>

Because that must be the folder the .fla is in. If you ctrl+enter in flash it will put a copy into the same folder as the .fla and play from there…

Put the pic in there and try it… (with the /)

:: Daveman

---

<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:** [March 23, 2003, 12:41pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/11 "2003-03-23T12:41:13Z")

</div>

7\_metproHi.jpg is one of the 9 jpgs. they all have the same problem. using flash6.

“/filename.jpg” did not work.

it is defaulting to flash directory. can i change the default to somewhere else?

---

<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:** [March 23, 2003, 12:46pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/12 "2003-03-23T12:46:18Z")

</div>

Flash directory being the directory where you have installed Flash MX???

Where are your Flash movie file and image files located at???

---

<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:** [March 23, 2003, 12:50pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/13 "2003-03-23T12:50:04Z")

</div>

Don’t know…

It’s always defaulted to the directory where the .fla is for me. You probably already have, but i would save it again in the same direcory as the pics, close it completly and try it again…See if it still does it… Other than that :q: :q: :q: :q: Anyone else?

:: Daveman

---

<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:** [March 23, 2003, 12:55pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/14 "2003-03-23T12:55:36Z")

</div>

flash mx was installed in “apps”

fla is in a different “directory”

i need to step back and troubleshoot from scratch. i will have to do a binary search for this problem.

thanks you all. at this point, i have exhausted you guys, i prefer to discuss a little more complicated problem with you next time. you all have been very helpful.

---

<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:** [March 23, 2003, 1:07pm UTC](https://forum.kirupa.com/t/loadmovie-prob/16300/15 "2003-03-23T13:07:35Z")

</div>

Yes… If you really can’t troubleshoot it, please provide the files so that people can take a look at it… Also, if you find the problem, let us know what that is… 😉
