# Flash 6 vs flash 8

**URL:** <https://forum.kirupa.com/t/flash-6-vs-flash-8/264110>\
**Category:** flash\
**Created:** [June 23, 2008, 9:20am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110 "2008-06-23T09:20:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![WoGk7](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WoGk7](https://forum.kirupa.com/u/WoGk7)\
**Post date:** [June 23, 2008, 9:20am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/1 "2008-06-23T09:20:26Z")

</div>

Hi,

I’m stuck trying to incorporate this little menu i found on flashkit. Problem is it’s written in Flash 6 and i need it running in Flash 8.

I’ve been tryin to figure out whet the problem is, i can see that the value of this equasion:

Xspeed = ((\_x-newX)/\_root.velocita+Xspeed)/\_root.frenata;

comes out as NaN in Flash 8.

I cant fix it myself, i would greatly appreciate any help. I’m uploading the fla i donwloaded of flashkit aswell.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 23, 2008, 9:45am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/2 "2008-06-23T09:45:54Z")

</div>

it means the answer is not a number, check that all the variables are correct, ie they are numbers

---

<div class="post-metadata">

**Author:** ![WoGk7](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WoGk7](https://forum.kirupa.com/u/WoGk7)\
**Post date:** [June 23, 2008, 9:58am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/3 "2008-06-23T09:58:17Z")

</div>

Thanks random,

I know what NaN stands for, i just cant figure out why thats the result (Flash 8 only mind You, works fine in Flash 6)

Anyway, after initializing Xspeed with 0 thats the trace i get from this variable after that assign. All variables involved are numbers. Heres a trace:

Xspeed :0  
newX :184.5  
\_root.velocita :1.6  
\_root.frenata :2  
\_x :184.5

I’m lost 😕

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 23, 2008, 10:17am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/4 "2008-06-23T10:17:59Z")

</div>

**ok I DL the file resaved it as flash 8 file and it works no errors…**

you are using flash 8, in the export settings etc?

though you shouldn’t put items and code on same level

---

<div class="post-metadata">

**Author:** ![WoGk7](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WoGk7](https://forum.kirupa.com/u/WoGk7)\
**Post date:** [June 23, 2008, 10:33am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/5 "2008-06-23T10:33:56Z")

</div>

Thats strange. For my resaving as Flash 8 screws up the whole thing. And aye, i’m changing the export settings to Player 8.

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 23, 2008, 10:39am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/6 "2008-06-23T10:39:20Z")

</div>

That shouldn’t be the case.

I guess reinstall flash./ Download latest flash player and shockwave players.

reference: My file goes from 80kbs to 84kbs due to the transfer.

---

<div class="post-metadata">

**Author:** ![WoGk7](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WoGk7](https://forum.kirupa.com/u/WoGk7)\
**Post date:** [June 23, 2008, 11:07am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/7 "2008-06-23T11:07:19Z")

</div>

In that case, something is definately wrong. My file gets up to 96 kB.  
Anyway, i’ve given up on this menu. Im making my own, where i understend wht’s goin on 🙂

Thanks a million randomagain. Appreciate Your help.

BTW, would You know of an easy method to limit mouse movements to only 1 axis?

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 23, 2008, 11:42am UTC](https://forum.kirupa.com/t/flash-6-vs-flash-8/264110/8 "2008-06-23T11:42:56Z")

</div>

Heres the flash 8 version I rendered out. Could just be the transfer which mucks it up.

Might be something faulty with flash File Exention Management _shrugs_

…

you would probably have to disable the mouse icon,

but monitor its movements

and place a mouse icon of you own on screen than only followed Y or X movement of the real mouse
