can someone tell me what is wrong with this piece of code? Flash MX 2004 keeps giving me this error
"Error Scene=Scene 1, layer=actions, frame=1:Line 4: Expected a field name after ‘.’ operator.
_root.[“image”+i]._x=(_root.[“image”+i]._x)+42.4;
Error Scene=Scene 1, layer=actions, frame=1:Line 8: Expected a field name after ‘.’ operator.
if (_root.[“image”+i]._x >400 ){
Error Scene=Scene 1, layer=actions, frame=1:Line 9: Expected a field name after ‘.’ operator.
_root.[“image”+i]._y += 35;
Error Scene=Scene 1, layer=actions, frame=1:Line 10: Expected a field name after ‘.’ operator.
_root.[“image”+i]._x -= 550 ;
Error Scene=Scene 1, layer=actions, frame=1:Line 11: Unexpected ‘}’ encountered
}
"
var no_images = 5;
for ( var i = 1; i <= no_images; i ++ ) {
_root.duplicateMovieClip(_root.image,“image”+i, i);
_root.[“image”+i]._x=(_root.[“image”+i]._x)+42.4;
}
for ( var i=1; i <=no_images;i++){
if (_root.[“image”+i]._x >400 ){
_root.[“image”+i]._y += 35;
_root.[“image”+i]._x -= 550 ;
}
}