Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi Yall! Ok here it is: i'm lookin

Status
Not open for further replies.

Gasbag

Technical User
Jul 24, 2000
24
NL
Hi Yall!
Ok here it is: i'm looking for a simple way of conceiling buttons... I tried to lay a gigantic rect over the whole movie (used to work in Flash4) but now i can click the buttons trought that! Look at to see what i mean. Choose "The Game" -> "Game"

Gasbag-->

Gasbag's Gas-of-the-Day:
tnx.
 
Can't you just load your game movie on level 0, thus replacing your menu movie with this game movie! With your back button, you can do the same to come back to the menu!

;-)
 
No cause i want it to be an overlay...
Check out the url to see what i mean...
Choose from the menu: "The Game" -> "Game"
 
Ok! Have you tried laying your menu background in the game movie, as a simple background! When loading the game movie, with the overlay menu background, shouldn't then the buttons be inoperative?

If not! Anybody else II?

;-)

 
hi

you could try setting a variable on the button event, which is itself checked by the button event. hmmm! :

On (Press)
If (disable=0)
Load Movie ("yourmovie.swf", 1)
End If
Set Variable: "disable" = 1
End On

or in flash5...

on (press) {
if (Number(disable) == 0) {
loadMovieNum ("yourmovie.swf", 1);
}
disable = 1;
}

Then all you have to do is reset "disable" to 0 when you unloaded the new movie. The new movie should sit over the buttons, but they will be deactivated because they've disabled themselves. I haven't tested this but I'm pretty sure it'll work.

Worth a try
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top