all groups > flash actionscript > june 2004 >
You're in the

flash actionscript

group:

how to simulate a pop-up window


how to simulate a pop-up window keith brickey
6/24/2004 11:38:48 PM
flash actionscript:
I need to simulate a pop-up window superimposed over a move clip that has
several buttons. I need to disable those buttons while the pop-up is
visible. Is there an easy way to disable the buttons on the underlying move
clip, or to restrice focus to just the pop-up?

Thanks,

Keith

Re: how to simulate a pop-up window Peter Blumenthal
6/25/2004 10:16:07 AM
urami's is the proper way to do it. if however you want a quick and easy
cheat, in your simluated 'pop up', make the bottom layer of the popup mc a
button, of a size that covers the entire stage. Set it's useHandCursor() to
false. This will block clicks to any buttons below, while still allowing
buttons in your popup mc to work, but not make it look like the whole stage
is a button.

Re: how to simulate a pop-up window urami_
6/25/2004 3:44:18 PM


[quoted text, click to view]

give the buttons counter productive instance names , but1 but2 but3 but4 etc...
Than using FOR LOOP you can disable all at once with the button disabling properties :
..enabled = 0; and turn turn them back on .enabled = 1;


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
If you try to mail me , DO NOT *laugh*
AddThis Social Bookmark Button