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.
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.
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.
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.