<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi <br><br>I think you were probably using Zoomify when this was working .. it wouldn't have worked under other displaytypes. <br>It has to do with how the stage is managed in worldKit .. it can be resized to any dimensions in config, but the movie itself remains 100 x 100.<br><br>So I think the code below should work, as it translates the stage coordinates into the proper dimension.<br><br>&nbsp;&nbsp; public function showtext(setActive:Boolean):Void {<br>&nbsp;&nbsp;&nbsp; if (conf.singletextfield != true) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (setActive) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rss.setActive(this);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var
 ratio = conf.w / conf.h;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var stagew, stageh, textx, texty;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (ratio &gt; 1) { stagew&nbsp; = 100 * ratio; stageh = 100; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else { stageh = 100 / ratio; stagew = 100; }<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var mousex = conf.w * (_root._xmouse / stagew);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var mousey = conf.h * (_root._ymouse / stageh);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (mc.origwidth - mousex &lt; conf.textboxsize) { textx = mousex - (conf.textboxsize / interact.scale); }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (mc.origheight - y &lt; 100) { texty = mousey - (50 / interact.scale); }&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mc[ textname ]._x = textx; if (textx != x) { mc[textname].leftpos = true;
 }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mc[ textname ]._y = texty; if (texty != y) { mc[textname].bottompos = true; }<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mc[ textname ]._visible = 1; <br>&nbsp;&nbsp;&nbsp; } else {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; interact.LoadingDialog( title, true, 10);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>-Mikel<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Guilherme Pedrosa &lt;guilherme_pl@yahoo.com.br&gt;<br>To: worldkit-dev@lists.brainoff.com<br>Sent: Tuesday, January 30, 2007 12:21:11 AM<br>Subject: [worldKit-dev] Res: worldkit-dev Digest, Vol 15, Issue 13<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi friends, i'm trying to set the annotation, or the tooltip of a point, inside the map, at any scale or zoom. With the last revision, before the fix of the reload ( F5
 refresh) bug, i did this changes:<br><br>in the:<br><br><span style="font-style: italic;">&nbsp;public function showtext(setActive:Boolean):Void</span><br><br>i put the code of the makeText function:<br><br><span style="font-style: italic;">if (w - x &lt; textboxsize) { textx = x - (textboxsize / interact.scale); }</span><br style="font-style: italic;"><span style="font-style: italic;">if (h - y &lt; 100) { texty = y - (50 / interact.scale); }&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">mc[ textname ]._x = textx; if (textx != x) { mc[textname].leftpos = true; }</span><br style="font-style: italic;"><span style="font-style: italic;">mc[ textname ]._y = texty; if (texty != y) { mc[textname].bottompos = true; }</span><br><br>then i change x and y for _root._xmouse and _root._ymouse . finally it works. But now, it is not working. Is there some easy way to do that?<br><br>Sorry if it sounds newbie,
 but i am working with worldkit about 4 months. And i dont know very much actionscript. <br><br>I am using flash 8, and worldkit revision 23. <br><br>thank u very much<br><div>&nbsp;</div>[]s<br>Guilherme Pedrosa<br>(21) 8103-4966 | 24274319<br>guilherme.pedrosa@superig.com.br<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensagem original ----<br>De: "worldkit-dev-request@lists.brainoff.com" &lt;worldkit-dev-request@lists.brainoff.com&gt;<br>Para: worldkit-dev@lists.brainoff.com<br>Enviadas: Domingo, 28 de Janeiro de 2007
 7:14:29<br>Assunto: worldkit-dev Digest, Vol 15, Issue 13<br><br><div>Send worldkit-dev mailing list submissions to<br>&nbsp;&nbsp;&nbsp;&nbsp;worldkit-dev@lists.brainoff.com<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" target="_blank" href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp;&nbsp;worldkit-dev-request@lists.brainoff.com<br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp;&nbsp;worldkit-dev-owner@lists.brainoff.com<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of worldkit-dev digest..."<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp; 1. rev 23 -- fixes typo (Mikel Maron)<br>&nbsp;&nbsp; 2. Re: pictures + info (Mikel Maron)<br>&nbsp;&nbsp; 3. swflayer Rev23
 (tie)<br>&nbsp;&nbsp; 4. Re: swflayer Rev23 (Mikel Maron)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 25 Jan 2007 05:58:19 -0800 (PST)<br>From: Mikel Maron &lt;mikel_maron@yahoo.com&gt;<br>Subject: [worldKit-dev] rev 23 -- fixes typo<br>To: worldkit-dev@lists.brainoff.com<br>Message-ID: &lt;20070125135819.58929.qmail@web30807.mail.mud.yahoo.com&gt;<br>Content-Type: text/plain; charset=iso-8859-1<br><br>I think I'm scrambling a bit on this problem .. rev 23 fixes a typo introduced in some experimentation yesterday.<br>latest/worldkit.swf has been updated too.<br><br>Hopefully the only problem at the moment is the off by one error, producing those black lines.<br><br>-Mikel<br><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 25 Jan 2007 06:12:08 -0800 (PST)<br>From: Mikel Maron &lt;mikel_maron@yahoo.com&gt;<br>Subject: Re: [worldKit-dev] pictures + info<br>To: Discussion of
 worldKit use and development<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;worldkit-dev@lists.brainoff.com&gt;<br>Message-ID: &lt;86553.13502.qm@web30801.mail.mud.yahoo.com&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi Dario<br><br>This is a highly desired featured, not yet available, requested often.<br><br>The last thread on the subject..<br><a rel="nofollow" target="_blank" href="http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/2006-December/000203.html">http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/2006-December/000203.html</a><br><br>It would be great to have, but we need some developer time from someone to implement.<br><br>Mikel<br><br>----- Original Message ----<br>From: Dario Ampuy &lt;darioampuy@gmail.com&gt;<br>To: worldkit-dev@lists.brainoff.com<br>Sent: Tuesday, January 23, 2007 6:40:56 PM<br>Subject: [worldKit-dev] pictures + info<br><br>sorry for my english<br><br>i wanna put text AND a picture in the description field. is
 possible?<br><br>_______________________________________________<br>worldkit-dev mailing list<br>worldkit-dev@lists.brainoff.com<br><a rel="nofollow" target="_blank" href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a rel="nofollow" target="_blank" href="http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20070125/041cf09d/attachment.html">http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20070125/041cf09d/attachment.html</a> <br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 25 Jan 2007 20:44:50 +0100<br>From: "tie" &lt;tie@centrum.cz&gt;<br>Subject: [worldKit-dev] swflayer Rev23<br>To: &lt;worldkit-dev@lists.brainoff.com&gt;<br>Message-ID: &lt;20070125194451.85ED71448343@ns.infos.cz&gt;<br>Content-Type:
 text/plain;&nbsp;&nbsp;&nbsp;&nbsp;charset="us-ascii"<br><br>Hi.<br>Revision 23 is quite good except black lines. But there is new problem :-(.<br>When you add &lt;swflayer&gt; (tried swf, jpg source) to config.xml, there is<br>problem with zooming and loading new tiles. At zoom 4 and greater toolbar is<br>not responding and new tiles are not loading. (i can pan with map).<br>Without &lt;swflayer&gt; is everything all right.<br><br>Try here:<br><a rel="nofollow" target="_blank" href="http://www.tie-music.net/geo/">http://www.tie-music.net/geo/</a><br><br>Tie<br><br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Thu, 25 Jan 2007 23:48:59 -0800 (PST)<br>From: Mikel Maron &lt;mikel_maron@yahoo.com&gt;<br>Subject: Re: [worldKit-dev] swflayer Rev23<br>To: Discussion of worldKit use and development<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;worldkit-dev@lists.brainoff.com&gt;<br>Message-ID: &lt;20070126074859.6555.qmail@web30807.mail.mud.yahoo.com&gt;<br>Content-Type:
 text/plain;
 charset=iso-8859-1<br><br>Curious. I'll look into this. Might be after the weekend though.<br>-Mikel<br><br>----- Original Message ----<br>From: tie &lt;tie@centrum.cz&gt;<br>To: worldkit-dev@lists.brainoff.com<br>Sent: Thursday, January 25, 2007 7:44:50 PM<br>Subject: [worldKit-dev] swflayer Rev23<br><br>Hi.<br>Revision 23 is quite good except black lines. But there is new problem :-(.<br>When you add &lt;swflayer&gt; (tried swf, jpg source) to config.xml, there is<br>problem with zooming and loading new tiles. At zoom 4 and greater toolbar is<br>not responding and new tiles are not loading. (i can pan with map).<br>Without &lt;swflayer&gt; is everything all right.<br><br>Try here:<br><a rel="nofollow" target="_blank" href="http://www.tie-music.net/geo/">http://www.tie-music.net/geo/</a><br><br>Tie<br><br><br>_______________________________________________<br>worldkit-dev mailing list<br>worldkit-dev@lists.brainoff.com<br><a rel="nofollow" target="_blank"
 href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br><br><br><br><br><br>------------------------------<br><br>_______________________________________________<br>worldkit-dev mailing list<br>worldkit-dev@lists.brainoff.com<br><a rel="nofollow" target="_blank" href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br><br><br>End of worldkit-dev Digest, Vol 15, Issue 13<br>********************************************<br></div></div><br></div></div><br>__________________________________________________<br>Fale com seus amigos  de graça com o novo Yahoo! Messenger <br><span><a target="_blank" href="http://br.messenger.yahoo.com/">http://br.messenger.yahoo.com/</a> </span><div>_______________________________________________<br>worldkit-dev mailing list<br>worldkit-dev@lists.brainoff.com<br><a
 target="_blank" href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br></div></div><br></div></div></body></html>