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!

1 question about buttons, and 1 about loading

Status
Not open for further replies.

whymindgame

Technical User
Oct 27, 2004
2
US
these are probably stupid questions, but i need to know how to make animated buttons, i tried linking the button to a movie when you are over it, and it didnt work. also i need to know how to make my whole site into one movie to where it show the "loading" with the amount of the site is loaded thanks
 
Button: (Among other solutions) Create a movieclip with frames labelled "_up", "_down" and "_over". (That creates a button movieclip). You might also have to define a this.onPress() or this.onRelease() method (it can be blank). Put your relevant movieclips in the relevant frames and that's your animated button.

Loading: You need to create yourself a preloader that loads in your main movie into itself. (Using loadMovie()). Then you can use getBytesLoaded() and getBytesTotal() to calculate and indicate your percentage loaded...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top