|
||||||
|
||||||
import fl.motion.Animator;
var mySpin_xml:XML = <Motion duration="60" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="12" x="75" y="75" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="myMC">
<dimensions>
<geom:Rectangle left="-43.4" top="-12.95" width="86.8" height="25.9"/>
</dimensions>
<transformationPoint>
<geom:Point x="0.5" y="0.5"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0" rotateDirection="cw" rotateTimes="3">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
<filters>
<filters:BlurFilter blurX="0" blurY="0" quality="1"/>
</filters>
</Keyframe>
<Keyframe index="24" rotateDirection="ccw" rotateTimes="1">
<tweens>
<SimpleEase ease="1"/>
</tweens>
<filters>
<filters:BlurFilter blurX="25" blurY="25" quality="1"/>
</filters>
</Keyframe>
<Keyframe index="49">
<filters>
<filters:BlurFilter blurX="0" blurY="0" quality="1"/>
</filters>
</Keyframe>
<Keyframe index="59"/>
</Motion>;
var mySpin_animator:Animator = new Animator(mySpin_xml, mySpin);
mySpin_animator.play();
Return to the tutorial: Copy Motion as ActionScript 3.0
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
•
No info available on number of visitors to this page
March 07 •
|
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|