Removing particles in AS3
Removing particles in AS3
Out of context: Reply #7
- Started
- Last post
- 7 Responses
- acrossthesea0
Looks like you can loop through that array called particleArray. Something like this might work:
function releaseTheKraken(){
for(var i=0;i<particleArray;i++){
removeChild(particleArray[i]);
trace("removing particle # " + i);
}
}- releaseTheKraken();acrossthesea
- shoot, meant to say: for(var i=0;i<particleArray...
acrossthesea - particleArray.lengthacrossthesea
- THANKS!ok_not_ok