all groups > macromedia flash sitedesign > october 2004 >
You're in the

macromedia flash sitedesign

group:

Scrolling stuff


Scrolling stuff cfcls
10/26/2004 3:39:47 PM
macromedia flash sitedesign:
I'm trying to make a sort of thumbnail image selector for a site. I've seen on
websites where there's a long row of thumbnails and when you rollover the left
side of the row, the whole row scrolls left to display more images, or it
scrolls right as you rollover the right side. That's what I'm trying to
accomplish. I figure there's gotta be some actionscript to it, but anything I
try hangs my computer in an unending actionscript loop. I tried setting a
variable to 1 when they rollover, and setting the same variable to 2 when the
rollout, and when they rollover, I execute a while loop to change the ._x
property of the object as long as the variable is still 1. But it loops
eternally. Is there something I have to put in code to allow flash to accept
other events while it's performing this loop? If anyone is familiar with VB,
I'm thinking alongs the lines of something similar to the DoEvents command. If
anyone knows what I'm talking about here, please direct me to any information
you might have.
Thanks
Al
Re: Scrolling stuff myselfandi
10/27/2004 10:16:33 PM
here's an example fla.
when the mouse is over the right gray bar the pics will scroll right and when
over the left they will scroll left.
you can also click on the four first pics and it will write the pic num.

Re: Scrolling stuff fourteensquarefeet
10/29/2004 4:48:27 PM
AddThis Social Bookmark Button