SWF Global Functions used in GFx

Opcode Name SWF Version Deprecated Supported Comment GFx
0x06 gotoAndPlay 2 Yes 0x81 - goto 0x06 - ActionPlay / Sprite Builtins implements 1.0
0x07 gotoAndStop 2 Yes 0x81 - goto 0x07 - ActionStop / Sprite Builtins implements 1.0
0x04 nextFrame 2 Yes 0x04 - ActionNextFrame / Sprite Builtins implements 1.0
nextScene 2 Yes 1.0
on 2 Yes 1.0
play 2 Yes 1.0
0x05 prevFrame 2 Yes 0x05 - ActionPrevFrame / Sprite Builtins implements 1.0
prevScene 2 Yes 1.0
stop 2 Yes 1.0
0x08 toggleHighQuality 2 5 No 0x08 - ActionToggleQuality
loadMovie 3 Yes 1.0.23
loadMovieNum 3 Yes 1.0.23
stopAllSounds 3 No
tellTarget 3 5 Yes 1.0
unloadMovie 3 Yes 1.0.23
unloadMovieNum 3 Yes 1.0.23
call 4 5 Yes 1.0
0x33 chr 4 5 Yes 0x33 - ActionAsciiToChar 1.0
0x4C duplicateMovieClip 4 Yes 0x4C - ActionPushDuplicate 1.0
0x22 getProperty 4 Yes 0x22 - ActionGetProperty 1.0
0x34 getTimer 4 Yes 0x34 - ActionGetTime 1.0
0x83 getURL 4 Yes 0x83 - ActionGetURL 1.0
ifFrameLoaded 4 Yes Always true before progressive loading support in 2.1.50 2.1.50
int 4 Yes 1.0
length 4 Yes 1.0
loadVariables 4 Yes 1.2.36
loadVariablesNum 4 Yes 1.2.36
0x37 mbchr 4 5 Yes 0x37 - ActionMBAsciiToChar 1.0
0x31 mblength 4 5 Yes 0x31 - ActionMBStringLength 1.0
0x36 mbord 4 5 Partial 0x36 - ActionMBCharToAscii; SWF 6+ ok, some issues for SWF 5
0x35 mbsubstring 4 5 Yes 0x35 - ActionMBStringExtract 1.0
Number 4 Yes 1.0.20
0x32 ord 4 5 Yes 0x32 - ActionCharToAscii 1.0
print 4 No
printAsBitmap 4 No
0x30 random 4 5 Yes 0x30 - ActionRandomNumber 1.0
0x25 removeMovieClip 4 Yes 0x25 - ActionRemoveSprite 1.0
0x23 setProperty 4 Yes 0x23 - ActionSetProperty 1.0
startDrag 4 Yes 1.0
stopDrag 4 Yes 1.0
String 4 Yes 1.0
0x15 substring 4 5 Yes 0x15 - ActionStringExtract 1.0
0x26 trace 4 Yes 0x26 - ActionTrace 1.0
0x8E asfunction 5 Yes 0x8E - function2 1.0
Boolean 5 Yes 1.0
escape 5 Yes 1.0.22
eval 5 Yes 1.1.25
getVersion 5 Yes
isFinite 5 Yes 1.1.25
isNaN 5 Yes 1.1.25
Object 5 Yes 1.1.28
onClipEvent 5 Yes 1.0
parseFloat 5 Yes 1.0
parseInt 5 Yes 1.0
printAsBitmapNum 5 No print and PrintJob are not implemented
printNum 5 No print and PrintJob are not implemented
0x45 targetPath 5 Yes 1.0.23
unescape 5 Yes 1.0.22
updateAfterEvent 5 Partial empty stub is added, no need to do anything in it
Array 6 Yes 1.0
clearInterval 6 Yes 1.1.26
setInterval 6 Yes 1.1.26
clearTimeout 8 Yes 2.0.47
setTimeout 8 Yes 2.0.47
MMExecute 7 No
showRedrawRegions 8 No
fscommand Yes 1.0
_accProps  6 No
_focusrect  4 Yes 1.1.26
_global  6 Yes 1.0
_highquality  4 5 Partial
_level  4 Yes 1.0.23
maxscroll 4 5 No
_parent  5 Yes 1.0
_quality  5 No
_root  5 Yes 1.0
scroll 4 No
_soundbuftime  4 Partial No sound in GFx but soundbuftime is defined
this 5 Yes 1.0
Undocumented
ASSetPropFlags Yes 1.0
ASnative Partial Only mouse interface is supported - args (800,2). 1.2.32
GFx Extensions
_global.gfxExtensions  EXT Must be set to true to enable other GFX extensions 1.2.32
_global.gfxVersion  EXT Contains GFx version number 1.2.32
_global.imecommand  EXT Similar to fscommand, but used for IME only 2.1.50
_global.setIMECandidateListStyle  EXT Sets styles for IME candidate list 2.1.50
_global.getIMECandidateListStyle  EXT Returns styles for IME candidate list 2.1.50
_global.noInvisibleAdvance  EXT Turns off advancing of all invisible characters 2.1.52