This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.robotlegs.base | |
{ | |
import flash.display.DisplayObject; | |
import flash.display.DisplayObjectContainer; | |
import flash.display.Stage; | |
import flash.events.Event; | |
import flash.events.IEventDispatcher; | |
import mx.core.IWindow; | |
import mx.events.AIREvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx"> | |
<s:layout> | |
<s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/> | |
</s:layout> | |
<s:RichText width="300"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="libs/easeljs/easeljs.d.ts" /> | |
/// <reference path="libs/underscore/underscore.d.ts" /> | |
class Main extends createjs.Stage | |
{ | |
constructor(canvas: HTMLCanvasElement) | |
{ | |
super(canvas); | |
_.bindAll(this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (c) 2012 Josh Tynjala | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the | |
Software is furnished to do so, subject to the following |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import feathers.controls.Label; | |
import feathers.controls.renderers.LayoutGroupListItemRenderer; | |
import feathers.layout.AnchorLayout; | |
import feathers.layout.AnchorLayoutData; | |
public class CustomLayoutGroupItemRenderer extends LayoutGroupListItemRenderer | |
{ | |
public function CustomLayoutGroupItemRenderer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package feathersx.controls.text | |
{ | |
import feathers.controls.text.TextFieldTextRenderer; | |
import flash.geom.Point; | |
import flash.net.URLRequest; | |
import flash.net.navigateToURL; | |
import starling.events.Touch; | |
import starling.events.TouchEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<f:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:f="library://ns.feathersui.com/mxml" | |
theme="feathers.themes.MetalWorksMobileTheme"> | |
<f:layout> | |
<f:VerticalLayout horizontalAlign="center" verticalAlign="middle"/> | |
</f:layout> | |
<f:Button id="button" label="Click Me" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<f:LayoutGroup xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:f="library://ns.feathersui.com/mxml"> | |
<f:layout> | |
<f:HorizontalLayout gap="10" horizontalAlign="center" verticalAlign="middle"/> | |
</f:layout> | |
<f:Slider id="slider1" minimum="0" maximum="1" value="0"/> | |
<f:Slider id="slider2" minimum="0" maximum="1" value="{slider1.value}"/> | |
</f:LayoutGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import createjs.Event; | |
import createjs.Rectangle; | |
import createjs.Stage; | |
import createjs.Ticker; | |
import createjs.Touch; | |
import feathers.controls.ButtonState; | |
import feathers.controls.ScrollPolicy; |
OlderNewer