add test for frames and bytes properties of empty movies
[swfdec.git] / test / trace / targetpath.as
blobbae9f5149aaf75613514b4625c300dfe7b01c1ba
1 // makeswf -v 7 -s 200x150 -r 1 -o targetpath.swf targetpath.as
3 #include "values.as"
5 asm {
6 push "_root"
7 getvariable
8 targetpath
9 trace
11 createEmptyMovieClip ("foo", 0);
12 asm {
13 push "foo"
14 getvariable
15 targetpath
16 trace
18 foo.createEmptyMovieClip ("foo", 0);
19 asm {
20 push "foo"
21 getvariable
22 push "foo"
23 getmember
24 targetpath
25 trace
28 for (var i = 0; i < values.length; i++) {
29 var a = values[i];
30 trace (names[i] + " = " + targetPath (a));
33 loadMovie ("FSCommand:quit", "");