At 20:58 +0530 2001_12_04, Sandeep Khomne wrote: >1) Parent script and Behavior both are classes whose instances can be >created.
Yes, but strictly so are also movieScripts. >2) Constructors: > On new me - parent. Well, esoterically; "new" is a constructor-method of the "script", and the "new" handler you define in the scripttext, is just a handler that - if available - is called to the instance *after* creation. I know this is a very esoteric distinction, but at least it makes sense to me, though the explanation really deserves to be a bit deeper... ;-) And why restrict the relevance of "new" to parentScripts? It is really the same for any script-type, even though it is fair to say, that inadvertently having a "new" handler in a movieScript classically causes grief over "why can't I create new members??". > On beginSprite me - behavior. Gwaff?? "beginSprite" is hardly a constructor method, it is merely a handler that receives a specific score-event. Cheers, Jakob [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!]
