macromedia.director.basics
[Top] [All Lists]

Re: Control Panel: Rewind

Subject: Re: Control Panel: Rewind
From: "adam@blueapplestudio" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 27 Nov 2007 17:26:31 +0000 (UTC)
Newsgroups: macromedia.director.basics

Resetting the 3D content works wonderfully; thanks.

 Is there a similar approach to reset variables?
 Ex:  In a Movie Script a global variable is declared: aDogs = ["poodle", 
"mutt"];
 Later in an exitFrame function I remove aDogs[1] from the array.
 When I rewind the movie and play from the start, my array aDogs doesn't reset 
to how it's defined in the Movie Script.

 I tried using a startMovie function both within the Movie Script and in a 
Behavior on frame 1 to no avail.

 Any thoughts?


<Prev in Thread] Current Thread [Next in Thread>