Sunday, October 16, 2011

AS3 - NOTES

Movie Clip Properties:
Actionscript 3.0 Shrtcuts

Size:
.x (in pixels)
.y

Scale:
.scaleX (0 makes it disappear, 1.0 is 100%, 2.5 is 250% of original)
.scaleY

Rotation:
.rotation  (0-360 degrees)
.rotationX (3d rotation)
.rotationY

Alpha (Transparency):
.alpha (0 is disappeared, 1.0 is fully opaque)

Visibility:
.visible = true or false (makes MC appear or disappear)
==========================================
Movie Clip Events:
Actionscript 3.0 Shrtcuts


example_mc.play();
example_mc.stop();
example_mc.gotoAndStop();
example_mc. gotoAndPlay();
example_mc.currentFrame;
==========================================

No comments: