Within a player, I would like to allow the user to manually drag the boundary of the selection (start time and end time).
I can use a dragStart message to catch if the user start to drag, but I can't get the final positions of the elements, because I don't know when the user stop to drag.
I have tried something like this:
Code: Select all
on dragStart repeat until the mouse is up wait 5 end repeat put the timeScale of me into sr put the endTime of me into endT put endT/sr end dragStart
How to wait until the mouse is up, but without frozen the player?
Thanks a lot.