View Full Version : VERY quick question (honestly)
mindfriction
April 3rd, 2003, 09:45 PM
Hi there,
If a variable is declared in a movie as global (_global). Is this variable available to a movie which loads this movie via LoadMovie() ?
i.e. parentMovie loads childMovie.swf
lostinbeta
April 3rd, 2003, 10:42 PM
Yeah, but I tried that before and for some reason it kept resetting my variable.
Instead of getting all upset about it, I just put the variable in the main timeline and called it as _root.variableName
It works with loaded movies that way as well.
I don't know if I was doing something wrong with _global, or if it is a bug, I didn't mess with it too much because I just wanted to get the script done with....lol.
mindfriction
April 3rd, 2003, 11:51 PM
LOL.. yeah Im at the same stage where i just want to get things working. I figured i could post this question before I started breaking things, ..Oh Well :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.