As3 help about addEventListener

Posted by mydiscogr on Stack Overflow See other posts from Stack Overflow or by mydiscogr
Published on 2010-06-02T12:51:05Z Indexed on 2010/06/02 12:53 UTC
Read the original article Hit count: 215

Filed under:
|

Hi,

I've a little problem, I don't really understand if I can use addEventListener more than one time on the same object (and same callback function) if this case can I have a problem of overflow, or simple flex is so smart to not add again in the same stack same function

for examples:

var t:CServiceObj = _rModel.userGetBoardJoined(); t.addEventListener(EDataService.DATA_AVAILABLE,onDataOk);

t.addEventListener(EDataService.DATA_AVAILABLE,onDataOk); t.addEventListener(EDataService.DATA_AVAILABLE,onDataOk);

thanks

© Stack Overflow or respective owner

Related posts about flex

Related posts about as3