Libby,

I don't have the source in-front of me, but if you have a
GraphicalProductList component, that is advertising that it broadcasts a
select event, then I'd be looking for the instantation of that component
to find the event being handled, eg:

<namespace:GraphicalProductList select="yourOwnHandlerHere()" />

The GraphicalProductList will broadcast the event (or use a helper
class, as seems to be the case here, to broadcast the event) but the
parent of that instance of the class will be the place where the event
is handled.

Make sense ?

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting EMEA
 
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Libby
> Sent: 14 December 2005 16:40
> To: [email protected]
> Subject: [flexcoders] Cairngorm Question about the Store Example
> 
> In GraphicalProductListViewHelper.as, there is this line:
> view.dispatchEvent( { type:"select" } );
> 
> In the view, which is GraphicalProductList.mxml, it 
> advertises that it broadcasts this event: 
> <mx:Metadata>
>      [Event("select")]
> </mx:Metadata>
> 
> Where is this event actually caught or handled? I have read 
> thru all the files several times and cannot find it.
> 
> The reason I am looking is that in my Master/Detail screen, 
> when Master updates the Model, the Detail, that is bound to 
> the model, doesn't notice it. I think I need to broadcast 
> that a change has occurred, they way they did.
> 
> thanks,
> Libby
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~-->
> 1.2 million kids a year are victims of human trafficking. 
> Stop slavery.
> http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
> --------------------------------------------------------------
> ------~-> 
> 
> --
> 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
> 
> 
> 
>  
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to