Groups | Blog | Home
all groups > macromedia flash sitedesign > april 2004 >

macromedia flash sitedesign : Scroll Pains!!!


James Fee
4/5/2004 12:23:26 PM
There is no reason you couldn't use the ScrollPane component. Just set the
scroll bars to no, drag content to false, and setup your own buttons to move
the content.

--
Jim Fee
Viking Electronic Services
jfee (at) vikinges (dot) com

[quoted text, click to view]

illustratorman
4/5/2004 4:05:35 PM
I am new to Flash and i'm trying to put together a portfolio site. My problem
is I want to create a scrollpane which contains thumbnail buttons of my work,
but I have no idea how to do this! I don't want to use the scrollpane component
because I want to customize the buttons so that they are invisible and scroll
up or down when the mouse rolls over them. I can make my thumbnail buttons and
the invisible ones but when it come to putting it all together I am clueless.
If someone could help me out I would be most grateful!
Cheers.
illustratorman
4/6/2004 8:51:31 PM
James Fee
4/7/2004 11:34:06 AM
for which ever event you want them to work on, just have it do the
following:

var curr_x:Number = [path to my scrollpane].hPosition;
curr_x = curr_x (+/-) [some value];
if (curr_x < 0){
curr_x = 0;
}
[path to my scrollpane].setHPosition(curr_x);



you can do the same type of thing for y/vPosition.

--
Jim Fee
Viking Electronic Services
jfee (at) vikinges (dot) com
[quoted text, click to view]

AddThis Social Bookmark Button