Drop Down Menus - Be a Flash Menu Master! - In the layer...
(Page 6 of 6 )
Stage 12
In the layer beneath the menu options in the "open" frame I'm going to drag the "button-invisible menu" out from the library, one for each menu option and resize them to fit. The script for each of these buttons determines where the user goes when they click... in this case, I'm simply going to load another web page in a frame, you can see the script in the picture.
Stage 13
Finally, when the user "rolls off" the menu, we want to return to the "closed" frame. The best way to make this happen is to have 3 or 4 huge invisible hit areas to catch the users mouse. Create another invisible button as in stage 8, only filling in the hit area, and add the script to the new button as in the picture, then duplicate twice.
Stage 14
Repeat this for each main menu option you need. I followed the whole process 4 times for my menu. Be sure to reuse the invisible buttons as often as possible, as this reduces the final file size of the movie. After all, a simple menu doesn't have to be over 200k!
JP74 Ltd, Digital Agency
About The Author
Jake Smith is Creative Director for JP74, an interactive digital media company based in Blackburn, Lancashire. For further information see http://www.jp74.com
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |