FORUMS: list search recent posts

Scrolling Thumbnail Panel

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Evelyn Khoo LC
Scrolling Thumbnail Panel
on Jul 28, 2010 at 11:41:05 pm

Hi there! I need help. I followed this tutorial by Brimlow very closely. One thing is that my scrolling is not smooth. How do I make it smoother?

My size of image is 150 x 150.

My stage is 850. My thumbnails are on the right. Meaning to say that it is irregular size. The right column is bigger and the left column is small.

And this is the code:

panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollPanel() {
if(_xmouseb.xMax || _ymouseb.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}

if(panel._x >= -230) {
panel._x = -230;
}

if(panel._x <= -1399) {
panel._x = -1399;
}

var xdist = _xmouse - 125;

panel._x += Math.round(-xdist / 25);
}


Is there something wrong here? Is my speed to high or what? Please advise and please help. Thanks a million.


Return to posts index

Clint Milner
Re: Scrolling Thumbnail Panel
on Jul 29, 2010 at 2:09:36 pm

For smoother motion you can increase your project's frame rate to 30 or 40... or 100, but remember, the higher the frame rate, the more CPU power you'll use on your computer.

Hope that helps,

Clint

Adobe CS4 Master Suite
Vista Ultimate 64 SP1
Intel Core i7 920 @ 3.60GHz
12 GB DDR3 RAM
NVidia Quadro FX 3700
Matrox RT.X2 LE Capture Card
4 TB RAID 5


Return to posts index

Evelyn Khoo LC
Re: Scrolling Thumbnail Panel
on Jul 30, 2010 at 2:53:55 am

Thank, Clint!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]