---
source: crates/rascal/src/tests.rs
expression: result
input_file: samples/as2/special_functions.as
---
initializer:
actions:
- ConstantPool:
- x
- foo
- newname
- this
- getNextHighestDepth
- "FSCommand:"
- "FSCommand:x"
- "http://ruffle.rs"
- window
- "/:$version"
- url
- target
- _level12
- _level
- abc
- "print:#bframe"
- "print:"
- _root
- "printasbitmap:#bframe"
- "printasbitmap:"
- "_level:"
- message
- ""
- Push:
- Integer: 123
- Call
- Push:
- Constant: 0
- GetVariable
- AsciiToChar
- Pop
- Push:
- Constant: 0
- GetVariable
- GetVariable
- Pop
- Push:
- Constant: 0
- GetVariable
- Pop
- Push:
- Constant: 1
- GetVariable
- Push:
- Constant: 2
- Integer: 16384
- Integer: 0
- Constant: 3
- GetVariable
- Push:
- Constant: 4
- CallMethod
- Add2
- CloneSprite
- Push:
- Constant: 5
- Constant: 0
- GetVariable
- StringAdd
- Push:
- "True"
- GetUrl2:
load_variables: false
load_target: false
method: 0
- Push:
- Constant: 6
- "False"
- GetUrl2:
load_variables: false
load_target: false
method: 0
- GetUrl:
url: "FSCommand:x"
target: ""
- GetUrl:
url: "FSCommand:x"
target: foo
- GetTime
- Pop
- GetUrl:
url: "http://ruffle.rs"
target: ""
- GetUrl:
url: "http://ruffle.rs"
target: window
- Push:
- Constant: 7
- Constant: 8
- GetUrl2:
load_variables: false
load_target: false
method: 1
- Push:
- Constant: 9
- GetVariable
- Pop
- GotoFrame: 122
- Play
- GotoLabel: "123"
- Play
- Push:
- Constant: 0
- GetVariable
- GotoFrame2:
scene_bias: 0
play: true
- GotoFrame: 122
- Play
- GotoLabel: "123"
- Play
- Push:
- Constant: 0
- GetVariable
- GotoFrame2:
scene_bias: 0
play: true
- Push:
- Constant: 0
- GetVariable
- GotoFrame2:
scene_bias: 0
play: true
- GotoFrame: 65535
- Play
- GotoFrame: 0
- Play
- GotoFrame: 1
- Play
- GotoFrame: 0
- Play
- GotoFrame: 122
- GotoLabel: "123"
- Push:
- Constant: 0
- GetVariable
- GotoFrame2:
scene_bias: 0
play: false
- GotoFrame: 122
- GotoLabel: "123"
- Push:
- Constant: 0
- GetVariable
- GotoFrame2:
scene_bias: 0
play: false
- Push:
- Constant: 0
- GetVariable
- GotoFrame2:
scene_bias: 0
play: false
- Push:
- Constant: 0
- GetVariable
- ToInteger
- Pop
- Push:
- Constant: 0
- GetVariable
- StringLength
- Pop
- Push:
- Constant: 10
- Constant: 11
- GetUrl2:
load_variables: false
load_target: true
method: 0
- Push:
- Constant: 10
- Constant: 11
- GetUrl2:
load_variables: false
load_target: true
method: 1
- GetUrl:
url: url
target: _level12
- Push:
- Constant: 10
- Constant: 12
- GetUrl2:
load_variables: false
load_target: false
method: 1
- Push:
- Constant: 10
- Constant: 13
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: false
load_target: false
method: 1
- Push:
- Constant: 10
- Constant: 11
- GetUrl2:
load_variables: true
load_target: true
method: 0
- Push:
- Constant: 10
- Constant: 0
- GetVariable
- GetUrl2:
load_variables: true
load_target: true
method: 0
- Push:
- Constant: 10
- Constant: 11
- GetUrl2:
load_variables: true
load_target: true
method: 1
- Push:
- Constant: 10
- Constant: 12
- GetUrl2:
load_variables: true
load_target: false
method: 0
- Push:
- Constant: 10
- Constant: 12
- GetUrl2:
load_variables: true
load_target: false
method: 1
- Push:
- Constant: 10
- Constant: 13
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: true
load_target: false
method: 1
- Push:
- Constant: 0
- GetVariable
- MBAsciiToChar
- Pop
- Push:
- Constant: 0
- GetVariable
- MBStringLength
- Pop
- Push:
- Constant: 0
- GetVariable
- MBCharToAscii
- Pop
- Push:
- Constant: 14
- Constant: 14
- Integer: -1
- MBStringExtract
- Pop
- Push:
- Constant: 14
- Constant: 14
- Integer: 2
- MBStringExtract
- Pop
- NextFrame
- GotoFrame: 0
- Push:
- Constant: 0
- GetVariable
- ToNumber
- Pop
- Push:
- Constant: 0
- GetVariable
- CharToAscii
- Pop
- Play
- PrevFrame
- GotoFrame: 0
- GetUrl:
url: "print:#bmax"
target: foo
- Push:
- Constant: 15
- Constant: 3
- GetVariable
- GetUrl2:
load_variables: false
load_target: false
method: 0
- Push:
- Constant: 16
- Constant: 17
- GetVariable
- GetUrl2:
load_variables: false
load_target: false
method: 0
- GetUrl:
url: "printasbitmap:#bmax"
target: foo
- Push:
- Constant: 18
- Constant: 3
- GetVariable
- GetUrl2:
load_variables: false
load_target: false
method: 0
- Push:
- Constant: 19
- Constant: 17
- GetVariable
- GetUrl2:
load_variables: false
load_target: false
method: 0
- GetUrl:
url: "printasbitmap:#bmax"
target: "_level:123"
- Push:
- Constant: 18
- Constant: 20
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: false
load_target: false
method: 0
- Push:
- Constant: 19
- Constant: 20
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: false
load_target: false
method: 0
- GetUrl:
url: "print:#bmax"
target: "_level:123"
- Push:
- Constant: 15
- Constant: 20
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: false
load_target: false
method: 0
- Push:
- Constant: 16
- Constant: 20
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: false
load_target: false
method: 0
- Push:
- Integer: 123
- RandomNumber
- Pop
- Push:
- Constant: 0
- GetVariable
- RemoveSprite
- Push:
- Integer: 0
- Integer: 0
- Constant: 0
- GetVariable
- StartDrag
- Push:
- Integer: 0
- Integer: 1
- Constant: 0
- GetVariable
- StartDrag
- Push:
- Integer: 0
- Integer: 0
- Constant: 0
- GetVariable
- StartDrag
- Push:
- Integer: 1
- Integer: 2
- Integer: 3
- Integer: 4
- Integer: 1
- Integer: 1
- Constant: 0
- GetVariable
- StartDrag
- Stop
- StopSounds
- EndDrag
- Push:
- Constant: 0
- GetVariable
- ToString
- Pop
- Push:
- Constant: 0
- GetVariable
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: -1
- StringExtract
- Pop
- Push:
- Constant: 0
- GetVariable
- Push:
- Constant: 0
- GetVariable
- Push:
- Integer: 2
- StringExtract
- Pop
- Push:
- Constant: 0
- GetVariable
- TargetPath
- Pop
- ToggleQuality
- Push:
- Constant: 21
- Trace
- Push:
- Constant: 22
- Constant: 0
- GetVariable
- GetUrl2:
load_variables: false
load_target: true
method: 0
- Push:
- Constant: 22
- Constant: 13
- Constant: 0
- GetVariable
- StringAdd
- GetUrl2:
load_variables: false
load_target: false
method: 0
- GetUrl:
url: ""
target: _level123
label_positions: {}
extra_modules: []
compile_options:
swf_version: 15
custom_pcodes: []