Skip to content

Instantly share code, notes, and snippets.

Created December 15, 2012 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4297563 to your computer and use it in GitHub Desktop.
Save anonymous/4297563 to your computer and use it in GitHub Desktop.
package
{
import feathers.controls.Button;
public class ItemButton extends Button
{
public function ItemButton()
{
}
}
}
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