Forum Discussion

stabrizi's avatar
stabrizi
Occasional Contributor
12 years ago

How to Adjust Drag Velocity (using Drag function)

I need to be alble to Drag objects on screen to predetermined locations at different velocities.  I am using Drag function.  I do not wish to use Low Level mouse move procedures.  



Using TC 9.0 within Flex Web.



Thanks,



3 Replies

  • Hi Sean,



    It's not possible to change the "Dragging delay" project setting from a script. If you want to vary the speed, you will need to create your own scripting function that implements the dragging functionality through the LLPlayer Object, and implement the speed parameterization there.



    I hope this helps!
  • stabrizi's avatar
    stabrizi
    Occasional Contributor
    To clarify, I like to be able to control speed of the "Drag".  Is that possible? I do not wish to use Low Level mouse move procedures.

    Thanks,

    -Sean
  • stabrizi's avatar
    stabrizi
    Occasional Contributor
    Thank you  Alex.  I was trying to avoid using LL Player i.e. low level procedures because its not too reliable.  However I found a better way of doing this, simply by creating another project in the Suite with different Drag Speeds, and limit content of this to actions that I would like to execute drag slow or fast.  This method I was able to implement the scenario I had in mind.



    Sincerely,

    -Sean