Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthorelio
    • CommentTimeMay 13th 2009
     
    Hi,

    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
    • CommentAuthorelio
    • CommentTimeMay 13th 2009
     
    Ok I found
    renderer.mouseChildren = true;

    Thank and greetings for the framework!!