mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 19:54:37 +00:00
Fixed twolevel nested debugging
This commit is contained in:
@@ -2,6 +2,8 @@ package
|
||||
{
|
||||
import flash.display.Sprite;
|
||||
import flash.events.Event;
|
||||
import flash.text.TextField;
|
||||
import flash.text.TextFormat;
|
||||
|
||||
public class InnerMain extends Sprite
|
||||
{
|
||||
@@ -13,10 +15,24 @@ package
|
||||
else addEventListener(Event.ADDED_TO_STAGE, init);
|
||||
}
|
||||
|
||||
private function init(e:Event = null):void
|
||||
private function init(e:Event = null):void
|
||||
{
|
||||
removeEventListener(Event.ADDED_TO_STAGE, init);
|
||||
// entry point
|
||||
|
||||
var textField:TextField = new TextField();
|
||||
|
||||
textField.text = "Main inner1.";
|
||||
|
||||
var textFormat:TextFormat = new TextFormat();
|
||||
textFormat.size = 24;
|
||||
textFormat.color = 0x000000;
|
||||
textField.setTextFormat(textFormat);
|
||||
textField.width = 200;
|
||||
|
||||
addChild(textField);
|
||||
|
||||
textField.x = 50;
|
||||
textField.y = 125;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user