Solved

Remove flv for garbage collection

Posted on 2008-06-22
4
379 Views
Last Modified: 2012-05-05
What is the best way to remove flv ready for garbage collection in action script 3?
0
Comment
Question by:ajmcfarlane
  • 2
4 Comments
 
LVL 9

Expert Comment

by:asaivan
ID: 21841032
If you're simply using an FLVPlayback component, then:

removeChild(vid);
vid = null;

If the instance name of the FLVPlayback is called vid.  
0
 

Author Comment

by:ajmcfarlane
ID: 21854271
How about if you are using netstream? How do you remove it for garbage collection?
0
 
LVL 9

Accepted Solution

by:
asaivan earned 250 total points
ID: 21856621
Same way.  

Stop your NetStream, then ns = null;
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question