Flash Getting and setting properties

[hintpopup]http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html[/hintpopup]TGetProperty , TSetProperty로 플래시 제어시 참고

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 ÷ ÷

[샘플]
<script type=”text/javascript”>
<!–
    function HidePen()
    {
        var VISIBILITY = 7;
        var movie = documnet.getElementByid(“movie”);

        try
        {
            movie.TSetProperty(“/MovieClip”, VISIBILITY , 0);
        }
        catch(e)
        {
            alert(e);
        }
    }
//–>
</script>


<OBJECT id=”movie” ….></OBJECT>

참조: http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_04.html#69558