Hi Michael,
We had this exact same problem just 2 days ago ;) And we have not found any working solution yet, despite some experimentation. When recompiling the as2map.fla, the generated as2map.swf doesnt work anymore, we have to use the provided as2map.swf, and you? Have you found anywhere the fla source of the customMarker.swf? One tip, we have added the following function in MapController : public function setMapSize(height:int, width:int):void { EIBuffer.addCall({method:super.swfDomId + .setMapSize + super.UUID, data:{w:width, h:height}}); } And then, on mapLoad event, you can call this function to set the map size (usually the height and width of the parent container). So you dont have to recompile the as2map.fla for a given map size Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Michael Wills Envoyé : mardi 24 avril 2007 19:25 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] yahoomaps POI marker click event, htmltext asfunction For clarification, the idea is simply to allow a marker to be clicked to open it, but then trigger an event/call a function in the cairngorm app when clicking on a link in the description. Thanks, Michael Michael Wills wrote: > > Hello all, > > Just wondering if it's possible to use asfunction to call a function > in a cairngorm app from the htmltext in the description of a POI > marker within a Yahoomap in a Flex 2 app without making modification > to the as2map.fla file. > > It's a long shot, but I was just wondering if it's been done, and > eagerly anticipating a true AS3 map component. > > The new AS3 "event:" protocol of course isn't recognized by the Flash > 8 interpreter and so it's not available. > > So I was hoping it would be something like: > > markerDesction = "<a asfunction:doNotKnowWhatGoesHere.myFunction/>" > > Is that a possibility at all? > > Thanks, > > Michael > >
<<attachment: image001.jpg>>
<<attachment: image002.jpg>>