estoy intentando hacer un componente input personalizado.
Tengo este código, pero no consigo que me dibuje el input normal. Alguna sugerencia?
Código ActionScript :
package com.input
{
import mx.controls.Alert;
import mx.controls.TextInput;
import mx.core.UIComponent;
public class IdInput extends UIComponent
{
public function IdInput()
{
super();
}
override protected function createChildren(): void
{
Alert.show("llego");
var input:TextInput = new TextInput();
addChild(input);
super.createChildren();
}
}
}
El Alert lo muestra sin problemas
