views:

72

answers:

2

Hi,

I met a strange problem in AS3 and thought the problem may be caused by the GC, can I disable GC explicitly in AS3?

Thanks. Bin

+1  A: 

Maybe you will find something helpfull in this article.

Hippo
+1  A: 

i dont think that there is a reference to garbage collection in the program, however you can use the "bugs" in the system to prevent things being cleaned up. if you make a variable that references the object you want to keep safe for example.

why do you think that GC is your problem? it should only take effect when all alues are null, nothing references the object or if it isnt used actively in your code for quite a while. usually the problem is with the lack of gc.

shortstick