next up previous contents
Next: targetSetProperty Up: Methods Previous: targetStopPlay   Contents


targetGetProperty

Description

For the timeline of the specified target, gets the specified property.


Syntax

FlashPlayer.targetGetProperty(target, property)


Parameters

target
Specifies the target
property
Integer. Specifies the property to get.


Remarks

The property can be one of the following values:
0
X POSITION (_x)
1
Y POSITION (_y)
2
X SCALE
3
Y SCALE
4
CURRENTFRAME
5
TOTALFRAMES
6
ALPHA
7
VISIBILITY
8
WIDTH
9
HEIGHT
10
ROTATION
11
TARGET
12
FRAMESLOADED
13
NAME
14
DROPTARGET
15
URL(_url)


Returns

String


Example

Gets alpha property of level0

FlashPlayer.targetGetProperty("_root", 6);




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.