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 test for empty case
[swftools.git]
/
lib
/
as3
/
ok
/
import.as
diff --git
a/lib/as3/ok/import.as
b/lib/as3/ok/import.as
index
ec2d5f0
..
20c321a
100644
(file)
--- a/
lib/as3/ok/import.as
+++ b/
lib/as3/ok/import.as
@@
-1,13
+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 {
package package2 {
public class Class2 {
- public function Class4() {
- trace("ok 2/2");
+ public function Class2() {
+ trace("ok 2/3");
}
}
}
}
}
}
@@
-15,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 class Main extends flash.display.MovieClip {
- public function TestImport() {
+ public function Main() {
new Class1();
new Class2();
new Class1();
new Class2();
+ var t = new TextEvent("type",true,true,"ok 3/3");
+ trace(t.text);
}
}
}
}
}
}