Hi all,
Need some help with a vertical treemenu in director 8.5.
It is as follows:
Let’s say i got 8 main navButtons.
Then on mouseDown button 1 my menu collapse and you see a bg img with subnav buttons.
Right now i got
on mouseUp
if the doubleClick then exit
startTimer
repeat while the timer < 20
if the mouseDown then
cursor 280
sprite(12).visible=false
sprite(16).visible=false
sprite(17).visible=false
sprite(18).visible=false
sprite(19).visible=false
exit
end if
end repeat
sprite(12).visible=true
sprite(16).visible=true
sprite(17).visible=true
sprite(18).visible=true
sprite(19).visible=true
end mouseUp
on mouseLeave
end
So doubleClick closes the collapse img.
But i want to have it on the second mouse down.
Recap: first onMouseDown ->collapse second onMouseDown de-collapse
Any tips, tutorials???
Kind regards