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:
importflash.display.Sprite;
importstarling.core.Starling;
[SWF(width="400",height="300",frameRate="60",backgroundColor="#ffffff")]
publicclassStartingStarling01extendsSprite
{
privatevar_starling:Starling;
publicfunction StartingStarling01()
{
_starling=newStarling(Game,stage);
_starling.start();
}
}
importstarling.display.Sprite;
importstarling.text.TextField;
publicclassGameextendsSprite
{
publicfunction Game()
{
vartextField:TextField=newTextField(400,300,"Welcome to Starling!");
addChild(textField);
}
}
But I get all these problems:
And when I run the file it comes up with this in my browser:
What have I done wrong and how do I fix it please?