# Horazontal scroll OFF Vert Scroll ON

**URL:** https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348
**Category:** programming
**Created:** [June 29, 2003, 5:19pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348 "2003-06-29T17:19:42Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sintax321](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@sintax321](https://forum.kirupa.com/u/sintax321)
#### Post date: [June 29, 2003, 5:19pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/1 "2003-06-29T17:19:42Z")

</div>

I searched the forum but couldnt find a thread on this. I need to dissable horzontal scrolling but leave vertical scrolling on. Any body know how to do this.

---

<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: [June 29, 2003, 5:25pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/2 "2003-06-29T17:25:35Z")

</div>

Nope, I don’t believe that is possible. It’s either no scrolling or all scrolling :-\ Sorry man.

---

<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: [June 29, 2003, 5:26pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/3 "2003-06-29T17:26:32Z")

</div>

Bastards. There is not like really special DHTML or JAVASCROPT even that will do 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: [June 29, 2003, 5:31pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/4 "2003-06-29T17:31:41Z")

</div>

Not that I know of, they would only be able to do it if the commands to do it existed, and as far as I know theres nothing to disable horizontal scrolling, I have tried before and failed.

What do you need it for? (possibly there is a workaround)

---

<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: [June 29, 2003, 5:40pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/5 "2003-06-29T17:40:32Z")

</div>

it is for a nested frame set i’m using. I’ll jsut make the SWF’s i’m using in the content frmae smaller i guess.

---

<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: [June 29, 2003, 5:46pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/6 "2003-06-29T17:46:58Z")

</div>

Oh, it’s a .swf dealio :x

Try this…

On frame 1 in your movie add this line… [AS]Stage.scaleMode = “noScale”[/AS]

Now publish your file and have it produce your .html file.

Open your .html file for editing and in the embed code you will see 2 width properties. Change both of those to 100%.

This should in theory automatically resize the movie to the available area, but cut off any content that extends further than the width.

Is that sorta like what you want?

---

<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: [June 29, 2003, 5:59pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/7 "2003-06-29T17:59:25Z")

</div>

it would work if it was all vector but it aint. I made the graphics in PS and importedt them as png’s so the blur nad streatch if i alow it to scale. i’ll PM u the link so u cna see 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: [June 29, 2003, 8:22pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/8 "2003-06-29T20:22:26Z")

</div>

Well that was the point of [AS]Stage.scaleMode = “noScale”[/AS]

That sets your items in your movie not to scale with the movie size. So you can set it to 100%, but your items will not scale down, they will just get cut off, as they would if you movie was wider and horizontal scroll was disabled. I just tested it, it works 🙂 Unless that isn’t how your stuff is set up 🙂 ::goes to check PMs::

---

<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: [June 29, 2003, 8:25pm UTC](https://forum.kirupa.com/t/horazontal-scroll-off-vert-scroll-on/24348/9 "2003-06-29T20:25:41Z")

</div>

Just checked, and as far as I can tell, the method I mentioned should work fine :-\
