Do you need the handler to know, or do you need to know for debuggingpurposes?
I need the handler to know the previous handler, as in:
if lingoPreviousHandler = "mouseUp" then -- or some such wording gTools.mRecordData("set") -- something clicked caused to go here. else if lingoPreviousHandler = "sendSprite" gTools.mRecordData("get") -- something else happened, so go here. end if
How about you pass a parameter:
on mouseUp me DoSomeThing( "mouseUp" ) end
...and
sendSprite ( whatever, #foo )
--
on foo me DoSomeThing( "sendSprite") end
...with
on DoSomeThing sParam
if sParam = "mouseUp" then -- or some such wording
gTools.mRecordData("set") -- something clicked caused to go here.
else if sParam = "sendSprite"
gTools.mRecordData("get") -- something else happened, so go here.
end if
end
Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
