Kuboid Posted November 9, 2013 Share Posted November 9, 2013 Hello guys, Im not sure if it is a pixi-bug or my own code but maybe you can evaluate this better than me I created a MovieClip with an onComplete callback to remove itself.Works fine, but as soon as there are more MovieClips, pixi throws an error: Uncaught TypeError: Cannot call method 'updateTransform' of undefined pixi.js:3126PIXI.Stage.updateTransform pixi.js:3126PIXI.WebGLRenderer.render pixi.js:4460animate (index):24 Looks like that the MovieClip is removed and pixi still wants to call updateTransform.The easy way is to put tons of if(indexOf(mc) != -1)'s to the compiled pixi code but that cant be the correct way to do it You can get the lines here:http://kuboid.net/explosion.zipor here:http://kuboid.net/explosion.rar Thank you in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.