Jump to content


  • Posts

  • Joined

  • Last visited


0 Newbie

Recent Profile Visitors

691 profile views
  1. Hi! How to make ImageLoader display animated GIF? Today it is displayed only the first frame. It's possible? Thank you.
  2. Hi! If I use multiple times without a variable reference //var myVar = TweenLite.delayedCall(); TweenLite.delayedCall(); If I do not call the .kill(), it will increase my memory? Or the delayedCall() have an onComplete() Event to be able to kill() after the calling.? I use the delayedCall() in a loop multiple times with different parameters... Thanks a lot.
  3. Hi again @Carl and @GreenSock ! ? I'm thinking about this question, and this may work:? var myLoader = Loader();.... //example, but would be any Greensock loader - Loading a huge 4k video //today myLoader.dispose(true); //framerate drops for some frames because the content is huge. //this would do the dispose "slowly"? myLoader.unload(); setTimeout(function(){ myLoader.dispose();//"true" - probably it is not necessary },5000); Thanks again and sorry for the old thread.
  4. Hi! Does anyone use Greensock in Desktop app? (Haxe, React, Flex...)? I'm using it in AS3 / Adobe Air. But because of the non-update of GreenSock in AS3, I'm thinking to port my App to Haxe to use the GreenSock HTML5/JS version, but I don't know how much it will be possible or fluid like the GreenSock AS3 version. The GreenSock HTML5 seems to be very good in websites, but using it in Desktop App Chromium (Haxe, ReactJS, Flex...). It is so good like AS3 native version? Thanks a lot.
  5. I want to extend the time of the timeline exactly in the current item, but without pausing, just extend the total duration. When I use myTimeline.totalDuration ( myTimeline.totalDuration () + 10 ) not works. The timeline continues with the current duration... My example code: trace(myTimeline.totalDuration()); //20 myTimeline.totalDuration( myTimeline.totalDuration() + 10 ); trace(myTimeline.totalDuration()); //20 //the final result should be 30... not?
  6. Hi Carl, sorry for this old thread, but I am not able to pass arguments to my SWF by loader. Can you help me please? My AS3 code: var mySwfLoader:SWFLoader = new SWFLoader(path, {name:'swf', container:this, width:stage.stageWidth, height:stage.stageHeight, alpha:0, bgColor:"0x000000", autoDispose:false, onComplete:function(event:LoaderEvent){ mySwfLoader.item1.text = 'TEST THIS'; timeline.add(TweenLite.fromTo(event.target.content, 2, {alpha:0, ease: Power0.easeOut}, {alpha:1, ease: Power0.easeOut}),"+="+1); } }); My .FLA and .SWF to test this: https://www.dropbox.com/sh/ecihnnzgsvpw8dr/AABQuLXV9aXfWgxeVJb8gZ9Ia?dl=0 The SWF is loaded and showed correctly, but I can not change the text of the SWF. Thanks a lot Carl.
  7. Thanks. Did you know something similar to the GreenSock Timeline to AS3? The GS to AS3 is very good, but like you said, years without updates, for a good reason (html5). Thanks a lot. =)
  8. Hi! I have two videos on the timeline: After some seconds of the playing of the second video, it calls dispose() of the first one. But the dispose free the memory from the first one so fast that the play of the second video gives a small "bottleneck" in playback at the time of the dispose(). A "bottleneck" of half a second, but ideally it would not "bottleneck" anything and the playback would be 100% fluid. Is there a way of the dispose() free the memory more slowly? Thanks a lot.