I wanted to put together a photogallery with the sliding thumbnail and when the user mouseOver's the thumbnail you see a slightly larger picture before clicking and loading into the picMc. What is that call, and how do I do it. Is it an attached movie kinda thing?
mouseOver Zoom
Started by cupaball, Oct 11 2006 09:51 AM
3 replies to this topic
#1
Posted 11 October 2006 - 09:51 AM
#2
Posted 11 October 2006 - 11:58 AM
basically just a movieclip with an invisible button on it, then using a tween class you can scale the picture to the desired size.. search for slideshow or photogallery on this page, I've spotted something similar a while ago on the flash tutorial list.
#3
Posted 11 October 2006 - 10:31 PM
Here's a quick way.
First: Set the registration point of the thumbnail mc to be in the center.
Then add this code.
That's it.
Change the 120 number to whatever scale you want it to be. 120 = 120%
That will make it pop up to the 120 scale instantly.
First: Set the registration point of the thumbnail mc to be in the center.
Then add this code.
{mc instance name}.onRollOver = function(){
this._xscale = this._yscale = 120;
}
{mc instance name}.onRollOut = function(){
this._xscale = this._yscale = 100;
}
That's it.
Change the 120 number to whatever scale you want it to be. 120 = 120%
That will make it pop up to the 120 scale instantly.
#4
Posted 13 October 2006 - 10:43 AM
PixelHiveDesign, on Oct 11 2006, 11:31 PM, said:
Here's a quick way.
First: Set the registration point of the thumbnail mc to be in the center.
Then add this code.
That's it.
Change the 120 number to whatever scale you want it to be. 120 = 120%
That will make it pop up to the 120 scale instantly.
First: Set the registration point of the thumbnail mc to be in the center.
Then add this code.
{mc instance name}.onRollOver = function(){
this._xscale = this._yscale = 120;
}
{mc instance name}.onRollOut = function(){
this._xscale = this._yscale = 100;
}
That's it.
Change the 120 number to whatever scale you want it to be. 120 = 120%
That will make it pop up to the 120 scale instantly.
Thanks, I will give it try and let you know how it worked out.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
