This content has been marked as final. Show 4 replies
> The problem is that when a user holds
> down the mouse button to play with the 360 image, the score stops.
How is this "360 degree image" implemented? Is it QTVR? Can you show
some code that runs while the mouse is interacting with this image?
It sounds like there is a repeat loop somewhere in your code that
repeats while the mouse is down. IF so, that part of your code needs to
be rewritten, as it prevents anything else from executing while the
mouse is down.
A better solution is to check the mouseDown condition in an exit frame
handler and respond to it there. Like Sean suggested, if you will post a
bit of your code it would help.
Thanks for the responses. I wish I could post some code but my employer has held me to some strict confidentiality clauses. Not sure why, that's the reason why I can't share code. In general, does Director "freeze up" while the mouse button is down until it is released? That wouldn't make sense sense, onmousedown and onmouseup are completely different conditions. Again, I am new so I am sure what you mean by check the onmousedown condition in an exit frame handler, but I will google it. Such an annoying little bug. I will look into the exit frame and post my findings. Any other things I should be looking for?
By the way, thanks so much for helping to point me in the right direction.
Director does not freeze up while a mouse button is down normally. Dave is right, as there is probably a piece of code somewhere that continues to execute as long as the mouse is down. Does the freeze happen only when you have the mouse down on the QTVR, or anywhere in the movie? If it's only while dragging the QTVR, then your problem code may be attached to that. If it's anywhere, then the code may live in a movie script somewhere.