Skip to main content
Participant
March 16, 2007
Question

Scaling MovieClip

  • March 16, 2007
  • 1 reply
  • 168 views
Hi,
I'm working on a small project. I have a movieclip of a rectangle, 200x100. It's 50pixels from the top and right edge. Then I want the square to expand to all the edges. Now I've told the square to scale to 1500 so it fills the whole artboard and then some, however I want it to fill the board exactly, in all directions so that I can use the ease out effect. How can I do this when the square isn't centred on the board?

Elisabeth
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 16, 2007
you always do it by scaling and moving your square. the coding to do that depends upon the location of your square's registration point.

experiment a little to see the effect of scaling when your square's registration point is in various locations.