the script in the frame script channel IS a sprite. It's sprite(0). It rcvs a beginSprite event to trigger a beginSprite handler if it has one.
-Buzz At 5:32 PM -0300 10/28/01, Agust�n Mar�a Rodr�guez wrote: >Hi, Irv! > >It seemed strange to me the on beginSprite in a frame script because >if it is not >attached to a sprite, in the begin of wich sprite would that handler be >triggered? Just that.. I saw it work but it has not much logic to me. Well, my >brain isn�t working 100% today �cos saturday night fever... Maybe that�s the >reason why I prefer to use on enterFrame or on prepareFrame rather than on >beginSprite in a frame script. > >Irv Kalb wrote: > >> If he were going to restructure this at all, I would suggest that he >> rewrite it to be a behavior using "spriteNum", and attach it to >> sprite 1, instead of having the frame script telling sprite 1 what to >> do. > >That�s �cos your da OOP man!! :) Yeah, I like that way too. > >Regards, >Agust�n. > > >[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!] [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!]
