Schemaphic Systems Blog

Sharing experiences in Flash, Flex and AIR

Issue in FLVPlayback hasEventListener – AS3.0

leave a comment »

The hasEventListener API for FLVPlayback instance always returns true for most of the VideoEvents even if those events have not been added. This seems to be weird. Any help/suggestions will be appreciated –
sample code :
var flv:FLVPlayback = new FLVPlayback();
this.addChild(flv);

trace(flv.hasEventListener(VideoEvent.STATE_CHANGE); // returns true even though it has not been added. check this out.

There seems to be memory leak in FLVPlayback component.
Kindly update me if you find anything different.

Advertisements

Written by Deepanjan Das

June 5, 2010 at 9:58 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: