GiG
May 12, 2015, 4:27pm
#1
I’m still having big problems with Actuate when targeting HTML5:
I try to execute this tween
Actuate.tween (this, 1, { y: this.y + 100 } ).ease (Quad.easeOut).onUpdate(traceX, [x]).onComplete(exeNextTween);
but it looks like it doesn’t even start, onUpdate is never fired and onComplete is a mirage, while targeting Flash everything works: what’s the problem? Should I forget about Actuate and start using another tweening library?
What is your “this” object?
GiG
May 12, 2015, 6:23pm
#3
It is the object to animate, it extends Sprite and contains several subobjects.
Thanks for sending me your source, This is now resolved in OpenFL. The issue is that the Event.ENTER_FRAME was dispatching in a slightly different order, between Flash and other targets. In your project, you added event.stopPropagation () in your listener, which was canceling the ENTER_FRAME from reaching Actuate. Thanks again smile
I’m going to guess that this may be the same thing
GiG
May 13, 2015, 7:40pm
#5
I will tell you as soon as I update the OpenFl libs.
GiG
May 14, 2015, 9:06am
#7
Looks like ENTER_FRAME is totally ignored in HTML5…
Could you see if you have the latest OpenFL installed?
GiG
May 14, 2015, 9:14pm
#9
Upgrading to OpenFl 3.0.6!
GiG
May 15, 2015, 8:18am
#10
Perfect! It works correctly now, thank you!
1 Like