-
1. Re: AS3: Removing playing flv from the scene?
Ned Murphy Jan 21, 2014 6:57 AM (in response to jurneys)You need to turn the flv player off or else it will keep playing. Removing a child makes the object go away from site but it still exists. If you want to get rid of it entirely you need to null the instance you are removing.
-
2. Re: AS3: Removing playing flv from the scene?
jurneys Jan 21, 2014 7:22 AM (in response to Ned Murphy)Adding those 2 lines and sound is mostly stopped,
ShowreelField.ShowreelPlayer.stop();
ShowreelField.ShowreelPlayer.seek(0);
But still remains for some case when open/close movie clip repeatedly or streaming is suffered by network connection.
Changed removeChild(ShowreelField) to ShowreelField = null, but sound still alive.
There are no compiler errors but I have never tried nullifying instances, is this correct way to do that?
-
3. Re: AS3: Removing playing flv from the scene?
jurneys Jan 21, 2014 9:23 AM (in response to jurneys)Found solution, works like a charm. Thanks!
http://chrisgannon.wordpress.com/2010/03/31/how-to-close-an-as3-flv-playback-stream-proper ly/


