[Flashcoders] Problems with Tween Class

2006-05-25 Thread Nik Derewianka
Hi all, Basically i attachMovie my character (which is an AS2.0 class extended MovieClip) to _root, then move it back and forwards across the screen using the Tween class, unloadMovie my character, go to a different frame, attachMovie my character back again, but this time it seems as though

Re: [Flashcoders] Problems with Tween Class

2006-05-25 Thread Weldon MacDonald
It's early in the morning, but it seems to me your not finishing the tween in your test. Try calling the stop() method before you unload. There may be a call to setInterval that doesn't get cleared if you don't. That begs the question of why you want to unload and reload it. there must be a way

Re: [Flashcoders] Problems with Tween Class

2006-05-25 Thread Jason Lutes
So how do i completely unload my MC and my Tween so that there are no references hanging around ?? How can i find out how many references there are for a given object (similar to the ref count in lingo objects in Director) ?? And is this only happening because of AS 2.0 It sounds like a

Re: [Flashcoders] Problems with Tween Class

2006-05-25 Thread Nik Derewianka
The stop() call fixed it! The loads and unloads are necessary, it just didnt appear to be in my reduced test case is all. Thanks to you and Jason for the replies. Regards, :: Nik Derewianka :: :: freelance director programmer :: ___