If you are asking "How can a component access properties and methods on the component it is nested inside?", the answer is to use the parentDocument property.

 

- Gordon

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Arthur
Sent: Friday, May 12, 2006 1:23 PM
To: [email protected]
Subject: [flexcoders] extending components

 

Hi,

 

I'm fairly new with Flex. I'm trying to create my own components that I will use as views. The problem that I face is that each view needs to interact with other views. When I try to make a component that references ActionScript in the main template, it does not work. How can I make the component extend the main template and just act as an include/module?

 

Rational: I've got a login process that has it's own view and calls to a cfc, does some AS validation, and then once all is passed, it needs to invoke another AS function to hide the login panel, and show the main panel. Or, is there better ways of accomplishing what I seek?

 

Thanks!




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




Reply via email to