Solved

Remove flv for garbage collection

Posted on 2008-06-22
4
377 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now