[flexcoders] Re: Dispatch Event Issue on BreadCrumb Trail Click

2009-06-14 Thread n_manjunatha
Hi Tim, Thanks.I got it working Thanks & Regards Manju --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > Looks like you may be thinking about a little backwards. First add this > method to the script in contentpane: > > import mx.events.ItemClickEvent; > > public functi

[flexcoders] Re: Dispatch Event Issue on BreadCrumb Trail Click

2009-06-12 Thread Tim Hoff
Looks like you may be thinking about a little backwards. First add this method to the script in contentpane: import mx.events.ItemClickEvent; public function handleBreadCrumbItemClick( event:ItemClickEvent ):void { // do something } Then Main.mxml would have: -TH --- In fle

[flexcoders] Re: Dispatch Event Issue on BreadCrumb Trail Click

2009-06-12 Thread n_manjunatha
Hi Tim Thanks for your time and reply. Yes you are right, I am not using MVC Framework. I tried this my main.mxml is like this...of course not with exact format of flex... script { breadcrumclicked(event:Event) which comes canvas below } I guess i cant send the public method breadc

[flexcoders] Re: Dispatch Event Issue on BreadCrumb Trail Click

2009-06-11 Thread Tim Hoff
Hi, If you're not using an MVC framework, an easy way is to create a public method in contentpane.mxml, that will set the tree selection. On breadcrumb click, pass the event: contentpane.myPublicSelectionMethod( event ). -TH --- In flexcoders@yahoogroups.com, "n_manjunatha" wrote: > > Hi, > I