If you want to use utility function, make the utility class with
static methods only and place the function there instead of parent
class. Then call it from children via MyUtilityClass.myMethod();

On 8/13/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
> How would a child call a function in the parent though? Events don't
> seem (semantically) like the right thing because I basically just want
> to use a utility function defined in the parent. Like I have a
> function that I am using to format the dataTips of my charts in the
> child components, but dispatching an event every time I roll over a
> chart item seems a bit tedious and extreme.
>
> Is there a better way or do I just need to get used to using events? I
> come from a Flash background and have not used events very much.
>
> Thanks,
> Ben


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