all groups > flash actionscript > december 2004 >
You're in the

flash actionscript

group:

Help with game please


Help with game please megafon
12/16/2004 10:42:30 PM
flash actionscript:
this is my code. it is a frame code.

count++;
if ((count > 1) )
{
count = 1;
}
Xpos = Xpos + ((_xmouse - Xpos) / delay);
Ypos = Ypos + 3
duplicateMovieClip ("particle", "particle" add count, count);
this["particle" + count ]._x = Xpos ;
this["particle" + count ]._y = Ypos ;
this["particle" + count ].onMouseUp(Ypos = Ypos -3)

What is wrong?
please help me
//Martin
Re: Help with game please kglad
12/17/2004 3:08:03 AM
make sure count is initialized and correct your onMouseUp handler:

this["particle" + count ].onMouseUp=function(){ // i'm not sure you want to use an onMouseUp handler
Ypos = Ypos -3;
}
AddThis Social Bookmark Button