Help me with this

I have made a movieclip and i named it “mov”. The only thing is that…ii use flash mx2004 and if i use actionscript 1 and player 6 then it works…if i use actionscript 2 and player 7 it doesn’t work. Here it is:
[AS]x=mov._x; y=mov._y; speed=1;
_root.onEnterFrame = function() {
i++;
mov.duplicateMovieClip(“mov”+i,i);
_root[“mov”+i]._x=x;
_root[“mov”+i]._y=y;
if (Key.isDown(Key.RIGHT)) {
x+=speed;
}
if (Key.isDown(Key.LEFT)) {
x-=speed;
}
if (Key.isDown(Key.UP)) {
y-=speed;
}
if (Key.isDown(Key.DOWN)) {
y+=speed;
}
}
[/AS]

What do you want it to do? :h:

Check it and you will see what it does. The script is good…it’s been written in the main frame and it’s good only for actionscript 1.0 and player 6

x=mov._x; y=mov._y; speed=1; i=0;

you need to define i before its used.

Thanks a lot…i really apreciate it.

I also need a little help with PHP. Let’s say i have the file action.php. How can i receive information from it, without opening it?

make a new thread in server-side and we can work from there :slight_smile: