Flint Particle System Forum - Clickable particle Sat, 25 Dec 2010 16:45:07 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Clickable particle http://flintparticles.org/forum/comments.php?DiscussionID=209&Focus=788#Comment_788 http://flintparticles.org/forum/comments.php?DiscussionID=209&Focus=788#Comment_788 Wed, 13 May 2009 10:16:04 +0100 elio
I would like to use flint for a client that needs 3d particle processing. I need to pop up an information when a particle is clicked.
There is any way or any trick to do it so?
I tryed something like but nothing:
// p is a particle s is a sprite
s.buttonMode = true;
s.useHandCursor = true;
s.addEventListener(MouseEvent.CLICK,function(ev:MouseEvent){trace("I answer");});
p.image = s;

Cheers!
Elio ]]>
Clickable particle http://flintparticles.org/forum/comments.php?DiscussionID=209&Focus=789#Comment_789 http://flintparticles.org/forum/comments.php?DiscussionID=209&Focus=789#Comment_789 Wed, 13 May 2009 10:27:50 +0100 elio renderer.mouseChildren = true;

Thank and greetings for the framework!! ]]>