Create Tween with Actionscript 3.0

Ok, I just explained about this tutorial.
  1. On frame 1, press F9 to open Action-Frame.
  2. And typing following script :

 - coordinate x

    import fl.transitions.Tween;
    import fl.transitions.easing.*;

    var myTween:Tween = new Tween(mc_box,”x”,Strong.easeOut,-300,250,1,true);

      3. Running program.


- coordinate y

     var myTween:Tween = new Tween(mc_box,”y”,Strong.easeOut,-300,250,1,true);

And create "Alpha".

     var myTween:Tween = new Tween(mc_box,”alpha”,Strong.easeOut,0,10,1,true);

~ good luck
    

0 komentar:

Posting Komentar

Free Flash TemplatesRiad In FezFree joomla templatesAgence Web MarocMusic Videos OnlineFree Website templateswww.seodesign.usFree Wordpress Themeswww.freethemes4all.comFree Blog TemplatesLast NewsFree CMS TemplatesFree CSS TemplatesSoccer Videos OnlineFree Wordpress ThemesFree CSS Templates Dreamweaver