Hi, is posible generate one custom control mxml, Thanks

Show this mensage !
This tag could not be resolved to an ActionScript class. It will be ignored.

CustomButton.mxml

<?xml version="1.0" encoding="utf-8"?>
<mx:Button xmlns:fx="http://ns.adobe.com/mxml/2009";
mlns:mx="library://ns.adobe.com/flex/mx">

</mx:Button>


This yes it`s ok

package com{

import mx.controls.Button;
import flash.events.Event;
import mx.controls.Alert;

public class ButtonAS extends Button
{
public function ButtonAS()
{
super();
this.label = 'Button AS';
}

}
}

Reply via email to