hi.
I'm trying to offer tips on use depending on user interaction, i.e. if a user doesn't click and drag the image give them some tips after a set time.
I've tried various combinations of checking for mousedown and mouseup etc and I don't get a favourable result.
Code
set(events.onmousedown,checkdrag();set(dragging,on);trace(mousedown));
set(events.onmouseup,set(dragging,off);trace(mouseup));
set(events.onclick,trace(click));
set(dragged,false);
<action name="checkdrag">
delayedcall(5, if (dragging == on, set(dragged,done));trace(dragdone),trace(drag not));
</action>
I'm trying to check to see if a user has clicked and dragged the image basically and set a variable I can check later on.
Any ideas?
p.s. You have to click the image before you can start using the keyboard it seems, even for opening the trace window. Is this intentional?