Well, it's not completely magic. It is just the [Effect] metadata tag. The
Effect
tag takes an event type and the framework will fire any effects
specified when the corresponding event is fired from the component. It
looks like this:

[Effect(name="myCoolEffect", event="myCustomEvent")]

So, you could add a new effect to an existing event as well, if there
was some need for that:

[Effect(name="clickEffect", event="click")]

On Jan 18, 2008 11:47 AM, Jonathan Branam <[EMAIL PROTECTED]> wrote:

> ---------- Forwarded message ----------
> From: Tom Chiverton <[EMAIL PROTECTED]>
> Date: Jan 18, 2008 9:48 AM
> Subject: Re: [flexcoders] Re: setting effect to UI component
> To: [email protected]
>
>
> On Friday 18 Jan 2008, learner wrote:
> > how the Flexbuilder understand "resizeEffect" as the one of the
> standered
> > property of the UIcomponent or container,
>
> 'magic' :-)
> You can always read the source, along side the 'Developing' docs.
>
> --
> Tom Chiverton
> Helping to dramatically build edge-of-your-seat markets
> on: http://thefalken.livejournal.com
>
> ****************************************************
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in
> England and Wales under registered number OC307980 whose registered
> office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
> Manchester, M3 3EB.  A list of members is available for inspection at
> the registered office. Any reference to a partner in relation to
> Halliwells LLP means a member of Halliwells LLP.  Regulated by The
> Solicitors Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above
> and may be confidential or legally privileged.  If you are not the
> addressee you must not read it and must not use any information
> contained in nor copy it nor inform any person other than Halliwells
> LLP or the addressee of its existence or contents.  If you have
> received this email in error please delete it and notify Halliwells
> LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>

Reply via email to