Must export to Flash 5?

does anyone know how i can change my code to do this in FlashMX. It is from another movie that I made that I copied into this movie. I was unaware it was Flash 5 only coding.

here are the errors i get


Symbol=bullet, Layer=Layer 1, Frame=1: Line 1: You must export your movie as Flash 5 to use this expression.
     Color = new Color("rock");

Symbol=bullet, Layer=Layer 1, Frame=1: Line 2: You must export your movie as Flash 5 to use this action.
     Color.setRGB(Math.random()*0xffffff);

Symbol=bullet, Layer=Layer 1, Frame=1: Line 1: You must export your movie as Flash 5 to use this action.
     onClipEvent(enterFrame){

Symbol=bullet, Layer=Layer 1, Frame=1: Line 2: You must export your movie as Flash 5 to use this expression.
     this.Color

Symbol=bullet, Layer=Layer 1, Frame=1: Line 3: You must export your movie as Flash 5 to use this expression.
     this._alpha=70;

thanks for your help

I had these errors, i created another movie and worked fine again. :-\

because if you’re only using Flash 5 code then it will export to Flash 5 … right?

but this was an FMX movie and I imported some Flash 5 code

i don’t understand how to change the code so it will be FMX code

:sigh:

i don’t know why it worked but it did. i just created a new movie and pasted the frames into it and it works with no errors … very weird.:-\
but as long as it works, i’m happy =)

thanks for your help :A+:

np, i dunno why is this happening, some bugs, waiting for the release of the final player. (6.65) :beam: