Highlighted

Why we can't get a list of all registered events and their callbacks of an object

New Here ,
Oct 03, 2015

Copy link to clipboard

Copied

Hi,

I know this has been posted many times.

But why isn't there a function to actually retrieve all the registered events of an object ?

Security purposes ?

This would really be handy as I need to load some exterrnal swfs and sometimes people won't remove all their events inside and this could lead to many problems.

And even using the unloadAndStop method won't do it as sometimes external swf will register events on the stage itself. And as the stage is not unloaded with the external swf, the swf will remain in memory and this is not good.

Thanks for your answer.

TOPICS
Development

Views

131

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Why we can't get a list of all registered events and their callbacks of an object

New Here ,
Oct 03, 2015

Copy link to clipboard

Copied

Hi,

I know this has been posted many times.

But why isn't there a function to actually retrieve all the registered events of an object ?

Security purposes ?

This would really be handy as I need to load some exterrnal swfs and sometimes people won't remove all their events inside and this could lead to many problems.

And even using the unloadAndStop method won't do it as sometimes external swf will register events on the stage itself. And as the stage is not unloaded with the external swf, the swf will remain in memory and this is not good.

Thanks for your answer.

TOPICS
Development

Views

132

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 03, 2015 0

Have something to add?

Join the conversation