Hi all
This is fast becoming the biggest waste of my time ever!
So im opening it up to the commuity as a programming challenge!!
For something which i assumed would be very simple, writting a robust and solid multi turn spinner handle for flash in as3 has become the bane of my life.
Feel free to download my attempts so far (attached), which cover the basics of a single rotation, and make it look like im further ahead than i actually am.
The difficulty lies with the very specific things I personally need the spinner to do,and the fact its SO HARD to explain…
Its actually used to control a piece of animation that is 72 frames long.
I need the first “lap” of rotation to send the playhead to frames in the 1-36 range and the second rotation to send it to frames 37-72. So two full spins would take it to the final frame, one full spin would go half way to frame 36.
Problem is the rotator handle needs to be locked at the initial position, so a user can’t drag it backwards to start with but can drag it backwards once theyve moved forwards. (think of turning on a hot water tap, many turns in one direction until it stops fully on, then the same turns back again to reach the original start position of fully off)
I also need the rotator to be able to be used in anti clockwise and clockwise modes.
The ideal is to be able to set the total number of animation frames to be controlled and the number of rotations required to reach the final frame, then have the spinner work everything else out for me.
If anyone can solve this and provide me with a working example then i will be eternally grateful.
Many thanks in advance!
andi.