[worldKit-dev] Res: worldkit-dev Digest, Vol 15, Issue 13

Guilherme Pedrosa guilherme_pl at yahoo.com.br
Mon Jan 29 16:21:11 PST 2007


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:

in the:

 public function showtext(setActive:Boolean):Void

i put the code of the makeText function:

if (w - x < textboxsize) { textx = x - (textboxsize / interact.scale); }
if (h - y < 100) { texty = y - (50 / interact.scale); }    

mc[ textname ]._x = textx; if (textx != x) { mc[textname].leftpos = true; }
mc[ textname ]._y = texty; if (texty != y) { mc[textname].bottompos = true; }

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?

Sorry if it sounds newbie, but i am working with worldkit about 4 months. And i dont know very much actionscript. 

I am using flash 8, and worldkit revision 23. 

thank u very much
 
[]s
Guilherme Pedrosa
(21) 8103-4966 | 24274319
guilherme.pedrosa at superig.com.br

----- Mensagem original ----
De: "worldkit-dev-request at lists.brainoff.com" <worldkit-dev-request at lists.brainoff.com>
Para: worldkit-dev at lists.brainoff.com
Enviadas: Domingo, 28 de Janeiro de 2007 7:14:29
Assunto: worldkit-dev Digest, Vol 15, Issue 13

Send worldkit-dev mailing list submissions to
    worldkit-dev at lists.brainoff.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
or, via email, send a message with subject or body 'help' to
    worldkit-dev-request at lists.brainoff.com

You can reach the person managing the list at
    worldkit-dev-owner at lists.brainoff.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of worldkit-dev digest..."


Today's Topics:

   1. rev 23 -- fixes typo (Mikel Maron)
   2. Re: pictures + info (Mikel Maron)
   3. swflayer Rev23 (tie)
   4. Re: swflayer Rev23 (Mikel Maron)


----------------------------------------------------------------------

Message: 1
Date: Thu, 25 Jan 2007 05:58:19 -0800 (PST)
From: Mikel Maron <mikel_maron at yahoo.com>
Subject: [worldKit-dev] rev 23 -- fixes typo
To: worldkit-dev at lists.brainoff.com
Message-ID: <20070125135819.58929.qmail at web30807.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

I think I'm scrambling a bit on this problem .. rev 23 fixes a typo introduced in some experimentation yesterday.
latest/worldkit.swf has been updated too.

Hopefully the only problem at the moment is the off by one error, producing those black lines.

-Mikel




------------------------------

Message: 2
Date: Thu, 25 Jan 2007 06:12:08 -0800 (PST)
From: Mikel Maron <mikel_maron at yahoo.com>
Subject: Re: [worldKit-dev] pictures + info
To: Discussion of worldKit use and development
    <worldkit-dev at lists.brainoff.com>
Message-ID: <86553.13502.qm at web30801.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Dario

This is a highly desired featured, not yet available, requested often.

The last thread on the subject..
http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/2006-December/000203.html

It would be great to have, but we need some developer time from someone to implement.

Mikel

----- Original Message ----
From: Dario Ampuy <darioampuy at gmail.com>
To: worldkit-dev at lists.brainoff.com
Sent: Tuesday, January 23, 2007 6:40:56 PM
Subject: [worldKit-dev] pictures + info

sorry for my english

i wanna put text AND a picture in the description field. is possible?

_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20070125/041cf09d/attachment.html 

------------------------------

Message: 3
Date: Thu, 25 Jan 2007 20:44:50 +0100
From: "tie" <tie at centrum.cz>
Subject: [worldKit-dev] swflayer Rev23
To: <worldkit-dev at lists.brainoff.com>
Message-ID: <20070125194451.85ED71448343 at ns.infos.cz>
Content-Type: text/plain;    charset="us-ascii"

Hi.
Revision 23 is quite good except black lines. But there is new problem :-(.
When you add <swflayer> (tried swf, jpg source) to config.xml, there is
problem with zooming and loading new tiles. At zoom 4 and greater toolbar is
not responding and new tiles are not loading. (i can pan with map).
Without <swflayer> is everything all right.

Try here:
http://www.tie-music.net/geo/

Tie




------------------------------

Message: 4
Date: Thu, 25 Jan 2007 23:48:59 -0800 (PST)
From: Mikel Maron <mikel_maron at yahoo.com>
Subject: Re: [worldKit-dev] swflayer Rev23
To: Discussion of worldKit use and development
    <worldkit-dev at lists.brainoff.com>
Message-ID: <20070126074859.6555.qmail at web30807.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Curious. I'll look into this. Might be after the weekend though.
-Mikel

----- Original Message ----
From: tie <tie at centrum.cz>
To: worldkit-dev at lists.brainoff.com
Sent: Thursday, January 25, 2007 7:44:50 PM
Subject: [worldKit-dev] swflayer Rev23

Hi.
Revision 23 is quite good except black lines. But there is new problem :-(.
When you add <swflayer> (tried swf, jpg source) to config.xml, there is
problem with zooming and loading new tiles. At zoom 4 and greater toolbar is
not responding and new tiles are not loading. (i can pan with map).
Without <swflayer> is everything all right.

Try here:
http://www.tie-music.net/geo/

Tie


_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com





------------------------------

_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com


End of worldkit-dev Digest, Vol 15, Issue 13
********************************************






__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20070129/5358ba65/attachment-0001.html>


More information about the worldkit-dev mailing list