Rajiv Ranjan <[EMAIL PROTECTED]> wrote:
> Can you send a parameter to " the keydownscript"
> 
> eg:-
> 
> on mouseup
> the keyDownScript = "checkKey",pMemberName
> end


Hi Rajiv,

Try this:


-- MOVIE SCRIPT NAMED "Test"

on checkKey(aMemberName)
  put aMemberName, member(aMemberName)
end


-- IN THE MESSAGE WINDOW

tMemberName = QUOTE&"Test"&QUOTE
the keyDownScript = "checkKey "&tMemberName

-- ACTIONS

Place an editable field on the stage, run the movie and type a letter.
In the Message window, you should see something like...

-- "Test" (member 1 of castLib 1)


Cheers,

James


[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