1. Home
  2. Computing & Technology
  3. Animation

ActionScripting Basics: Using setProperty

By Adrien-Luc Sanders, About.com

5 of 7

The Property dropdown has the following values:

_alpha: Sets the opacity of the target clip, from 0 to 100.
_focusrect: Set to “true”, will display a rectangle as a user keyboard tabs through clickable objects in the movie. Set to “false”, no rectangle will display.
_height: Sets the height of the target movie clip as an integer of pixels in height.
_highquality: Specifies the level of antialiasing, by values 1 or 2.
_name: Specifies the target name.
_quality: Sets the quality of the clip, specified as values “LOW”, “MEDIUM”, “HIGH”, or “BEST”.
_rotation: Sets the degree of rotation of the target clip.
_soundbuftime: Sets the number of seconds before a sound starts to stream.
_visible: Toggles visibility of the target clip with values set to either “true” or “false”.
_width: Sets the width of the target movie clip as an integer of pixels in width.
_x: Sets the x (horizontal) position of the target clip relative to the location (usually the root level of the stage, where the upper left corner is position (0,0) and the value of x-axis movement is set in pixels).
_xscale: Sets the horizontal scale of the target clip as a percent.
_y: Sets the y (vertical) position of the target clip relative to the location.
_yscale: Sets the vertical scale of the target clip as a percent.

I’ve selected _alpha.

Explore Animation
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. ActionScripting Basics: Using setProperty

©2009 About.com, a part of The New York Times Company.

All rights reserved.