Project Description
Sticky Button

Sticky Buttons are a fun and interesting way to spruce up your website or other Flash project. The buttons stick to your mouse as you roll over them. Depending on the amount of stickyness you set, the buttons will snap back to their original place once they've stretched to their maximum distance.

Sticky Buttons are completely functional like any other button, but have an added fun factor! All you have to do is place a Sticky Button movie clip on the stage and add your event listeners. You can have as many Sticky Buttons on the stage as you would like and can set the text and the amount of stickyness individually for each button.

You can also use Sticky Button code to create other Sticky elements, such as your logo, images, or any other movie clip you want to become sticky!

Uses

  • Create a very unique menu for your website
  • Spend hours playing with your buttons
  • Make your own custom sticky's! - As seen by my logo in the upper right of the preview

Functionality

  • Dynamically change the button label through ActionScript
  • Dynamically change the amount of stickyness of your buttons through ActionScript
  • Easily change the button background color
  • Selected button will stay on top of the others (note the shadow of the selected button)

This file uses Caurana Tweener

Documentation for Tweener can be found at http://code.google.com/p/tweener/

Licensing for Tweener can be found at http://www.opensource.org/licenses/mit-license.php

 

Licensing notice for Caurina Tweener

The MIT License

Copyright (c)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

FlashDen.net