I followed the instructions here:
https://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
I clicked File -> New -> ActionScript Project Then I called my "project StartingStarling01" and made it a Web Application. I clicked Next -> Add SWC -> browse, then located my Starling.SWC file in the Program Files in my C drive that. I had downloaded the Game SDK from my Creative Cloud account: "C:\Program Files (x86)\Adobe Gaming SDK 1.4\Frameworks\Starling\Starling-Framework\starling\bin" I clicked Finish.
I created these classes:
import flash.display.Sprite;
import starling.core.Starling;
[SWF(width="400", height="300", frameRate="60", backgroundColor="#ffffff")]
public class StartingStarling01 extends Sprite
{
private var _starling:Starling;
public function StartingStarling01()
{
_starling = new Starling(Game, stage);
_starling.start();
}
}
import starling.display.Sprite;
import starling.text.TextField;
public class Game extends Sprite
{
public function Game()
{
var textField:TextField = new TextField(400, 300, "Welcome to Starling!");
addChild(textField);
}
}
But I get all these problems:
What have I done wrong and how do I fix it please?
src
)? – Marty