Hi,
Im updating my movie file from flash 6 to 8 and this part of code seems to have stopped working in the process:
[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!