Fixed: Direct editation.

Fixed: Imports in script initializer
This commit is contained in:
Jindra Petřík
2024-08-17 10:35:57 +02:00
parent d99bb058ec
commit c8a8ce8b6d
17 changed files with 228 additions and 91 deletions

View File

@@ -1,6 +1,8 @@
package tests_classes
{
import tests.TestHello;
public class TestScriptInitializer
{
private static var sa:int = 5;
@@ -29,11 +31,14 @@ package tests_classes
public function test() : void {
const x:int = 5;
var th:TestHello = new TestHello();
}
}
//TestImports;
}
}
import tests.TestHello;
var x:int = Math.random() * 100;
var a:int = 5;
@@ -59,3 +64,4 @@ for each (v in [1,3,5])
trace(v);
}
TestHello;