This is a discussion on "button problem!" within the Flash & Multimedia Forum section. This forum, and the thread "button problem! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
button problem!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
button problem!
i'm having a slight issue with flash buttons.
basically, there is a button that has to be on the stage throughout the movie. there is dropdown menus above the button, and the problem is that when the dropdown goesover the button, you can still select the button that is behind it. so is there any code that stops a button being selectable or something? i can;t just delete it from the stage when the dropdown comes down as everything is in movie clips on the stage. any help appreciated. |
|
|
|
|||
|
Re: button problem!
Hi
Sound like you have button on a layer above the navigation button. I would move the layer with this button below the drop downs or change the postion of this button as it sounds a little messy. Could you post the .swf file in it current state? |
|
|||
|
Re: button problem!
Thanks for the reply. I have mocked up a quick movie to show you what i mean:
http://www.6spot.com/stuff/button/button.html as you will see, the button is still selectable even when the dropdown movie clip covers it. the button is definitely on the lowest layer. |
|
|||
|
Re: button problem!
OK i can see whats going on. You need to add some action script to the nav bar drop down.
So you need to add on roll over and on roll off and then a command. If you look at a post a did yesturday in the (Flash and Multimedia area) Flash image link with rollover and sound on click I upload .fla file with some buttons. If you look at the code you may be able to work out how to fix the problem. I would actually suggest that you change the layout as this would make it a lot easier!. If your still stuck send me the .fla and i will amend the .fla to show you how i would do it. (but please have a go as its not too difficult to work it out.) |
|
|||
|
Re: button problem!
Thanks for the reply.
The problem is, I can't make the dropdown a "real" dropdown as I don't want it to be selectable at all (ie no "hand" when rolled over.) In the real movie it just contains a photo. I know the layout isn't ideal, but this is how the client wants it. So basically, with what I've show you above, is there any way of leaving the actual drop down without any roll over code, and still make the button behind not selectable? |
|
|||
|
Re: button problem!
Hold on then you need to place an image then this is a bad design floor.
If you look at www.theglory.co.uk and go to pictures. If this is what your looking to do i can send you some code. I would seriously change the layout if you want the drop down to appear. |
|
|||
|
Re: button problem!
It's similar to that, but unfortunately I can't change the layout because the contact details are below the photos and have to stay there all the time because the drop down is in a movie clip, not on the same timeline.
No worries if it's not possible. |
|
|||
|
Re: button problem!
Its possible to do this but so you need the contact details of the photography showing all the time.
The image then appears from the top as per your example. When do you need to have this done as i can have a look this evening to recreate something for you and then i send it too you to see if it matches your clients requirements. I then can provide you the files and you can claim as your own I have also attached something simular i found on the net. |
|
|||
|
Re: button problem!
no sorry mate the dropdown image has to cover the contact details. strange i know, but that's how they want it. too late to start changing it now, if this won't work i'll just have to leave it.
thanks anyway though. |
|
|||
|
Re: button problem!
thanks for the responses guys, figured it out in the end. just put the button in a movie clip, 1 frame with the rollover code and one without, then just jumped to whichever frame was needed if the dropdown was up or down.
|
![]() |
| Tags |
| button |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] animated button problem | ahwell | Flash & Multimedia Forum | 3 | Nov 5th, 2007 21:09 |
| Flash Button Problem - please help! | miguelvlima | Flash & Multimedia Forum | 3 | Mar 29th, 2007 13:17 |
| button hit area problem flash | flipmodea | Flash & Multimedia Forum | 4 | Mar 19th, 2007 12:22 |
| hover button problem | slumber | JavaScript Forum | 2 | Jul 8th, 2006 11:10 |
| problem with radio button in form validation | augustus_emperor | JavaScript Forum | 1 | Apr 22nd, 2004 13:08 |