Hi Mike, Thanks for your answer.
I wanted the second part, that the event gets fired as long as the button is pressed. Is there a way, how this can be done easily? Thanks for your answer, Pascal Mike Keesey wrote: > > What do you mean by "fires once, instead of the whole time"? The > onPress callback function in older version of ActionScript also only > fired once, when the button was pressed. > > If you want something to be called on every frame while a button is > down, you’ll have to start listening for frame events on buttonDown > and stop listening for them on buttonUp. > > ― > > Mike Keesey > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/