There is an entire book in the Flex doc set on creating AS and MXML
components. You can find it here:
 
http://livedocs.macromedia.com/flex/201/html/part3_createcomps_135_1.htm
l
 
Stephen

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of elad_nyc
Sent: Monday, February 12, 2007 4:37 PM
To: [email protected]
Subject: [flexcomponents] Re: Creating Action Script class components



Thanks Michael,
How do I use it from the mxml file? I can use an example...

Best, Elad

--- In [email protected]
<mailto:flexcomponents%40yahoogroups.com> , "Michael Labriola" 
<[EMAIL PROTECTED]> wrote:
>
> You just need to do something like this:
> 
> package myComponents
> {
> import mx.containers.HBox;
> 
> public class MyHBox extends HBox
> {
> }
> }
> 
> Make sense? If not I can post a better example,
> Mike
> 
> --- In [email protected]
<mailto:flexcomponents%40yahoogroups.com> , "elad_nyc" <elad_nyc@> 
> wrote:
> >
> > I am trying to customize my application.
> > 
> > Does anyone know how do I create a component that is based on 
> action 
> > script class.
> > 
> > For example all the built in components such as: lable, HBox 
> etc... are 
> > pointing to a class.
> > 
> > How do I create an action script class that can be used as a 
> component?
> >
>



 

Reply via email to