Remove flv for garbage collection

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

Expert Comment

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

vid = null;

If the instance name of the FLVPlayback is called vid.  

Author Comment

ID: 21854271
How about if you are using netstream? How do you remove it for garbage collection?

Accepted Solution

asaivan earned 250 total points
ID: 21856621
Same way.  

Stop your NetStream, then ns = null;

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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. …
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): …
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

743 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

13 Experts available now in Live!

Get 1:1 Help Now