When is it better to use a button vs a movieClip.
especially in regards to the following items:
-Link to a webpage (getUrl)
-Tween size, color, or alpha of the object when moused over
-controlling other objects (i.e. text appears when mouseover or press)
-do a combination of the above in one object.
The reason I ask is due to this problem.
I have a movie clip which when moused over zooms in on the graphic and when clicked launches a web page.
I tried to do the same thing with a button but when I mouse over the button the whole page zooms. I attached this script to the button.
on (rollOver){
while(this._xscale < 125){
this._xscale += 5;
this._yscale = _xscale;
}
}
The button is active only on one frame and there are several other buttons on the frame. it is a links page.
especially in regards to the following items:
-Link to a webpage (getUrl)
-Tween size, color, or alpha of the object when moused over
-controlling other objects (i.e. text appears when mouseover or press)
-do a combination of the above in one object.
The reason I ask is due to this problem.
I have a movie clip which when moused over zooms in on the graphic and when clicked launches a web page.
I tried to do the same thing with a button but when I mouse over the button the whole page zooms. I attached this script to the button.
on (rollOver){
while(this._xscale < 125){
this._xscale += 5;
this._yscale = _xscale;
}
}
The button is active only on one frame and there are several other buttons on the frame. it is a links page.