No pointers in AS3, just references.  As soon as you set tmpPod=null,
the instance of Podz is eligible for garbage collection.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher Olsen
Sent: Wednesday, May 30, 2007 11:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question about delete

 

Hello,

Quick question.. The following doesn't work says it must be dynamically 
defined... how do we make something a pointer?

var tmpPod:Podz = new Podz();
delete(tmpPod);

 

Reply via email to