Make sure the function definition in the child component is marked
public.  If it is you should have no problem calling it.  Explicitly
scope ALL functions.

 

mychildComponent.myPublicfunction(event)

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of happy_christy01
Sent: Monday, January 29, 2007 6:34 PM
To: [email protected]
Subject: [flexcoders] Re: Force HTTPService send() in child component

 

invoking a function in one component from a click in another, yes.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> So your issue is invoking a function call with a click?
> 
> Tracy
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of happy_christy01
> Sent: Monday, January 29, 2007 12:15 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Force HTTPService send() in child component
> 
> 
> 
> Need help here. Spent all weekend looking at this, and I know I'm just
> missing something. I've got a small photo gallery app with two
> components. One component grabs all the 'albums' from the db on
> initialize and displays them in a TileList. When you click on one of
> the tiles, the second component should fire off a request to the
> HTTPService to get the images that belong to that album and display
> them. 
> 
> At this point, I've tried everything I can think of. I thought I found
> the answer in passing the album id to a form on the second component
> and firing the lookup on the change event. For some reason, however,
> it will only fire if I key in the album id by hand.
> 
> Anyone have any ideas?
> TIA
> -c-
>

 

Reply via email to