Does the xml data contain coordinates? If so, can't you just scale and offset the coordinates to your stage? E.g. Treat latitude as Y and longitude as X, offset to the upper-left coordinates of your map, and then scale to pixels using a multiplier. Something like that.

Helmut Granda wrote:
Hi All,

Does anyone knows if there is a way to obtain coordinates of certain points
on the fly?

I am working on a file that draws movieclips on stage using the information
from a XML. there are about 40 objects that are drawn of different shapes
and in different locations (map).

The file has to be updated with new locations everywhere and instead of
having to draw points on stage to know where each point has to drawn to I
was wondering if there was a more automated way to do this.

The only way that I can think of right now is to draw a point where ever I
need the drawing API to draw and then extract each one of those coordinates.

TIA
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to