The file contains a map that has to be switched for a new map so the
coordinates cant be re-used. at least all the elements of the map have to be
re-drawn. The code can be reused but not the coordinates but thanks for the
idea..

On 1/3/08, Andrew Sinning <[EMAIL PROTECTED]> wrote:
>
> 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
>



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

Reply via email to