Expanding+Buttons

[|expandingbuttons.swf]

Put stop; on the first frame.

Create rectangles and convert them to the movie clips.

Attach the following code to the movie clips:

onClipEvent(load) { //newscale = 100;// //}//

//onClipEvent(enterFrame) {// //if (this._xscale > newscale) {// this._xscale -= 10; this._yscale -= 10; } else if (this._xscale < newscale) { //this._xscale += 10;// //this._yscale += 10;// //}// //}//

//Double-click on the movie clips and convert rectangles to buttons - you should have 5 buttons:// //**Home, Search, Email, About, Map.**//

//Attach the following code to all buttons://

//on (rollOver) {// newscale = 150; } on (rollOut) { //newscale = 100;// //}// //on (release) {// gotoAndPlay(2);

}