return in the frame

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

return in the frame

Postby Giuseppe » Thu Feb 23, 2012 8:22 pm

Hi
I've a problem.
the game enter in the frame where is a texbox.
The texbox does not appear immediately.
Image

The txtbox appear only when I click hotspot in another frame with variables= doc set to 1
When I click, the texbox appear and it's ok because in the frame proprieties I write: if doc=1 then ...simulatehotspostclick 14" (is hotspot with texbox)

The problem is When I return to that frame, the texbox appear.. There is a way to make it not appear when I return another time in the frame?
Giuseppe
Frequent Poster
 
Posts: 147
Joined: Wed Mar 12, 2008 12:01 pm

I know

Postby Harvester » Thu Feb 23, 2012 8:33 pm

I know it won't help you a lot, but your frame looks fantastic! :)

Harvester
*** www.nikotinzenekar.hu <-2011. album titled 'Mese' free to download! (5th button). *** www.mydarkmind.atw.hu <- under construction for a while.
User avatar
Harvester
Forum Master
 
Posts: 883
Joined: Mon Jan 10, 2005 6:28 pm
Location: Hungary

Postby ShadowHunter » Thu Feb 23, 2012 9:43 pm

Hi,

Skip the simulate hotspot workaround and use:

Text(4).visible = false

In the advanced properties of the fame, in the hotspot you want to click to make the text appear code like this

Text(4).visible = true

Good luck,

ShAdOwHuNtEr
Last edited by ShadowHunter on Thu Feb 23, 2012 9:48 pm, edited 1 time in total.
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium

Postby Giuseppe » Thu Feb 23, 2012 9:46 pm

ShadowHunter wrote:Why don't you just set the variable back to 0 when leaving the frame?

Because the first time the texbox must to appear. The second, third..time, don't must to appear.

The hotspot for return in the frame is the documents frame.
Giuseppe
Frequent Poster
 
Posts: 147
Joined: Wed Mar 12, 2008 12:01 pm

Postby ShadowHunter » Thu Feb 23, 2012 9:49 pm

Okay, you beat me in posting repsone, check my solution above :-) Combine it with a global variable...
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium

Postby Giuseppe » Thu Feb 23, 2012 10:32 pm

ShadowHunter wrote:Hi,

Skip the simulate hotspot workaround and use:

Text(4).visible = false

In the advanced properties of the fame, in the hotspot you want to click to make the text appear code like this

Text(4).visible = true

Good luck,

ShAdOwHuNtEr


"in the hotspot you want to click to make the text appear code like this"
this hotspot is in another frame.
Giuseppe
Frequent Poster
 
Posts: 147
Joined: Wed Mar 12, 2008 12:01 pm

Postby mercedes » Fri Feb 24, 2012 5:08 am

If i understand you correctly..;

Text can't be de-activated from another frame..unless you use merging frames..i beleive..or perhaps a global variable.

You'll get a control element error..trying to from another frame..

I think one of the only things you can do is to disable the hotspot where the text appears..from within the same frame..

So once DOC = 1 you go to frame..click..and the text appears..
Then, disable it..in a hotspot in the same frame..text().visible = false

Or another way to go..use a transparent picture with text on it instead..

I hope this make sense..
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests