Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Remove flv for garbage collection

Posted on 2008-06-22
4
Medium Priority
?
397 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
3 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 1000 total points
ID: 21856621
Same way.  

Stop your NetStream, then ns = null;
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

577 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