Search the Community
Showing results for tags 'getAllTweens'.
Hi Greensock I'm working on a project where it's essential that all things are loaded correctly. If they are not I clean up my fla and in that process I call killAll(); and get following error: CleanUp -> ERROR TweenMax -> TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.greensock::TweenMax$/_getChildrenOf() at com.greensock::TweenMax$/getAllTweens() at com.greensock::TweenMax$/killAll() Additional traces (traced just before error thrown): TweenMax : [class TweenMax] TweenMax.getAllTweens.length : 1 Error is ONLY thrown when no Tweens has been running. Is there anyway I can avoid this error? ... and what causes it? Can I make some kind of an if (TweenMax Contains Tweens) ...-> killAll()...? ... and by the way...CONGRATS ON VERS. 12 Best regards HippieSvin