Hi,

I also wrote some code a while back, showing how can you use
startDrag(..) and stopDrag(..) to drag things in Canvas. This code uses
Flash Player APIs. Just posting again, so that you know possible ways..

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05761.html

-abdul

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Tuesday, June 28, 2005 6:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Moving an image on a canvas

Check out the code Google Map flex application made by Manish.

http://www.flexauthority.com/Samples/gmap/gmap.mxml?versionChecked=true

http://manish.revise.org/2005/04/flex-prototype-of-google-maps.html



-abdul

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Charles E. Pelkey
Sent: Tuesday, June 28, 2005 6:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Moving an image on a canvas

Hello all,

I have been reading the posts here for some time now, and wanted to 
get some input on the following situation:

I am working on a flex based ARC/IMS viewer and have yet to find a way 
to move the map image on the canvas. To be more detailed, I have an 
actionscript function which is activated when the user clicks 
the 'PAN' button and I want it to move the image around while the user 
clicks and drags on the map image... I have tried recalculating the 
position of the image based on where the user clicked and where they 
drag to and call the move-to function to no avail.

I am willing to share the existing source code if you need to see it.
The demo is available at: 
http://flex.pelkeyc.dyndns.org/mapper/map.mxml

Thanks in advance,
-Charles





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to