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

Re: Control Panel: Rewind

Subject: Re: Control Panel: Rewind
From: "adam@blueapplestudio" <webforumsuser@xxxxxxxxxxxxxx>
Date: Thu, 29 Nov 2007 17:49:07 +0000 (UTC)
Newsgroups: macromedia.director.basics

Andrew,
 I'm not doing that as I thought it wasn't necessary with JavaScript, only 
Lingo.  What is the syntax for that in Java?  You seem to be able to access the 
variable from other Behavior scripts without it just fine (See the attached 
code example).


 //This is a Movie Script.
 function startMovie() {
   gMyArray = ["A", "B", "C"];
 }

 //------------------------------------

 //This is a Behavior Script on frame 2.
 function exitFrame(me) {
   trace(gMyArray);
 }


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