Diagonal scrolling?

Is it possible to modify this tutorial:

http://www.kirupa.com/developer/flash5/slidingmenu.htm

to enable the buttons to scroll to a mc if the clipgeneral mc was organized like this:

OO
OO

rather than like this:

OOOO

so instead of just scrolling sidways, it would be possible to scroll both vertical and diagonaly accordingly?

Thanks.

chop.

You’ll have to modify the AS a bit. You will need to switch the _x to _y in the AS and adjust the number cordinates accordingly, but yes it is possible.

would you have to ADD _y coordinates or just switch _x to _y?

can you give me an example?

Having _x and the var xnew in the AS will make it scroll horizontally. So if you want it to scroll vertically then you’ll need to switch all those x’s to y’s.

You’ll also need to play around with the cordinates as well to fine tune it.

Go to http://www.philterdesign.com/

Click on “flash playground”

Check out “grid nav”

That what you mean?