git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added call support for global functions
[swftools.git]
/
lib
/
as3
/
ok
/
import.as
diff --git
a/lib/as3/ok/import.as
b/lib/as3/ok/import.as
index
a6bbbba
..
20c321a
100644
(file)
--- a/
lib/as3/ok/import.as
+++ b/
lib/as3/ok/import.as
@@
-1,14
+1,14
@@
package package1 {
public class Class1 {
public function Class1() {
package package1 {
public class Class1 {
public function Class1() {
- trace("ok 1/2");
+ trace("ok 1/3");
}
}
}
package package2 {
public class Class2 {
public function Class2() {
}
}
}
package package2 {
public class Class2 {
public function Class2() {
- trace("ok 2/2");
+ trace("ok 2/3");
}
}
}
}
}
}
@@
-16,11
+16,14
@@
package package2 {
package {
import package1.Class1
import package2.*
package {
import package1.Class1
import package2.*
+ import flash.events.TextEvent
public class Main extends flash.display.MovieClip {
public function Main() {
new Class1();
new Class2();
public class Main extends flash.display.MovieClip {
public function Main() {
new Class1();
new Class2();
+ var t = new TextEvent("type",true,true,"ok 3/3");
+ trace(t.text);
}
}
}
}
}
}