On Wednesday, Mar 5, 2003, at 20:55 America/Chicago, Alan Neilsen wrote:

I have just noticed the following code in the library behaviors "Jump to Marker Button" and "Jump to Movie Button"

on mouseUp me
  Jump me
end prepareFrame

Can someone tell me if this is an error?

It is, but it won't cause problems. Director doesn't care about anything past the 'end' keyword, and in fact with implicit handler termination (one ends where the next 'on' statement begins), even the 'end' is not *strictly* necessary, though it's good practice to use.


I tend to wrap my handlers with a reprise of the definition (on doThis... end doThis), as do most folks, to let me know, if I happen to be looking at the tail of a *really long* handler, what that handler is supposed to be. That behavior just happened to get the wrong event at its end statement, but again, it won't lead to problems as far as Director is concerned.


Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://shop.osborne.com/cgi-bin/osborne/0072195622.html

[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!]

Reply via email to