Solved

Remove flv for garbage collection

Posted on 2008-06-22
4
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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…
The goal of the tutorial is to teach the user how to how to record live broadcast.

707 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