Ah ha.  You are trying to refer to the component using its class name.
You must use the id:

pimagelist1.goGetIt();//

 

Tracy

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of happy_christy01
Sent: Tuesday, January 30, 2007 1:11 PM
To: [email protected]
Subject: [flexcoders] Re: Force HTTPService send() in child component

 

I don't believe so: (from main.mxml)
<mx:HBox width="100%" height="100%" id="hbox1">
<view:albums albShared="sharedDataHandler(event)" width="160"
height="100%" id="albums1"/>
<view:pImageList myProperty="{sharedData}" width="160"
height="100%" id="pimagelist1"/>
</mx:HBox>

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> The error means that Flex can't find the goGetIt method on the
variable
> pImageList. That indicates to me that you may be instantiating the
child
> component dynamically. Is that so? If so, how are you typing the
> variable? If not, how are you instantiating the component. Post the
> mxml.
> 
> 
> 
> Tracy
> 

 

Reply via email to