| Flashscript classes (ActionScript 3) | Home | MX | MX 2004 | Flash 8 | Flash 9 |Flash 10 |PHP |Components | Snippets | Contact | |
BackWard |
|
|
| Property | Defined By |
|---|---|
| All inherited properties of the Sprite class. |
| Method | Defined By |
|---|---|
| BackWard(target:MovieClip, frameLabel:String, frameStart:int, duration:int) | BackWard |
| Event | Defined By |
|---|---|
| All inherited events for the Sprite class. |
| Constructor Detail |
|---|
|
BackWard () Constructor
public function BackWard(target:MovieClip, frameLabel:String, frameStart:int, duration:int) |
| Intializes a new BackWard instance with the specified parameters. |
Parameters
|
| Examples |
|---|
Create a new fla file and name it BackWard.fla. Place the fla in the same folder as the biz folder. Add a MovieClip on the stage with several frames and name it
myClip. On the main timeline of the MovieClip add somewhere the name
endframe
as a framename. Then create an Actionscript file, name it Backward.as and place this script.
package
{
import flash.display.Sprite;
import biz.flashscript.tweens.BackWard;
public class Backward extends Sprite
{
public function Backward ():void
{
var bw:BackWard = new BackWard(myClip, "endframe", 1, 100);
}
}
}
|