i'm trying to make use of the drag and drop quick start (btw those
things are freaking awesome, hats off to aral balkan & adobe for
creating them) to drag (pan) an image and drop it either back on
itself or in the canvas surrounding it. i'm not really interested in
actually moving the image, just the effect and where the pan started
and ended.

it seems i'm missing something as the dragged image can't be dropped
everywhere in the canvas or back on itself. there seems to be some
more or less fixed "blind spots". i've put up a small example:

http://www.sustainablegis.com/projects/flex/

if you try dragging the map image to the northwest you'll see that
it's not allowing a drop in that area as well as some others. in this
case, i've hung the dragEnter & dragDrop of the Canvas enclosing the
image:

<mx:Canvas height="450" width="610" autoLayout="true" clipContent="false"
mouseOut="startPan=false;" dragDrop="dragDropHandler(event);"
dragEnter="dragEnterHandler(event);" backgroundColor="#53AC9E">
 <mx:Image height="440" width="600" id="theMap" source="{mapImage}"
  mouseDown="startPan=true;" mouseMove="doPan(event); showCoords(event);"
  x="5" y="5"/>
</mx:Canvas>

any ideas?

thanks.


--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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