Handle leak occurs in the continuous playback of video


windows flashplayer.

 

handle leak occurs in continuous playback flv videos in standalone flashplayer.

 

handle leak in task manager view.

 

two problem has occurred.

1.play an increase in handle (seen in task manager) to begin each.
  flashplayer version 11.3 or higher

. pause during playback, wait 15 seconds to handle leaks, and do a restart.
  flashplayer version 10.0.45 or later

 

 

any appreciated.

 

 

the following actionscript source.

 

import flash.events.*;

import fl.video.*;

 

private var player:flvplayback = new flvplayback();

addchild(player);

player.load("test.flv");

player.play();

player.addeventlistener(videoevent.complete, playend);

stage.addeventlistener(mouseevent.click, onclick1);

 

 

function playend(eventobj:event):void {

player.play();

}

 

function onclick1(evt:mouseevent):void {

if (player.state == videostate.paused) {

player.play();

}else{

player.pause();

}

return;



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support