[worldKit-dev] Res: worldkit-dev Digest, Vol 16, Issue 1

Mikel Maron mikel_maron at yahoo.com
Sat Feb 3 00:40:53 PST 2007


Maybe textx and texty should just be set to mousex and mousey ?

----- Original Message ----
From: Guilherme Pedrosa <guilherme_pl at yahoo.com.br>
To: worldkit-dev at lists.brainoff.com
Sent: Friday, February 2, 2007 7:39:42 PM
Subject: [worldKit-dev] Res: worldkit-dev Digest, Vol 16, Issue 1

Hi Mikel, i see the line   if (mc.origheight - y < 100) { texty = mousey - (50 / interact.scale); } and i thought it was   if (mc.origheight - mousey < 100) { texty = mousey - (50 / interact.scale); } . But, its not. The bug continuous. All annotations appears in the left top of the map now. I published the map website for a short time, to you see it. http://www.mapilot.com/worldkit_rio1.00/index.php . It is a Brazilian web site. Its in portugese but it is very easy , just choose a checkbox and you will see the icons on the map and you can roll over it. I am testing
 some codes trying  to solve the problem. So, if you have time to fix it and see my site, thanks.
 
[]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: Quinta-feira, 1 de Fevereiro de 2007 8:10:22
Assunto: worldkit-dev Digest, Vol 16, Issue 1

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. Re: Res: worldkit-dev Digest, Vol 15, Issue 13 (Mikel Maron)


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

Message: 1
Date: Tue, 30 Jan 2007 02:40:36 -0800 (PST)
From: Mikel Maron <mikel_maron at yahoo.com>
Subject: Re: [worldKit-dev] Res: worldkit-dev Digest, Vol 15, Issue 13
To: Discussion of worldKit use and
 development
    <worldkit-dev at lists.brainoff.com>
Message-ID: <496320.21642.qm at web30812.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi 

I think you were probably using Zoomify when this was working .. it wouldn't have worked under other displaytypes. 
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.

So I think the code below should work, as it translates the stage coordinates into the proper dimension.

   public function showtext(setActive:Boolean):Void {
    if (conf.singletextfield != true) {
        if (setActive)
 {
            rss.setActive(this);
        }

        var ratio = conf.w / conf.h;
        var stagew, stageh, textx, texty;
        if (ratio > 1) { stagew  = 100 * ratio; stageh = 100; }
        else { stageh = 100 / ratio; stagew = 100; }

        var mousex = conf.w * (_root._xmouse / stagew);
        var mousey = conf.h * (_root._ymouse / stageh);

        if (mc.origwidth - mousex < conf.textboxsize) { textx = mousex - (conf.textboxsize / interact.scale); }
            if
 (mc.origheight - y < 100) { texty = mousey - (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; }

        mc[ textname ]._visible = 1; 
    } else {
        interact.LoadingDialog( title, true, 10);
    }
    }

-Mikel
----- Original Message ----
From: Guilherme Pedrosa <guilherme_pl at yahoo.com.br>
To: worldkit-dev at lists.brainoff.com
Sent: Tuesday, January 30, 2007 12:21:11 AM
Subject: [worldKit-dev] Res: worldkit-dev Digest, Vol 15, Issue 13

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/ _______________________________________________
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/20070130/b55c3061/attachment.html 

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

_______________________________________________
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 16, Issue 1
*******************************************






__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ _______________________________________________
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/20070203/6249f2fd/attachment-0005.htm>


More information about the worldkit-dev mailing list