Re: [Flashcoders] class reloading

2006-11-06 Thread Hans Wichman
Hi, yes exactly. But it goes for different swf's as well. For example: I wrote a test in which I compiled a.swf with a class printing 1, and i compiled b.swf with the same but updated class printing 2. Now if i load a.swf and then b.swf into main, main will print 1 / 1 if I load b.swf and then a.

Re: [Flashcoders] class reloading

2006-11-06 Thread John Grden
Hey Hans, are you talking about a situation where ClipA would still be running but you might introduce a new ClipB at runtime? IE: like, if you had a multiplayer game running, and you updated one of the avatar's swf's - you want that new SWF's code to be loaded and used without restarting the app

[Flashcoders] class reloading

2006-11-06 Thread Hans Wichman
Hi list, you've probably had this scenario before, you are loading clip B into clip A and B defines some classes. Now you change B's classes, recompile and reload it into A, but since the old classes are still there, B wont function as it should, unless you restart A. Now I can remove the classe