I'm extending the effects class to allow me to have a custom tag that 
can tween a component in a known and limited number of ways.

I'm not really sure what the correct syntax is to define those limited 
types of class methods.

Say my tween class allows you to tween the alpha, the scale, and the 
coordinates of a designated item on the stage.

So, I'm not sure how to define a variable in my class 
called "tweenType" so it consists of 3 potential values named alphaFX, 
scaleFX and coordFX, with one of them being a default.

I'd also like to be able to type <myMX:effect tweenType="alphaFX"... 
and it code hint the known values of the variable in the class.

I'm not really sure what sort object/variable is the correct one to use 
in AS3.

Any help would be greatly appreciated - etc.





--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to