Several ways:

1)       bind a property on the component to an instance variable in the
main app

2)       directly pass a value into the component using a public
property or method.

 

Tracy

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel Lopes
Sent: Tuesday, August 07, 2007 11:32 AM
To: [EMAIL PROTECTED]; [email protected]
Subject: [flexcomponents] Navegation in flex like get in HTML

 

Hello,
In html for example, i had one page with many links using get method
navigation in HREF tag (<a href="teste.php?cat=2"), in this example when
browser show teste.php only products in category 2 will be showed. 

How can i do this in flex using custom components.
For example... i had a menu bar, in this menubar a had HEADLINE(without
submenu) ARTICLES(submenu with Article1, Article2 ...),  CONTACT (withou
submenu), etc. 
Headline,Articles,Contact and each session of menu is a custom component
based in canvas component saved in pageview folder.

How i will pass to ARTICLES component what ItemClick in submenu user has
clicked?

-- 
www.areacriacoes.com.br  

Reply via email to