On 11/6/2013 9:16 AM, Keith Reinfeld wrote:
> Perhaps the following syntax will help:
>
> var func:String = “yourFunctionName”;
>
> this[func]();

Thanks. I hadn't fully assimilated the fact that an object can also  be 
treated as an array.  Do I have to declare the class 'dynamic' for this 
trick to work? Or is it always legal to do this from inside the class?


------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo 
Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    flexcoders-dig...@yahoogroups.com 
    flexcoders-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    flexcoders-unsubscr...@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
    http://info.yahoo.com/legal/us/yahoo/utos/terms/

Reply via email to