# Updating flash 4 actionscript to flash 8!

**URL:** <https://forum.kirupa.com/t/updating-flash-4-actionscript-to-flash-8/206924>\
**Category:** Uncategorized\
**Created:** [November 13, 2006, 8:33am UTC](https://forum.kirupa.com/t/updating-flash-4-actionscript-to-flash-8/206924 "2006-11-13T08:33:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![billy\_talent](https://avatars.discourse-cdn.com/v4/letter/b/bb73d2/32.png) [@billy\_talent](https://forum.kirupa.com/u/billy_talent)\
**Post date:** [November 13, 2006, 8:33am UTC](https://forum.kirupa.com/t/updating-flash-4-actionscript-to-flash-8/206924/1 "2006-11-13T08:33:16Z")

</div>

Hi guys, I’ve made a pretty stupid error and was wondering if someone with a bit more know-how could offer me some help…

I’ve been working on a looping paralax scroller, of which I took the basic actionscript from an open source .fla file, figured out what all the code did and got it working how I wanted, and then realised that the publish settings were set at Flash 4, and when I changed that to Flash 8, it kills the movie, and nothing works, so im begging for an expert to give me an opinion on how I can get it up and running in Flash 8, below is the code for examination and I’ll attach the .fla incase anyones interested enough in having a look

Frame 1:

```auto

mover = getProperty("scrollingobject", _x);

```

Frame 20:

```auto

mouseh = getProperty("/tracker", _x);
mousev = getProperty("/tracker", _y);
if (Number(mousev)>200 and Number(mousev)<280) {
    movevalue = (Number(movevalue*9)+Number(((mouseh-350)/20)))/10;
} 

```

Frame 21:

```auto

mover = Number(mover)+Number(movevalue);
if (Number(mover)>2800) {
    mover = -700;
}
if (Number(mover)<-2800) {
    mover = 701;
}

setProperty("/scrollingobject", _x, mover);

gotoAndPlay(20);

```

\*\*source file: \*\*[http://www.subman.co.uk/fla/scroller4.fla](http://www.subman.co.uk/fla/scroller4.fla)

I really would be extremely grateful for any help anyone could give me on this one as Im pulling my hair out over it at the moment!

thanks in advance!
