ciao a tutti.
ho usato un esempio. Il seguente
Create a new document and call it easeTween.fla.
Create a movie clip on the Stage.
Select the movie clip instance and type ball_mc into the Instance Name text box in the Property inspector.
Select Frame 1 of the Timeline and add the following code in the Actions panel:
import mx.transitions.Tween;
import mx.transitions.easing.*;
new Tween(ball_mc, "_x", Elastic.easeOut, Stage.width, 0, 3, true);
This code example uses two import statements. The first statement imports the mx.transitions.Tween class only, and the second import statement uses the wildcard (*) shortcut to import each of the six easing classes by using a single line of code. The second statement imports an entire package of classes.
Ma non succcede nulla.
Dove sbaglio. Mi manca qualcosa sul computer. Sto usando flash cs3 su mac.
Un saluto e grazie

Rispondi quotando