View Full Version : Thumbnails
Batman124617
January 24th, 2003, 03:53 PM
Hola! This is question is a take off of my post in the Flash MX forum regarding creating thumbnails. I'm trying to create thumbnails for a pic gallery and would like to have an over-button state that will make my little thumbnail increase in size a little to indicate that this is the picture the viewer is going to view. I don't know how to go about making this button and I'm trying to figure out if there is a way through action script to do this. This way I don't have to make the over state a movie and increase the size manually... :crazy: :bandit:
eyeinfinitude
January 24th, 2003, 10:08 PM
You can use the x and y scale properties to scale the thumbnail when you mouse over. I'm sure theres better ways to do this, but I'll show you what I could think of.
on (rollOver){
this._xscale = 150;
this._yscale = 150;
}
on (rollOut){
this._xscale = 100;
this._yscale = 100;
}
Just place your image inside a movieclip and then apply the correct sizes to the script above. I attached a sample fla to help you understand what I'm talking about. Hope it helps. =)
jayemsee
January 28th, 2003, 05:57 PM
script that to ease in and out instead of popping into place?
eyeinfinitude
January 28th, 2003, 06:03 PM
There is probably a way to script that, but I don't know it. The only way I would do it is to have it tween in and out with easing applied from the properties panel.
jayemsee
January 28th, 2003, 06:16 PM
how would you do that, create a but, make it a mov, and than add actions and frame lables?
on rollover
gotoand play
"over"
on rollout
gotoandplay
"out"
??????????????
j@yemsee
eyeinfinitude
January 28th, 2003, 06:17 PM
there you go, that's one way, go ahead and try that.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.