Closed chrisvelevitch closed 5 years ago
Check out the other getting started tutorial for the Feathers SDK and MXML:
https://feathersui.com/help/sdk/getting-started-mxml.html
The tutorial that you were trying to follow was for the pure ActionScript version of Feathers. When you download the Feathers library, it includes a different example project, which includes some extra code that is required to initialize Starling. You can find it on GitHub here:
https://github.com/BowlerHatLLC/feathers/tree/master/examples/HelloWorld
The tutorial omits this part because it is assumed that you've already learned how to initialize Starling by following Starling's own getting started tutorial (as listed in the prerequisites).
The Feathers SDK automatically initializes Starling for you, in case you are wondering.
The Getting started with Feathers tutorial seems incomplete. I'm pretty sure my Feathers install is complete because I used the Feathers SDK Manager and have successfully built and ran the
HelloWorld
example that comes with the SDK.The example
HelloWorld
that comes with the SDK is MXML-based whereas the Getting started with Feathers tutorial is ActionScript-based. When I build and run it, all I get is a blank page. I've gone through the tutorial several times to see what I left but I can't find it. I can't seem to find a copy of the complete working code anywhere for comparison.When I try do debug this code, I'm getting:-
which is a bit confusing because
Main
is extendingSprite
(see below).What am I doing wrong here? What's missing that the tutorial has left out?
Below is my complete code:-