Slappy101 I post too much
Reputation: 1
Joined: 19 Jun 2007 Posts: 2602
|
Posted: Sun Oct 19, 2008 5:54 am Post subject: [Action Script] Loading/Displaying vars from scene? |
|
|
In a current game I'm working on I have a menu that you can open up as an MC. Inside that menu are some dynamic txt boxes (gold, exp etc.). I wanted to keep these going throughout the whole game so I put them all on a blank scene.
Now the problem I'm having is, how can I display/set these? I've tried _root.Vars(scene).gold and _root."Vars".gold etc. but can't seem to get it to work... Is this even possible? If not, what's a good way I can keep these variables going through levels/battles without them being reset?
_________________
|
|