• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 401
  • Last Modified:

Remove flv for garbage collection

What is the best way to remove flv ready for garbage collection in action script 3?
0
ajmcfarlane
Asked:
ajmcfarlane
  • 2
1 Solution
 
asaivanCommented:
If you're simply using an FLVPlayback component, then:

removeChild(vid);
vid = null;

If the instance name of the FLVPlayback is called vid.  
0
 
ajmcfarlaneAuthor Commented:
How about if you are using netstream? How do you remove it for garbage collection?
0
 
asaivanCommented:
Same way.  

Stop your NetStream, then ns = null;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now