# Please help… Having a bad day

**URL:** <https://forum.kirupa.com/t/please-help-having-a-bad-day/14970>\
**Category:** Uncategorized\
**Created:** [March 4, 2003, 10:30pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970 "2003-03-04T22:30:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kel\_420](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@Kel\_420](https://forum.kirupa.com/u/Kel_420)\
**Post date:** [March 4, 2003, 10:30pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/1 "2003-03-04T22:30:35Z")

</div>

Ok So I’m using this code to load my images

```php
on (release) {
	_root.createEmptyMovieClip("container", 1);
	container.loadMovie("PP999.jpg");
	container._x = 144;
	container._y = 200;
}

```

I have each movie that contains this code in the same root as the images but they wont load this time around. I have done other gallery sections in the same way for this company and they work fine. The only difference with this one is they wanted the new folder structure implemented but I did a test and it loads the other images.

I remember hearing something about only certain types of jpg images can be called using Flash in this way, and although these images are .jpg’s you still need to doctor them in some way??

Sadly I can’t post the link coz of the nature of the images.

On top of all this I’m feeling as sick as a pig and nothing is going according to plan [Oh woe is me].

Any help would be greatly appreciated b4 I go stark raving mad

---

<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 4, 2003, 10:34pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/2 "2003-03-04T22:34:40Z")

</div>

to check and see if it the progressive JPG problem, simply change the path to a jpg you know works…

If it works, then it is a path problem… if it doesn’t, chances are its a progressive jpeg. re-optimize and see if that fixes the problem…

hope this helps,

Rev ![](http://www.aulman.com/rev.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:** [March 4, 2003, 10:39pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/3 "2003-03-04T22:39:08Z")

</div>

Yeah I dropped another image in and all that and it worked fine.  
So what’s the progressive jpg thing then?

[Sorry if this is a stupid question but I’m burning right 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:** [March 4, 2003, 10:40pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/4 "2003-03-04T22:40:26Z")

</div>

what prog do you use to optimize your images for the web?

Rev ![](http://www.aulman.com/rev.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:** [March 4, 2003, 10:41pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/5 "2003-03-04T22:41:01Z")

</div>

PShop

---

<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 4, 2003, 10:44pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/6 "2003-03-04T22:44:23Z")

</div>

I was afraid of that. I never use PS, unless I have to…

When you save to web, there should be a checkbox somewhere that says “progressive jpeg” . make sure that is not checked. or hit F1 and check there. then save again. I think that will do it…

Sorry, I use Fireworks…

eilsoe would know, or lost (I think he’s offline right now), maybe sen…

Rev ![](http://www.aulman.com/rev.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:** [March 4, 2003, 10:47pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/7 "2003-03-04T22:47:06Z")

</div>

Thanx man I’ll give it a go.

Are you the Rev that I see at 12 stone?

---

<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 4, 2003, 10:48pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/8 "2003-03-04T22:48:31Z")

</div>

I don’t think so…

I don’t know what 12 stone is…

Rev ![](http://www.aulman.com/rev.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:** [March 4, 2003, 10:57pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/9 "2003-03-04T22:57:37Z")

</div>

Kel, try using this script:

```php
on (release) {
    _root.createEmptyMovieClip("container", 1);
    _root.container.loadMovie("PP999.jpg");
    _root.container._x = 144;
    _root.container._y = 200;
}

```

Basically added \_root to the other lines as well, hopefully that’s the problem. =)

---

<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 4, 2003, 10:58pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/10 "2003-03-04T22:58:43Z")

</div>

I’ll give it a go 🙂

Thanx for that

---

<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 4, 2003, 11:03pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/11 "2003-03-04T23:03:32Z")

</div>

Hey EG:

If he dropped another jpeg in and it worked, then wouldn’t that make it a progressive jpeg problem?

I’m just curious as I have not had to deal with this much (Generator is so much more robust, png to gif)…

