Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opac drop down menu 1

Status
Not open for further replies.

walks

Technical User
May 7, 2001
203
CA
Im somewhat of a newbie to Flash (been developing simple things) and Im wanting to set up a menu that when the button is clicked it will scroll to the left of the page and every other menu option disappears (have this done already). When the user clicks the button again the current menu option returns to its original place and everything else fades back in.

Thats all fine and dandy and wasnt to hard to set up but Im wanting to have a dropdown show up as soon as the button is aligned on the left..and to top it all off I want the drop down to be somewhat transparent so you can kind of see the page (iframe) underneath it.

Was wondering if anyone can point me in the right direction to a tutorial or premade movie so I can try to figure it out myself.

(Thats the kind of transparent effect I want to achieve)

I have stop commands set up so Im hoping that by adding some actionscript at these commands (when the button is aligned on the left) I'll be able to create a drop down. Currently my menu is 800 by 25, am I going to have to make it bigger to make room for the dropdown?
 
Excellent, thanks a lot. I can figure out how to make the drop down but how do I get the effect where you can still see the html, do I have to make the drop down background a lower opacity or is there something else to do?
 
Well if your dropdown's background is opaque, of course it will cover the underlying html. Just reduce the alpha on the dropdown's background till you get the transparency you're looking for.
 
Exactly what I was looking for, thanks a lot
 
Thanks once again, I got another question regarding this drop down.

Wondering if someone could give me some advice on the dropdown menu I created. If you take a look at it in flash it rolls over fine and goes back up but when you look at it through an HTML page it doesnt work, if you scroll down paste the drop down the menu stays open.

Here is the menu Im working on



Also how do I get the button over to stay (On the menu titles) red while Im scrolling the dropdown?
 
If you make a bigger invisible button under the menus, you can set it to read the rollOut...as far as keeping the top red, what code are you using onRollOver to get your menus to play out?

Adam
 
Yep, I had the exact issue, while using the exact script you're using. What I did was draw a big box under the fully extended menu size, set the alpha to 0. This way, the "else" in the hitTest was recognized once you scrolled off of the menu. And as far as having the red stay, you could just add it into frames 2-14 in your menu MCs.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top