loading members at runtime 2004-02-28 - By Lucas Meijer
Back > Does anyone know of any differences betwen using importfileinto vs > member.filename?
The FUD in the helpfile regarding the importFileInto command, is not because the importFileInto command is leaking, and MM doesn't fix it. It is because a memeber than has been importFileInto'd, cannot be unloaded. It cannot be unloaded, because director has no way to reload it afterwards. This is why the help says memory can be taken up quicly. If you just .erase() the member after you've used it, there' no problem at all.
The .filename= approach doesn't suffer from this AFAIK, so in your case, this would be probably the best thing todo, altough importFileInto could actually be just as good.
Bye, Lucas __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|