Solved

Disable buttons under other buttons

Posted on 2003-10-23
3
182 Views
Last Modified: 2012-05-04
I have a horizontal navigation on the bottom of my flash site that activates a vertical tab slider movieclip when the link is clicked on.  When the tab nav slider expands upward and I mouseover the links on it, the slider overlays other buttons on the scene and they start to mouseover and are clickable.  How do I disable the  buttons in the scene from activating when the horizontal tab navigation is running.
0
Comment
Question by:madasczik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 500 total points
ID: 9610537
On flashmx, you can disable the single button with:

button_instance_name.enabled = false;

on flash 5, you can put your buttons inside a movieclip, and make it invisible when the slider is running:

movieclip_instance_name._visible = 0;

then make it visible when hiding slider..
0
 

Author Comment

by:madasczik
ID: 9611780
Will be using flash 5, basically the hit targets are overlapped.  Is there any code that I can put on the slider to just disable the hit area of the page button?  I don't want to change the visibility because I'm using transparency on the sliders so you can see the content underneath.
0
 
LVL 2

Expert Comment

by:AshleighGreen
ID: 9611968
Well, it's a bit ugly, but,

you could put all your buttons inside movie clips, button in frame 1, button (as a graphic) in frame 2. When the slider comes out, it tells the buttons (movie clips) to go to frame 2 (images) and the slider goes away it tells them to go back to being buttons.

A bit simpler, but even more ugly,

make the backing for the slider a button, with no functionality (you may need pointless functionality, I forget) then buttons under it arn't executed, unfortunately with this method, it always looks like the user is hovering over a button while the mouse is above the slider, as such, if you don't have a massive amount of buttons effected, I'd use the first method.

Hope this helps,
-Ashleigh
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question