Interesting alternatives...

Why don't you test it?

Attach the following behhavior to a sprite spanning only frame 3:

property MyCounter

on beginsprite me
  MyCounter = myCounter + 1
  put Mycounter
end

Then have another script in frame 1, sending the playback head back to frame
one.

Start the movie...

If your message window output is
-- 1
-- 1
-- 1



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Enrique Nivasch
> Sent: 1. heinäkuuta 2001 16:02
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Life span of properties
>
>
> It's me again.
>
> What happens to the properties of a behavior attached to a sprite
> when the
> playback head of the movie moves to a frame that is beyond the length of
> the sprite?
>
> Now folks let me restate my question.
>
> 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
> Enrique
>
> ------------------------------------------------------------------
> ----------
> -------------
> Sr. Enrique
> Libros, Multimedia y Software en Castellano
>
> Visite nuestra tienda online:
>      http://www.SrEnrique.co.il
> Dirección electrónica
>      mailto:[EMAIL PROTECTED]
> Teléfono y Fax:
>      +972 9 744 4701
> Dirección postal:
>      Sr Enrique
>      P.O. Box 875
>      Ra'anana 43108
>      Israel
>
>
>
> [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!]

Reply via email to