Hello-Starling is a project mainly written in ACTIONSCRIPT and JAVASCRIPT, it's free.
Demos of Starling Framework.
h2. Hello Starling
Demos of "Starling Framework":http://www.starling-framework.org/.
h3. Why it
h3. NOTE
h3. Demos
h3. Add your own code
h4. Create your own demo
package starling_demos { public class YourDemo extends StarlingDemoBase { [Test] public function test():void { // Your demo code here. } } }
StarlingDemoBase
injected an Starling instance and root container for you, you can free your demo class from extending it by injecting them yourself if needed.
package starling_demos { import starling.core.Starling; import starling.display.DisplayObject; import starling.display.DisplayObjectContainer;public class StarlingDemoBase { [Inject] public var root:DisplayObjectContainer; [Inject] public var starling:Starling; protected function display(child:DisplayObject, x:Number = 0, y:Number = 0):void { child.x = x; child.y = y; root.addChild(child); } }
}
h4. Add your demo to demo suite class
package starling_demos { import starling_demos.jamesli.JamesliDemos; import starling_demos.official.OfficialDemos;[Suite] public class AllStarlingDemos { public static function suite():Array { return [ YourDemo, JamesliDemos, OfficialDemos, ]; } }
}