and Happy B’day again…

:elderly:

Rev ![](http://www.aulman.com/rev.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:** [March 4, 2003, 11:04pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/12 "2003-03-04T23:04:35Z")

</div>

Using photoshop 7 after you choose JPG and click save a box will pop up with options on quality and format options. Under format options there are 3 choices:

Baseline “Standard”  
Baseline Optimized  
Progressive

selecting either one of the first 2 should work, selecting progressive will make it so flash can’t import your 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 4, 2003, 11:08pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/13 "2003-03-04T23:08:43Z")

</div>

HB from me too. 😃

Sorry to say it didn’t work ☹

I have also fireworks 3 and ACDSee on this PC if someone can help with the progressive thing

---

<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 4, 2003, 11:10pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/14 "2003-03-04T23:10:02Z")

</div>

> \*Originally posted by Sorcerer \*  
> \*\*Using photoshop 7 after you choose JPG and click save a box will pop up with options on quality and format options. Under format options there are 3 choices:

Baseline “Standard”  
Baseline Optimized  
Progressive

selecting either one of the first 2 should work, selecting progressive will make it so flash can’t import your jpg. \*\*

It was set to the first one so I changed it to the second and still nothing

---

<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 4, 2003, 11:10pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/15 "2003-03-04T23:10:09Z")

</div>

> \*Originally posted by reverendflash \*  
> \*\*Hey EG:

If he dropped another jpeg in and it worked, then wouldn’t that make it a progressive jpeg problem?

I’m just curious as I have not had to deal with this much (Generator is so much more robust, png to gif)…

and Happy B’day again…

:elderly:

Rev \*\*

Oh I only looked at his first post and noticed there wasn’t any \_root added to the other line of the script so I thought that could be the problem, but since you mention the fact that it worked with another image then yes, it could be the progressive problem. Re-saving it while the progessive box is unchecked would solve it then, you’re right Rev. =)

---

<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 4, 2003, 11:15pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/16 "2003-03-04T23:15:41Z")

</div>

> \*Originally posted by electrongeek \*  
> \*\*Oh I only looked at his first post and noticed there wasn’t any \_root added to the other line of the script so I thought that could be the problem, but since you mention the fact that it worked with another image then yes, it could be the progressive problem. Re-saving it while the progessive box is unchecked would solve it then, you’re right Rev. =) \*\*

I have just checked and re-checked.  
When I drop other images in they work fine but not with these new image!!

Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

---

<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 4, 2003, 11:23pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/17 "2003-03-04T23:23:48Z")

</div>

As this doesn’t look like it will be resolved anytime soon, can I use a different extension other than jpg or swf with my existing code??

---

<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 4, 2003, 11:27pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/18 "2003-03-04T23:27:45Z")

</div>

As a last resort, you can put your jpgs in swfs and load swfs instead of jpgs, because that code won’t work with anything else.

And anyway, your code isn’t very clean. You should wait for the picture to be fully loaded before you can move it.

pom :crazy:

---

<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 4, 2003, 11:33pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/19 "2003-03-04T23:33:19Z")

</div>

> \*Originally posted by ilyaslamasse \*  
> \*\*And anyway, your code isn’t very clean. You should wait for the picture to be fully loaded before you can move it.  
> pom :crazy: \*\*

Yeah I don’t really want to use swf’s for this.

Not sure what you mean by moving it? The images don’t move. They are static. To move to the next image you click on the thumbnail. Thanx for the input though.

Can anyone help with the Progressive jpg part of this problem please??

---

<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 4, 2003, 11:34pm UTC](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970/20 "2003-03-04T23:34:54Z")

</div>

Hey Kel, if you don’t have Photoshop then put all your images into zip file and post it here so I can take all your images and resave them in photoshop without progressive checked. Once I’m done then I’ll post it back up here.

[Next page](https://forum.kirupa.com/t/please-help-having-a-bad-day/14970.md?page=2)
