# Flash 8 Actionscript Prob

**URL:** <https://forum.kirupa.com/t/flash-8-actionscript-prob/175341>\
**Category:** flash\
**Created:** [January 13, 2006, 3:18pm UTC](https://forum.kirupa.com/t/flash-8-actionscript-prob/175341 "2006-01-13T15:18:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HecticMedia](https://avatars.discourse-cdn.com/v4/letter/h/e99b99/32.png) [@HecticMedia](https://forum.kirupa.com/u/HecticMedia)\
**Post date:** [January 13, 2006, 3:18pm UTC](https://forum.kirupa.com/t/flash-8-actionscript-prob/175341/1 "2006-01-13T15:18:37Z")

</div>

Hey all,

I’m using a movie clip scoller thing… it’s basically 2 arrows (up and down) that make a movie clip…

My prob is, the actionscript was made to work with flash player 6… the down arrow makes the movie clip scroll down, but it won’t scroll back up with the up arrow… when I choose it to play with flash player 6 though, it works fine…

Can anyone update the code for me? (p.s. btn1 is the up button)

```auto
btn1.onPress = function ()
{
    text_mc.onEnterFrame = function ()
    {
        if (this._y < textScroll.mask._y)
        {
            this._y = this._y + 3;
        } // end if
    };
};
btn2.onPress = function ()
{
    text_mc.onEnterFrame = function ()
    {
        if (this._y + this._height > mask._y + mask._height)
        {
            this._y = this._y - 3;
        } // end if
    };
};
btn1.onRelease = btn2.onRelease = btn1.onReleaseOutside = btn2.onReleaseOutside = function ()
{
    text_mc.onEnterFrame = null;
};

```

Thanks for your help!

Ben
