Improving a rollover(and rollout) menu

Simple question for the chiefs reading and posting in this GREAT Flash based forum (you rocks guys! :wink: ).

I got an horizontal menu with 6 different links (button i made in flash).

Iā€™d like to know how to have a little circle that zoom itself (increasing) when i go to rollover the button and then zoom (decreasing) when i rollout the button. Same thing for the other buttons. I know how to do it without actionscript but i think it will be easier to have an ā€œactionscripted instanceā€ of that circle (or whatever iā€™d like to zoom) over every voice of my menu (biography, gallery, etc etcā€¦).

Eg:

I rollover a button ā€”> the cirlce zooms.
I press that button ā€”> the cirlce remains zoomed.
I rollover another button ā€”> the circle that i zoomed before desappear smoothly and another circle appears (zooming) over the button iā€™m going to press.

And so on for all the buttons i got.

Sorry for my bad english and for the confusing (hope not) question iā€™ve posted.

Really thx for the attention guys :wink:

::: KIRUPA(dot)COM ::: ROCKS!

Cya!

Supadiri

You didnā€™t mention 3d in your first post. May be you should explain about the 3d object yo want.
As for the zoomig effect, you can use claudioā€™s code for a movie clip of your choice.
If you decided to use the code and had problems then post your questions.

Kā€¦

I checked the post you gave me b4 and thatā€™s my new ā€œrookieā€ problem :wink: :

  1. Iā€™ve created a red circle on the stage (level1) , no borders.

  2. Converted to an button instance named ā€œpulsanteā€

  3. Applied this little as modified by the first one of Claudio :

// this is what iā€™ve added, just the action for the mouse, the ā€œ}ā€ at the end of the code and the name ā€œpulsanteā€ instead of my_movie_clip generic

on (release) {
MovieClip.prototype.zoomInAndOut = function(n, s) {
this.speed = s;
this.scale = this._xscale;
this.zoom = function(d, s) {
this.onEnterFrame = function() {
if ((this.scale>=100n && d == 1) || (this.scale<=100 && d == -1)) {
delete this.onEnterFrame;
} else {
this.scale += d
this.speed;
this._xscale = this._yscale=this.scale;
}
};
};
this.onRollOver = function() {
this.zoom(1);
};
this.onRollOut = function() {
this.zoom(-1);
};
};
pulsante.zoomInAndOut(3, 30);
}

The flash bebug gave me no errorsā€¦but nothing new happen to the button.

No actions, nothingā€¦just a red dot on the stage?

Any solutions? I know youā€™ve got! lol :snug:

Cya!