This is plain and simple, why is it not working?
BUTTON
_global.section = "GettingStarted/GettingStarted.swf";
_ROOT FRAME
_root.loadBox.loadMovie(section);
Thanks ahead of time!
This is plain and simple, why is it not working?
BUTTON
_global.section = "GettingStarted/GettingStarted.swf";
_ROOT FRAME
_root.loadBox.loadMovie(section);
Thanks ahead of time!
what frame? When is that frame run? AFTER the button is pressed?
Try to
trace (section) ;
before loading the movie
I’m gonna change the code on you real fast, but it’s the same situation.
My _root is stopped on a frame which has this code:
_root.titleBox.attachMovie(title,"newtitle",1);
The buttons has this:
_global.title = "gettingStartedTitle";
When the button is pressed, the _root does not move, it stays “stopped” in that frame.
I don’t understand why some of my _globals will work when stopped in a single frame, but others won’t. All this was working before… I don’t know what has gone wrong.
I can provide the souce if you like…
I appreciate the help.
When you try tro reference title is is looking for _root.title. Try prefacing it with _global.
[AS]_root.titlebox.attachMovie(_global.title,“newtitle”,1);
[/AS]
That should do it.
Sorry Rolando… that didn’t work either. I’ve attached an example so all you peeps can see how weird these _globals are acting.
Check it out.
skillet,
Because you have
_root.titleBox.attachMovie(_global.title,"newtitle",1);
in the first frame it only happens upon loading the file. When you click one of the buttons the _global is set but nothing else happens. Put the above code in the on(release) command of each button.
Ah, I see, but in that case, it’d probably just be easier to do it this way.
_root.titleBox.attachMovie("movieTitle1","newtitle",1);
Less code… No reason to set a _global if it’s going to excute on the very next line of code.
I appreciate all the help!
:: Copyright KIRUPA 2024 //--