AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope

This commit is contained in:
Jindra Petřík
2021-01-18 19:14:51 +01:00
parent cdc3eec1f2
commit cade4549fb
94 changed files with 1999 additions and 138 deletions

View File

@@ -0,0 +1,27 @@
package tests
{
public class TestSwitchDefault
{
public function run():*
{
var a:* = 5;
switch (a)
{
case 57 * a:
trace("fiftyseven multiply a");
break;
case 13:
trace("thirteen");
case 14:
trace("fourteen");
break;
case 89:
trace("eightynine");
break;
default:
trace("default clause");
}
}
}
}