Events must be used here. Your child elements should dispatch custom
events and container that holds them should listen to that events.
Event listener will handle the child via target property of event
object.

On 8/12/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
> I have a ViewStack whose child elements each contain a graph. I would
> like to define some things in the file that holds the ViewStack so
> that all of the child charts can use them, but am not sure of the best
> way to reference and call these things. Ideally I would like to
> somehow pass in a reference to the containing object so that I don't
> have to pass several items into each child, but have yet to figure out
> a way to do that. I know there has to be a better way than what I have
> now:


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