 |
|
| Author |
Message |
Joannes
New Member
Joined: 26 Jan 2010
Posts: 1
Location: Utrecht, Netherlands
|
Posted:
Tue Jan 26, 2010 9:49 pm |
  |
Hi there,
Any good solutions on how to be able to return to a frame after visiting several other frames?
This for example if you can go to a "settings frame" from any where in the project and if you can then select several options (that will lead to other frames) from the "settings menu". How then to get back to the game?
thanks for any advise,
Joannes |
|
|
  |
 |
Mystery
Forum Admin and Games Page admin

Joined: 04 Feb 2006
Posts: 2873
Location: Switzerland
|
Posted:
Tue Jan 26, 2010 10:16 pm |
  |
|
    |
 |
reneuend
Elite
Joined: 22 Nov 2008
Posts: 1092
Location: Midwest Cornfield, USA
|
Posted:
Thu Jan 28, 2010 3:05 am |
  |
If I understand correctly, its not that you want to go several frames back, but that you want a settings page(s) that you can go to and when finished have it automatically take you back to the game.
all you need to do is create a hotspot that will take you to the "Main Settings" frame. In this hotspot you will add a little bit of code to save the current frame name.
First, create a variant variable called, "CurrentGamePage"
Next,
put the following code under every hotspot that takes you to the "Main Settings" frame. (it goes in the advanced tab)
| Code: |
CurrentGamePage = Action.GetCurrentFrameName
Action.GoToFrame "Main Settings", 1,1
|
From the "Main Settings" frame, you would add the following code under the hotspot that returns you to the game. (in the advanced tab)
| Code: |
Action.GoToFrame CurrentGamePage, 1, 1
|
|
_________________
-----
See my work at http://www.hickchickgames.com |
|
    |
 |
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB
© 2001, 2002 phpBB Group :: FI Theme ::
All times are GMT + 1 Hour
| |