GetProperty

Abstract AS2

@t0 = @pop();
@push(@pop()[@propertyName(@t0)]);

Adobe documentation

ActionGetProperty

ActionGetProperty gets a file property.

FieldTypeComment
ActionGetPropertyACTIONRECORDHEADERActionCode = 0x22

ActionGetProperty does the following:

  1. Pops index off the stack.
  2. Pops target off the stack.
  3. Retrieves the value of the property enumerated as index from the movie clip with target path target and pushes the value to the stack. The following table lists property index values. The _quality, _xmouse and _ymouse properties are available in SWF 5 and later.
PropertyValue
_X0
_Y1
_xscale2
_yscale3
_currentframe4
_totalframes5
_alpha6
_visible7
_width8
_height9
_rotation10
_target11
_framesloaded12
_name13
_droptarget14
_url15
_highquality16
_focusrect17
_soundbuftime18
_quality19
_xmouse20
_ymouse21