client_ui/template/AS3/Component.template
2020-03-30 10:23:50 +08:00

27 lines
395 B
Plaintext

package {packageName}
{
import fairygui.*;
public class {className} extends {componentName}
{
{variable}
public static const URL:String = "{uiPath}";
public static function createInstance():{className}
{
{createInstance}
}
public function {className}()
{
}
protected override function constructFromXML(xml:XML):void
{
super.constructFromXML(xml);
{content}
}
}
}