Created
December 15, 2012 17:46
-
-
Save anonymous/4297563 to your computer and use it in GitHub Desktop.
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.Screen; | |
import rodcalcmobile.view.buttons.ItemButton; | |
public class SomeScreen extends Screen | |
{ | |
public function SomeScreen() | |
{ | |
} | |
override protected function initialize():void | |
{ | |
var b:ItemButton = new ItemButton(); | |
addChild(b); | |
// If instead of ItemButton, I will write a Button, it will work. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment