The web site for Flash ActionScript 3.0 game developers

 
         
   

error#2025

I've working to make a game that have 5 brick moving up, and when A brick touch the top of the screen, it will been removed and add a new brick in the bottom to replace it. I stored the 5 bricks in an array, and use for loop to move, check, add, remove the brick. The problem is, when I use the removeChild() function to remove the brick (which touches the top of the screen), it will report error#2025.



Copyright Gary Rosenzweig