Hi, im creating a gallery that can scale the image in order to zoom in. the thing is that i want to know how can i scale it from different direction.
i want to be able to scale it from the all directions according to position. in different words, resetting the pivot point of the object so it will scale
from the opposite side.
is that possible ?
resetting an object pivot point using...Yes there's many ways to do this. You can redraw the content to get a different registration, you can move the content, you can add your object to another Sprite/MovieClip and move it to get another registration, you can also use the MatrixTransformer class and also some custom class give you also some easy solution like this one for example: http://blog.greensock.com/transformmanageras3/
resetting an object pivot point using...Thanks,
I managed to create a custom class the takes and object and scale it from the desirable side simply by moving the object around
while scaling. the solution was so simple yet took me a whole day to figure it out.
No comments:
Post a Comment