> Suppose we have a sprite that takes up frames 1 through 5. The
> frame has a behavior attached to it. The behavior has some
> properties. What happens to those properties once the
> playback head reaches frame 6?
>
> Please mark the correct answer by circling the letter of one of the
> following statements
>
> a  The properties vanish into the black hole of the computer's memory.
>
> b  The properties are still available.
>
> c  None of the above.
>
> d  All of the above

e  It depends...

property pMyFavoriteColor
property pMyFavoriteNumber

on beginSprite me
  pMyFavoriteNumber = pMyFavoriteNumber + 1
  put pMyFavoriteColor
  put pMyFavoriteNumber
end

on getPropertyDescriptionList me
  p = [:]
  p[pMyFavoriteColor] = [#comment: "My Favorite Color:", #format: #symbol,
#default: #blue]
  p[pMyFavoriteNumber] = [#comment: "My Favorite Number:", #format: #float,
#default: pi]
  return p
end





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

Reply via email to