I need this to work in Flex 1.5, is there a similar way to get it to work? Basically I just need to know when the link was clicked or for that matter the marker was clicked.
--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > > Learn from the master. Nahuel's app won in his category in the Flex Derby. > As a judge, I gave him mad props for getting this to work. Here's how he > did it: > > http://www.asfusion.com/blog/entry/inserting-yahoo-maps-in-a-flex- 2-application > > ----- Original Message ----- > From: "jgraham_us" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Tuesday, July 18, 2006 1:32 AM > Subject: [flexcoders] Yahoo Maps questions > > > 1) I have a marker CustomPOIMarker, I want to embed a link and call > an actionscript function in my flex code. I have tried this with > and without _parent,parent and it never works. If I put a link to > an HTML page it works fine. But I need to notify my application > when the click has occured. Any ideas? or a better way to do this? > > Example. > > var markerArgs = {index:"marker 1",description:"<a > href='asfunction:parent.cpiClicked'>print something</a>", > title:"<a > href='asfunction:_parent.cpiClicked'>print something</a>", > markerColor:0x990099, strokeColor:0xFFFF00}; > . > . > . > function cpiClicked() : Void > { > Echo.debug("Marker 1 clicked"); > } > > > > > > > > > > > > > -- > 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 --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/