# MX Photo Gallery

**URL:** <https://forum.kirupa.com/t/mx-photo-gallery/7796>\
**Category:** flash\
**Created:** [November 7, 2002, 9:56pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796 "2002-11-07T21:56:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![rageuser](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@rageuser](https://forum.kirupa.com/u/rageuser)\
**Post date:** [November 7, 2002, 9:56pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/1 "2002-11-07T21:56:52Z")

</div>

I’m having a problem with the photo gallery, being the beginner that I am. I want to load the photo gallery externally because I don’t want the main preloader to load all the pictures that I have. Instead I’ve created a seperate swf file and loaded it in succesfully with its own preloader. The problem is that the arrows I have in the external swf don’t show and the key arrows do not change the photos. Anybody 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 8, 2002, 5:37am UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/2 "2002-11-08T05:37:34Z")

</div>

Well, the code already load dynamically the images, so I don’t really understand what you are trying to achieve 😕

pom 🙂

---

<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 8, 2002, 5:44am UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/3 "2002-11-08T05:44:59Z")

</div>

Download the source file the tutorial provides and try comparing everything.

---

<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 25, 2002, 8:54pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/4 "2002-11-25T20:54:22Z")

</div>

Hi. Great site and lovely piece of code. I’d really like to use it, but I’m having some trouble getting certain jpgs to load. I have a bunch of about 20 pictures in the array and only about 5 of them will load, no matter what I do. I’ve tried renaming and moving them about in the array but the same pictures don’t load, every time. Even when I change pixel and resolution size. Please excuse me if this is a stupid question but is there a certain type of jpg that won’t load or any other reason for this? I’d be grateful for any help. 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 25, 2002, 11:18pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/5 "2002-11-25T23:18:10Z")

</div>

.JPG images saved in a progressive format will not load into Flash.

---

<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 26, 2002, 6:17pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/6 "2002-11-26T18:17:56Z")

</div>

That’s it! Phew. Thanks lostinbeta, you saved me a lot of wasted time. Love your site btw, it’s fab. Keep it up.

Sarah 🙂

---

<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 26, 2002, 6:19pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/7 "2002-11-26T18:19:38Z")

</div>

No problem 🙂

Thanks for the compliment on my site :)!

Hmm, tim, tom, and sarah… I don’t know which to call you…LOL 🙂

I am glad you could fix your 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:** [December 1, 2002, 11:35pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/8 "2002-12-01T23:35:14Z")

</div>

I had a problem also!  
(posted in the wrong forum at first! sorry) 😏

But I am just a beginner also, and I have around 10 images.  
And the problem is that I do everything the tutorial says, I even downloaded those examples, but I don’t know whats wrong with my version?

1. The photos don’t show up? I have no idea why not, I changed it, so that it goes to the proper directory and all, and I edited the extensions, so its like myway.jpg …instead of Image0.jpg … But I do not understand why they don’t come up

2. Also, there is one photo, out of the 10 that do come up, but it is right at the bottom of the screen? Not in the middle where I placed the box …I even changed the photo’s size and made it smaller, but nothing seems to work …

Any advice? :cowboy:

---

<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:** [December 4, 2002, 9:14am UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/9 "2002-12-04T09:14:51Z")

</div>

I am new to flash, and I have a bunch of questions.

But this is the photo gallery thread so here it goes:

Y doesn’t mine work? At all?

lol

The flash movie i made is 850X800  
The rectangle for the pictures is 450X338 (size of my photos)

I used the code (edited the dir, and filenames), and when i test it, I don’t even see the rectangle I drew to hold the photos? (or the photos)

My files names are windows xp batch rename s(ie, jw (1).jpg, jw (2).jpg…) does the space in the filename mess it up?

I don’t know. I dl’d the source and everything looks the same.  
It’s also, 4 am…hmmmm. Thanks for the help, o yea and this site is awesome :cool:

(o yea, sorry for the huge post ☹ )

---

<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:** [December 4, 2002, 4:38pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/10 "2002-12-04T16:38:02Z")

</div>

It could be the space and the () in the file name that is messing it up.

Or if you .jpg images are saved in a progressive format, they will not load into flash.

---

<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:** [December 5, 2002, 7:57pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/11 "2002-12-05T19:57:57Z")

</div>

Ok.

I got the pictures to show up. And it scrolls through them fine in the .swf.  
(I think they were progressive)

But the pictures don’t show up in the rect movie clip i made. They show up down and to the right of it?

And i have no idea why…

Also, the scrolling with arrow keys doesn’t seem to work in the html file that flash generates.

Thanks for all your help, and this site is very cool.

---

<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:** [December 6, 2002, 2:12am UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/12 "2002-12-06T02:12:20Z")

</div>

This is a common misconception in the tutorial. You should use an empty move clip because the clip you are loading attaches its upper left corner to the registration point of the clip it is loading into.

So you can just use an empty movie clip and drag it to a position where the upper left corner of your images will be. Then on a new layer (or the same) you can draw your rectangle.

---

<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:** [December 8, 2002, 5:29pm UTC](https://forum.kirupa.com/t/mx-photo-gallery/7796/13 "2002-12-08T17:29:57Z")

</div>

hi, i love the photo gallery, but is there any code that will allow me to have thumbnails in the gallery so users can click on an enlarged image???

Thanks in advance

Jabba
