button problem!

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 18th, 2007, 08:56
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote

  #2 (permalink)  
Old Jun 18th, 2007, 09:35
Up'n'Coming Member
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cocoonfx
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?
Reply With Quote
  #3 (permalink)  
Old Jun 18th, 2007, 09:53
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #4 (permalink)  
Old Jun 18th, 2007, 10:10
Up'n'Coming Member
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cocoonfx
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.)
Reply With Quote
  #5 (permalink)  
Old Jun 18th, 2007, 10:17
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #6 (permalink)  
Old Jun 18th, 2007, 11:04
Up'n'Coming Member
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cocoonfx
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.
Reply With Quote
  #7 (permalink)  
Old Jun 18th, 2007, 11:21
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #8 (permalink)  
Old Jun 18th, 2007, 12:33
Up'n'Coming Member
Join Date: May 2007
Location: Tamworth
Age: 30
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cocoonfx
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 (For Free) i only require you to place my link www.cocoonfxmedia.co.uk on your website.

I have also attached something simular i found on the net.
Attached Files
File Type: zip navigati-TuLpFiCT-4980.zip (16.4 KB, 18 views)
Reply With Quote
  #9 (permalink)  
Old Jun 18th, 2007, 13:41
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #10 (permalink)  
Old Jun 19th, 2007, 06:59
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: button problem!

I see your problem, just do an inv_button or disable the hand cursor on that button. Either solution will work for you, or heck you could just disable the button when the drop down is clicked.
Reply With Quote
  #11 (permalink)  
Old Jun 19th, 2007, 09:16
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #12 (permalink)  
Old Jun 19th, 2007, 22:05
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: button problem!

Well that is kinda a inv_btn...but not really. Well at least you figured it out!
Reply With Quote
Reply

Tags
button

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 15:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43