Photo Gallery Help

I am following the tutorial on the website about the photo gallery.

I have tried to figure out what the problem is, Yes I am very new to AS.

Here is the link to the what I am trying to explain.

I created the rectangle like I was suppose to and converted it to a movie clip. Change the location to my pictures, and this is how it appears when i test the movie.

The top left corner of the images is lined up at the center of the rectangle of which is exactly where I created the rectangle for my movie clip. I placed just a regular rectangle to give me an idea of where the movie clip is SUPPOSE to be.

http://www.dms-la.com/test_flash/test1.html

Anyone have any ideas. This is just straight copying the code from the
tutorial to my test photo gallery.

When you create the rectangle and convert it to a movieclip you have the option of choosing a registration point. (the little boxes). You chose a centered reg point. The images will always their top left corner at the reg point of the clip they are loading into.

To fix this open your align panel. Double click on the movie clip. Select your rectangle by double clicking on it, then in the align panel make sure “to stage” is checked, then align to top and left. When you return to the main stage and select your movieclip you should see the reg point in the upper left corner now.

:hr:

Im not trying to align the rectangle I created to the image,
I am trying to get the picture in the rectangle because that
is the same location that I created the movie clip.

I noticed this initially when I added the buttons following the
tutorial and they dont line up under the images…yet where the
the rectangle is.

read Lunatic’s post again slowly, that’s the issue.

That’s what I’m saying. The pic will load it’s left corner into the movieclip at the reg point of the movieclip. Change the reg point and you’ll see your images load in differently.

:hr:

here is the updated link with buttons, notice the location of the buttons
to the picture. The picture should be located above the buttons…

But following the tutorial, this is what happens.

http://www.dms-la.com/test_flash/test.html

link?

bump!

forgot the link in the post!

i am using flash mx if that makes a difference

ok, ok got it…i guess to much stuff was on the brain yesterday that I must definitely been doing something wrong

what was the problem?

I think I was moving the reg point of the rectangle and not actually the movie clip.