Tom Hines <[EMAIL PROTECTED]> wrote: > Once a behaviour has been assigned to a sprite and the parameters set via the > Parameters dialog pop-up window, can those initial parameter values be > set to different values without having to reassign the behaviour to the > sprite?
Hi Tom, Select the sprite, open the Property Inspector and click on the cog icon tab. This will display the behaviors present on the sprite. Double-click on any of the behavior names and the original Parameters dialog pop-up window will re-open. You can now change the values. > Also, how is one supposed to know the initial value of a given parameter if it > is only present in memory? Sure you could check by typing "put > <property>" in the behaviour's 'on beginSprite' handler, but that's just a > plain nuisance. I guess the only alternative is to memorize them all. put sprite(<insert sprite number here>).scriptList You can even examine this property in the getPropertyDescriptionList handler, or at any time when the movie is running. You can set it using the setScriptList command. (This will not work during a score recording session). For an example of this, take a look at smart Parameters dialog in the Send Chat Button behavior. You can find this in the Multiuser section of the Library Palette. Cheers, James [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!]
