• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Properties

Properties

Property Syntax and Description Example(s)
_alpha
instancename._alpha
instancename._alpha = value;

Sets or gets the alpha transparency (0 is fully transparent, 100 fully opaque).
seaShell._alpha = 50; Sets the alpha property of the movie clip called seaShell to 50%.
_droptarget draggableInstance._droptarget Returns absolute path (in slash syntax notation) of the movie-clip instance on which the draggableInstanceName was dropped tackClip._droptarget
_framesloaded instancename._framesloaded Checks the number of frames that have been loaded in the instance. Used to monitor the download of your movie.
if (_framesloaded >= _totalframes) {
  _level0.gotoAndPlay(1);
}

_height
instancename._height
instancename._height = value;

Sets or retrieves the height of the space occupied by the movie clip.
onClipEvent(mouseDown) {
  _height = 200;
  _width = 300;
}

_level _levelN; A reference to the root movie Timeline of levelN. N is an integer specifying depth level (default 0). You must load movies, using the loadMovie action, before targeting them by using the _level property. _level4.gotoAndStop(5);
_name
instancename._name;
instancename._name = value;

Specifies the movie-clip instance name.
sound.attachSound(this._name);
_root
_root;
_root.movieClip;
_root.action;

Specifies or returns a reference to the root movie's timeline. Specifying _root is the same as using the slash notation (/).
_root.tackBox;
_root.shark1.gotoAndStop(4);

_rotation
instancename._rotation
instancename._rotation = value;

Sets or retrieves the rotation of the movie clip, in degrees.
x = shark1._rotation;
shark2._rotation = 30;

_totalframes instancename._totalframes Determines the total frames contained in the movie clip specified in the instancename.
if (_framesloaded >= _totalframes) {
  _level0.gotoAndPlay(1);
}

_visible
instanceName._visible
instanceName._visible = Boolean

Determines whether the movie specified by the instanceName argument is visible. Boolean; enter a true or false value.
tackTip._visible = false
_width
instancename._width
instancename._width= value;

Sets or retrieves the width of the space occupied by the movie clip.
onClipEvent(mouseDown) {
  _height = 200;
  _width = 300;
}

_x
instanceName._x
instanceName._x = integer

Sets or retrieves the X coordinate relative to the parent timeline.
tackClip._x;
P1._x = Math.random;

_xmouse instancename._xmouse Returns the X coordinate of the mouse position. x =_xmouse;
_y
instanceName._y
instanceName._y = integer

Sets or retrieves the Y coordinate relative to the parent timeline.
tackClip._y
P1._y = Math.random;

_ymouse instancename._xmouse Returns the Y coordinate of the mouse position. y =_ymouse;
scroll variablename.scroll = value; Used for creating scrolling text boxes. Set value to the topmost visible line in the text box. Default value is 1. This value is updated as the user scrolls up and down in the text box. text.scroll = 1;



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint