is there a way to remove all resources in AS3

By RussellReal | Jan 12, 2009

actionscript3

I tried to do

delete sock;
delete EI;
delete currentIP;
delete lines;
delete commands;
delete recieved;

I try to do the above in a function which is an error handler, I want to remove the sock (socket resource) EI (a reference to ExternalInterface) currentIP (which is just a string) lines (array) commands (array) recieved (string)

but now, it gives me errors..

all the same errors aswell:

Only dynamic assigned properties can be deleted, I know that its supposed to do whatever.whatever however I do not know any other way to have attempted this.

thanks for any help guys :P

actionscript3

Please reply at our Forum

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0