Hehe, I suspected that this question would come, this is why I asked your earlier:
Mystery wrote:
Would you like your balance (value of your money variable) to show up on 1 screen or on several screens?
Let me check my demo project to provide you information how you can do that - will be back soon
EDIT
Create a frame called Money or Stats.
Right click on it, and add some text as a place holder (just like you did before on the Bank frame, but there please remove the text now).
In the
Advanced Tab of the Hotspot Properties which should change the value of your Money variable, add something like:
- Code: Select all
Money=Money+10
i = Action.GetMergedTextIndex
Text(i).Caption="Money: "+CStr(Money)
Then go to
Project Properties -> Advanced Tab -> Execute some VBScript code every time that a frame is loadedand add:
- Code: Select all
i = Action.GetMergedTextIndex
Text(i).Caption="Money: "+CStr(Money)
Then click
Runtime Frames Merging (on your Project Menu), and highlight/select all the frames on which you would like to display the value of the Money variable.
From the drop-down menu (Merge With) on the right, choose your Money or Stats frame.
Then click Assign.
I hope I haven't forgotten anything, if something doesn't work, let me know what, and I'll check my code.