tests: Add test for ActionCall
This commit is contained in:
parent
2d3801dac8
commit
4eef8a1821
|
@ -39,6 +39,7 @@ swf_tests! {
|
|||
(as_transformed_flag, "avm1/as_transformed_flag", 3),
|
||||
(attach_movie, "avm1/attach_movie", 1),
|
||||
(function_base_clip, "avm1/function_base_clip", 2),
|
||||
(call, "avm1/call", 2),
|
||||
(color, "avm1/color", 1),
|
||||
(clip_events, "avm1/clip_events", 4),
|
||||
(create_empty_movie_clip, "avm1/create_empty_movie_clip", 2),
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
// frame 2
|
||||
// call(3)
|
||||
// frame 3 A
|
||||
// frame 3 B
|
||||
// call('SomeFrame')
|
||||
// frame 4
|
||||
// call(o) with toString
|
||||
// frame 4
|
||||
// call(5)
|
||||
// frame 5
|
||||
// foo
|
||||
root
|
||||
// mc._x
|
||||
20
|
||||
// tellTarget('mc') { call(5); }
|
||||
// mc frame 5
|
||||
// foo
|
||||
mc
|
||||
// tellTarget('BadClip') { call(5); }
|
||||
// frame 5
|
||||
// foo
|
||||
root
|
||||
// mc._x
|
||||
20
|
||||
// mc.f()
|
||||
// call(5)
|
||||
// mc frame 5
|
||||
// foo
|
||||
mc
|
||||
// call(1234)
|
||||
// call('INVALID')
|
||||
// call(4294967299)
|
||||
// frame 3 A
|
||||
// frame 3 B
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue