Accessibility
 
Home > Products > Flash > Support > Publishing and Exporting
Flash Icon Macromedia Flash Support Center - Publishing and Exporting
Getting and setting properties

The following table shows the properties that browser scripting can access. Properties with a check mark in the Get column can be read by TGetProperty or TGetPropertyAsNumber . Properties with a check mark in the Set column can be modified by TSetProperty . The property number corresponding to each property is passed to TGetProperty , TGetPropertyAsNumber , or TSetProperty to indicate which property is being accessed.

Property Property number Constant Get Set
X POSITION (_x) 0 X_POS ÷ ÷
Y POSITION (_y) 1 Y_POS ÷ ÷
X SCALE 2 X_SCALE ÷ ÷
Y SCALE 3 Y_SCALE ÷ ÷
CURRENTFRAME 4 CURRENT_FRAME ÷  
TOTALFRAMES 5 TOTAL_FRAMES ÷
ALPHA 6 ALPHA ÷ ÷
VISIBILITY 7 VISIBLE ÷ ÷
WIDTH 8 WIDTH ÷  
HEIGHT 9 HEIGHT ÷
ROTATION 10 ROTATE ÷ ÷
TARGET 11 TARGET ÷
FRAMESLOADED 12 FRAMES_LOADED ÷  
NAME 13 NAME ÷ ÷
DROPTARGET 14 DROP_TARGET ÷  
URL(_url) 15 URL ÷  

The following table shows global properties:

Global Property Property number Constant Get Set
HIGHQUALITY 16 HIGH_QUALITY ÷ ÷
FOCUSRECT 17 FOCUS_RECT ÷ ÷
SOUNDBUFTIME 18 SOUND_BUF_TIME ÷ ÷

To Table of Contents Back to Previous document Forward to next document