Quantunet.com

My Account

Joins Us
Flash 8 Actionscript 2.0 Knowledgebase
A Zoom Effect Using The Tween Class  

Download

How to create this zoom effect with the tween class

Actionscript

import mx.transitions.Tween;
import mx.transitions.easing.*;

var xScaleT:Tween = new Tween(my_mc, "_xscale", Strong.easeOut, 0, 100, 6, true);
var yScaleT:Tween = new Tween(my_mc, "_yscale", Strong.easeOut, 0, 100, 6, true);

Note: Press the "refresh" button in the browser to play the animation again.



© 2007 Quantunet LLC All Rights Reserved | Intellectual Property | Terms of Use | Privacy
Home | About Quantunet | FAQ's | Contact Us