Ok i see. I guess it is an example taken from Flash. Flash is a little
bit less strict if you use code on a timeline.

Cheers
Ralf.

On Mon, Mar 31, 2008 at 5:36 PM, lytvynyuk <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I grabbed that example from the article at adobe website
>  -http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html
>
>  --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
>
>  <[EMAIL PROTECTED]> wrote:
>  >
>  > You cannot delete declared variables, set them to null instead.
>  > a = null;
>  >
>  > Cheers
>  > Ralf.
>  >
>  > On Mon, Mar 31, 2008 at 5:03 PM, lytvynyuk <[EMAIL PROTECTED]> wrote:
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > I saw some examples like that:
>  > >
>  > > // create a new object, and put a reference to it in a:
>  > > var a:Object = {foo:"bar"}
>  > > // copy the reference to the object into b:
>  > > var b:Object = a;
>  > > // delete the reference to the object in a:
>  > > delete(a);
>  > >
>  > > But it definitely wont even compile.
>  > >
>  > > Is there any techniques to do so?
>  > >
>  > >
>  >
>  >
>  >
>  > --
>  > Ralf Bokelberg <[EMAIL PROTECTED]>
>
>  > Flex & Flash Consultant based in Cologne/Germany
>  >
>
>  

Reply via email to