>So... is there a way to simulate a mouse click through keyboard?

Back to the DOS days, eh? Tandy 1000 maybe? ;-)

You could put a keyUp handler in a movie script, and send a #mouseUp 
message to the script. E.g.:

on keyUp
    if the key = RETURN then
       call #mouseUp, someScriptInstance
    end if
end keyUp

Be aware of a gotcha, though--call places the return address on the stack, 
and control will return to your keyUp handler. That can cause some 
unexpected bugs. Of course, you could use sendSprite--I don't know how your 
movie is structured.


Cordially,
Kerry Thompson
Learning Network


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to