:-)

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Hmm? Lets be clear on our language then.  A "Flex Component" has two
> states of being, the class, as implemented either in mxml or AS, 
and the
> "instance", which is what you get when you do:
> 
> <my:CustomComponent ..../>
> 
> Or: new CustomComponent();
> 
>  
> 
> It is easy to put an id on a Flex component instantiated in the 
first
> manner:
> 
> <my:CustomComponent id="myComp"..../>
> 
> And you can then access any public member in MyComponent instance 
like:
> 
> myComp.myMember
> 
>  
> 
> It is a bit harder if you ar instanitating the components manually.
> 
>  
> 
>  
> 
> Or are you using the term, "Flex Component" in a different way?
> 
>  
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of timgerr
> Sent: Monday, May 19, 2008 3:37 PM
> To: [email protected]
> Subject: [flexcoders] Re: Access Child Document Flex Components
> 
>  
> 
> Tracy I dont think a flex component can have an id, what might I be
> ding wrong?
> 
> Thanks,
> Timger
> 
> --- In [email protected] <mailto:flexcoders%
40yahoogroups.com>
> , "Tracy Spratt" <tspratt@> wrote:
> >
> > You can access the public members of a component instantiated 
with an
> > mxml tag by using the "id" property, which the compiler turns 
into an
> > instance variable containing a reference to the component:
> > 
> > 
> > 
> > myComponentId.GetUserDataRequest.send();
> > 
> > 
> > 
> > Also you might want to look into using AsyncToken to associate a
> result
> > with its send() call.
> > 
> > 
> > 
> > Tracy
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%
40yahoogroups.com>
> [mailto:[email protected] <mailto:flexcoders%
40yahoogroups.com>
> ] On
> > Behalf Of timgerr
> > Sent: Monday, May 19, 2008 12:58 PM
> > To: [email protected] <mailto:flexcoders%
40yahoogroups.com> 
> > Subject: [flexcoders] Access Child Document Flex Components
> > 
> > 
> > 
> > Hello all,
> > Thanks for all the help That I have recieved, I am learning alot.
> > 
> > Main Application that has many Flex Components. I want to call a 
> > HTTPService from the main app page, I am not sure how to do this. 
> > 
> > I have tried GetUserDataRequest.send() but to no avail. 
> > <mx:HTTPService id="GetUserDataRequest"
> > url="{getURL.PerformaGetUserData()}" />
> > 
> > I know that there is a way to call parent items 
parentDocument.xxxx
> > but not sure of a way to call childDocuments.
> > 
> > Again Thanks for all the help.
> > 
> > Timgerr
> >
>


Reply via email to