How do i force the following class to see the variable angleX to allow it to tween the variable over 2 seconds.
package
{
import flash.display.;
import caurina.transitions.;
import fl.transitions.Tween;
import fl.transitions.easing.*;
public class Main extends MovieClip
{
private var anglePer:Number = 0;
private var dest:Number = 0;
private var angleX:Number = 0;
public function Main()
{
init();
this.angleX =0;
}
public function init():void
{
dest++;
anglePer = 0.6283185307179586;
angleX = destanglePer
Tweener.addTween(this, {angleX:destanglePer, time:0.5});
}
}
}