# Diagonal scrolling?

**URL:** <https://forum.kirupa.com/t/diagonal-scrolling/34723>\
**Category:** Uncategorized\
**Created:** [November 5, 2003, 7:21pm UTC](https://forum.kirupa.com/t/diagonal-scrolling/34723 "2003-11-05T19:21:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vealchop](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@vealchop](https://forum.kirupa.com/u/vealchop)\
**Post date:** [November 5, 2003, 7:21pm UTC](https://forum.kirupa.com/t/diagonal-scrolling/34723/1 "2003-11-05T19:21:22Z")

</div>

Is it possible to modify this tutorial:

[http://www.kirupa.com/developer/flash5/slidingmenu.htm](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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2003, 7:37pm UTC](https://forum.kirupa.com/t/diagonal-scrolling/34723/2 "2003-11-05T19:37:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2003, 7:46pm UTC](https://forum.kirupa.com/t/diagonal-scrolling/34723/3 "2003-11-05T19:46:08Z")

</div>

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

can you give me an example?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2003, 7:48pm UTC](https://forum.kirupa.com/t/diagonal-scrolling/34723/4 "2003-11-05T19:48:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2003, 5:55am UTC](https://forum.kirupa.com/t/diagonal-scrolling/34723/5 "2003-11-06T05:55:28Z")

</div>

Go to [http://www.philterdesign.com/](http://www.philterdesign.com/)

Click on “flash playground”

Check out “grid nav”

That what you mean?
