Log in

View Full Version : Animating bitmap/matrix scale



punstc
09-05-2008, 02:43 AM
I've been learning bitmapdata and the matrix class in AS3. I'm having trouble finding information on animating the matrix tweening the scale. Maybe I'm looking in the wrong places but I can't find any information. Could anyone give me a quick example this. like when clicked on it scales the image to fit fullscreen or scales it down to a smaller size.

thanks,

Jake

Medyman
09-05-2008, 04:36 PM
http://userflex.wordpress.com/2008/09/04/scaling-bitmap-data/
http://thanksmister.com/?p=75
http://www.flashandmath.com/advanced/cube/index.html
http://www.reflektions.com/miniml/template_permalink.asp?id=346

Reflektions.com search for "matrix" will turn up more.

punstc
09-06-2008, 04:27 AM
Thanks for the links i'll look into them. One more quick question. Can you use the tween class to tween matrix properties?

Medyman
09-06-2008, 07:21 PM
Thanks for the links i'll look into them. One more quick question. Can you use the tween class to tween matrix properties?

You can tween variables that you then set equal to the properties. You can't tween the properties directly, however.