我對haxe openfl非常陌生,我曾經用flash和starling開發遊戲,我對從flash轉換爲openfl haxe感到困惑。 public class StarlingPool
{
public var items:Array;
private var counter:int;
public function StarlingPool(type:Class, len:
你好,我使用此代碼: var url:URLRequest = new URLRequest("https://www.google.com.br/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png");
var ldr = new Loader();
ldr.load(url);
addChild(ldr);
加載圖像
在AS3中我可以寫下面的(?): fileReference = new FileReference();
var xmlStage:XML = new XML(<STAGE/>);
var xmlObjects:XML = new XML(<OBJECTS/>);
var j:uint;
var scene:SomeScene = ((origin_ as SecurityButton)