Skip to main content
Inspiring
April 20, 2009
Question

Repositioning the registration point

  • April 20, 2009
  • 1 reply
  • 587 views

I want to load a series .jpgs into an existing mcs. The mcs are 75 x 75 pix and the .jpgs are 50 x 50 pix. The problem is that I made the mcs with the registration point at the top left corner. This causes the mcs to load in at that point so that the margine between the .jpg and the mc is uneven. How can I change the registration point of each mc so that the CENTER of the .jpg is positioned the CENTER of the mc?

thanks,

chop

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 20, 2009

that doesn't make sense.

if you load into a movieclip, all graphics in that movieclip are replaced by the loaded image.

if you want to make it appear that a loaded image is in a picture frame you would create a frame movieclip and create a child movieclip of that frame that would be the load-target.  you could then center the loaded image (after loading is complete if you don't know the loaded image's size).

Inspiring
April 20, 2009

Yes, you're correct. I had a duplicate set of mcs directly under the "real" mcs. When the real ones were replaced, that left the duplicate set visible so it appeared as if they were the ones with the mcs loaded into them. I should have known. What a dummy!

thanks

kglad
Community Expert
Community Expert
April 20, 2009

you're welcome.