# Updating from Flash 6 to Flash 8

**URL:** <https://forum.kirupa.com/t/updating-from-flash-6-to-flash-8/224467>\
**Category:** flash\
**Created:** [May 2, 2007, 4:36pm UTC](https://forum.kirupa.com/t/updating-from-flash-6-to-flash-8/224467 "2007-05-02T16:36:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaztheman](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@chaztheman](https://forum.kirupa.com/u/chaztheman)\
**Post date:** [May 2, 2007, 4:36pm UTC](https://forum.kirupa.com/t/updating-from-flash-6-to-flash-8/224467/1 "2007-05-02T16:36:50Z")

</div>

Hi,

Im updating my movie file from flash 6 to 8 and this part of code seems to have stopped working in the process:

```auto
 
 
[COLOR=blue]var[/COLOR] [COLOR=red]deg[/COLOR] = 360
 
[COLOR=blue] _root[/COLOR].bcar.[COLOR=blue]_x[/COLOR] += FwdSpd*math.sin([COLOR=red]deg[/COLOR]);
[COLOR=blue] _root[/COLOR].bcar.[COLOR=blue]_y[/COLOR] -= FwdSpd*math.cos([COLOR=red]deg[/COLOR]);
 

```

If i replace ‘[COLOR=red]deg[/COLOR]’ in lines 2 & 3 with 360 instead of using a variable it works, but i would like it to work using a variable to make life easier!

Thanks for your help!
