Re: [flexcoders] Any tips on how to do enable only vertical Sprite Drag and Drop ?

2007-02-11 Thread slangeberg
This example is Canvas, but... dragRule is vertical bar beneath the 'dragger' handle. mx:VRule id=dragRule x=182 y=64 height=315/ mx:Canvas id=dragger width=10 height=20 x={ dragRule.x-dragger.width/2 } y=62 mouseDown={ dragger.startDrag( false,

[flexcoders] Any tips on how to do enable only vertical Sprite Drag and Drop ?

2007-02-10 Thread helihobby
Hello, Can anyone post a top on how to to enable only vertical Sprite Drag and Drop ? In other words, when the user drags a sprite, he can only drag it vertically accross the stage and not in any other direction ... !!! Thanks for the help, Sean.