codehammer Posted May 11, 2014 Share Posted May 11, 2014 If I have : TweenMax.set(gb,{x:1000, y:400, visible:true}); in the main class without a reference to the tween, does it get GC'd? It only gets executed once. Trying to track down a memory leak. thanks, Mark Link to comment Share on other sites More sharing options...
Carl Posted May 11, 2014 Share Posted May 11, 2014 Yes it should be gc'd just fine. Can't imagine that has anything to do with a memory leak issue. Best bet is to remove that code and see if issue remains. If you can prove that the line is causing a problem, please feel free to produce a reduced test case so we can investigate. Link to comment Share on other sites More sharing options...
codehammer Posted May 11, 2014 Author Share Posted May 11, 2014 It was just a general question about the use of TweenMax not specific issue. Unfortunately, I only discovered the leak after the app was 'finished'. Would you happen to know of any good debuggers for Flash Pro? Link to comment Share on other sites More sharing options...
Carl Posted May 12, 2014 Share Posted May 12, 2014 I've heard that Scout is quite good: http://helpx.adobe.com/flash/using/flash-pro-scout.html I haven't really gotten into yet. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now