ActionScript-3 calling addEventListener more than once

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 13:04 UTC
Read the original article Hit count: 279

Filed under:
|

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);

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3