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

    • CommentAuthorMSR
    • CommentTimeMar 3rd 2009
     
    Hi,

    Is there a way to list all created particles? I'm trying to create a Mouse Over event for each individual particle displayed but can't figure it out.

    Thanks!
    • CommentAuthorRichard
    • CommentTimeMar 3rd 2009 edited
     
    You need a custom initializer for that. When created, each particle will be passed to the initializer for initialization. You should add an event listener to it's image property at that time.

    Note also that the renderer has mouseChildren set to false by default. You'll want to change this to true, and to use a DisplayObjectRenderer so each particle is an individual display object.
    • CommentAuthorMSR
    • CommentTimeMar 3rd 2009
     
    Thanks.

    It's beginning to work but one problem I have now is I have to switch the blurFilter off so I'm no longer getting that effect on the particles. I haven't got the rolling over to work quite yet but I'll keep trying.