| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Control Panel: Rewind, Andrew Morton |
|---|---|
| Next by Date: | Re: Control Panel: Rewind, BSpero |
| Previous by Thread: | Re: Control Panel: Rewind, Andrew Morton |
| Next by Thread: | Re: Control Panel: Rewind, BSpero |
| Indexes: | [Date] [Thread] [Top] [All Lists] |