
lwmirkk
-
Content Count
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
FAQ
Showcase
Product
Blog
ScrollTrigger Demos
Downloads
Posts posted by lwmirkk
-
-
Hi!
How to make ImageLoader display animated GIF?
Today it is displayed only the first frame.It's possible?
Thank you. -
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.
-
On 3/19/2018 at 12:54 AM, GreenSock said:
Sorry, @lwmirkk, I don't entirely understand the question and I can't think of any way that dispose() could be forced to free memory more slowly (that seems quite undesirable actually). Also, for the record, the AS3 tools haven't been actively supported for years but you're totally welcome to use them. Cheers!
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.
-
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.
-
48 minutes ago, GreenSock said:
A timeline is just a wrapper for tweens (and other timelines), so its duration is always based on its contents. When you alter its duration, it simply alters the timeScale accordingly so that it APPEARS to take that long to play, that's all. Make sense?
Hmm... understood.
Thanks a lot.
-
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?
-
On 4/9/2018 at 2:54 PM, Carl said:
Hi lwmirkk,
Sorry but we really don't have a lot of time to be supporting the old AS3 loader stuff.
From looking at your code it looks like you are thinking that the mySwfLoader has a TextField on it called "item1".
mySwfLoader.item1.text = 'TEST THIS';
I'm gussing item1 is in the actual swf you loaded so try targeting the rawContent of the SWFLoader like
mySwfLoader.rawContent.item1.text = 'TEST THIS';
https://greensock.com/asdocs/com/greensock/loading/core/DisplayObjectLoader.html#rawContent
Thanks a lot Carl. ?
-
On 03/08/2016 at 2:15 PM, Carl said:
Ok. The example you just provided showed how to update variables (or text in a TextField) after the swf is loaded.
What do you need to do differently?
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.
-
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. =)
-
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.
ImageLoader with Animated GIF
in GSAP (Flash)
Posted
Thanks a lot! No problem, I converted them to SWF and loaded with SWFLoader. ?