;

PDA

Click to See Complete Forum and Search --> : How Would i Duplicate a MC in V8 not 6


this.Alex
12-10-2006, 01:49 AM
Hey im wondering how i would make this in action script v8 not v6 this is the v6 code i made my self =)
:

createEmptyMovieClip("square",i);
square.lineStyle(1,0x0,80);
square.beginFill(0x55FF,100);
square.lineTo(0,25);
square.lineTo(25,25);
square.lineTo(25,0);
square.lineTo(0,0);
square.endFill();
onEnterFrame=function(){
Mouse.hide();
onMouseMove=function(){
i++;
square.duplicateMovieClip("square"+i,i,{
_x:_xmouse,
_y:_ymouse
})
}
square._visible=false;
}


but i dont know how to do it in V8 flash V8 is not AS2 as well =).

w.brants
12-10-2006, 04:03 AM
KoolMoves doesn't support AS2 and AS2 isn't required to use the flash 8 features. The only thing you have to change when you want to export your code for flash 8 is add a line in the beginning
i=0;
. This is because flash player 6 handles variables that are not initialized before they are used in a different way compared to flash player 8.

this.Alex
12-10-2006, 04:07 AM
it Works that was easy thanks wilbert =)

(yer i know thats why i said flash 8(v8) aint as2);