![]() |
![]() |
||||||
|
|||||||
| Tags: check, click, screen |
![]() |
|
|||
|
Hi,
I have a set of buttons on screen but want to check if the user clicked anywhere else on screen and if so issue a prompt to tell them to click on one of the buttons. Do I have to set up the whole screen as a button too? Cheers Kol |
| Sponsored Links |
|
|||
|
kolnikoff wrote:
> Hi, > > I have a set of buttons on screen but want to check if the user clicked > anywhere else on screen and if so issue a prompt to tell them to click > on one of the buttons. > > Do I have to set up the whole screen as a button too? > > Cheers > > Kol Forgot to mention I'm using AS 2.0 for this. I'm thinking along the lines of: check if the mouse button is pressed and use the switch statement to action any button presses with the 'default' option to be actioned if no matching button presses were recognised.... anybutton(onPress)???? (use a listening event???) switch (anybutton) case btn1: //button one clicked do something break case btn2: //button two clicked do something else break default : //this is the click anywhere else on screen case show a prompt on screen to tell user to ckick on buttons break Just can't get my head round the actual code at the moment!!! hope you can help cheers Kol |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise