Flint Particle System Forum - Emitter at stage.mouseX, Y2010-12-25T17:33:45+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Emitter at stage.mouseX, Yhttp://flintparticles.org/forum/comments.php?DiscussionID=228&Focus=830#Comment_8302009-06-23T22:56:10+01:002010-12-25T17:33:45+00:00ianhill090776http://flintparticles.org/forum/account.php?u=212
Hello all,
Richard, thanks for the great framework. I've been playing with the Fireworks example, and I'm trying to make an emitter appear at stage.mouseX and stage.mouseY. However, I continue to ...
Richard, thanks for the great framework. I've been playing with the Fireworks example, and I'm trying to make an emitter appear at stage.mouseX and stage.mouseY. However, I continue to get an argument count mismatch error when I click on the stage. I'm not sure if I have errors in my AS3 or if it's an agreement issue with Flint.
//I'm getting the error at the following line function firework():void { var emitter.... //add counter //add initalizers //etc. emitter.x= stage.mouseX; emitter.y= stage.mouseY; emitter.start; }
Any help would be appreciated. Thanks!]]>
Emitter at stage.mouseX, Yhttp://flintparticles.org/forum/comments.php?DiscussionID=228&Focus=831#Comment_8312009-06-23T23:10:50+01:002010-12-25T17:33:45+00:00ianhill090776http://flintparticles.org/forum/account.php?u=212
Fixed it, it was my AS3 newbieness
should be
function firework (event:Event):void {
Thanks again for Flint!
should be function firework (event:Event):void {