I am follwing tutorial to create a Startup.as and a Game.as:
Startup:
package {
import flash.display.Sprite;
import starling.core.Starling;
public class Startup extends Sprite
{
private var _starling:Starling;
public function Startup()
{
_starling = new Starling(Game, stage);
_starling.start();
}
}
}
Game.as:
package{
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);
}
}
}
When I run, the error throw:
Startup.as, Line 13, Column 29 1120: Access of undefined property Game.
Startup.as, Line 3, Column 26 1180: Call to a possibly undefined method AccessibilityProperties.
I am follwing tutorial to create a Startup.as and a Game.as:
Startup:
Game.as:
When I run, the error throw:
I have proper config the path:
I am using Animate 2020