Olsen, var tmpPod:Podz; you have already created a pointer. But in order to destroy it, you set it as null.
On 5/30/07, Alex Harui <[EMAIL PROTECTED]> wrote:
No pointers in AS3, just references. As soon as you set tmpPod=null, the instance of Podz is eligible for garbage collection. ------------------------------ *From:* [email protected] [mailto:[EMAIL PROTECTED] *On Behalf Of *Christopher Olsen *Sent:* Wednesday, May 30, 2007 11:02 AM *To:* [email protected] *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);
-- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org

