Jump to content


mouseOver Zoom


  • You cannot reply to this topic
3 replies to this topic

#1 cupaball

    Young Padawan

  • Members
  • Pip
  • 25 posts
  • Location:Philly

Posted 11 October 2006 - 09:51 AM

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?

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

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 PixelHiveDesign

    Young Padawan

  • Members
  • Pip
  • 83 posts
  • Gender:Male

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.

{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 cupaball

    Young Padawan

  • Members
  • Pip
  • 25 posts
  • Location:Philly

Posted 13 October 2006 - 10:43 AM

View PostPixelHiveDesign, 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.

{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