Hello,
I'm currently beta testing the new Adobe Animate and I have a problem with the 3d rotation.
In Edge I am using :
var element = sym.$("Container"); var front = sym.getSymbol("Container").$("front"); var back = sym.getSymbol("Container").$("back"); TweenLite.set(element, {transformPerspective:800}); TweenLite.to(front, .1, {opacity:0, delay: .2}); TweenLite.to(back, 0, {opacity:1, delay: .3}); TweenLite.to(element, 2.2, {rotationY:-180, ease:Back.easeOut});
But in Adobe Animate the rotationY does not seem to work, 2d animation are no problem, so it's not the library not loading or something...
Does work :
var mc = this.symbol1; TweenLite.to(mc, 1, {x:200,rotation:45});
Does not work :
var mc = this.symbol1; TweenLite.set(mc, {transformPerspective:800});
TweenLite.to(mc, 2.2, {rotationY:-180, ease:Back.easeOut});
Any thoughts on why it's not working? I don't have Flash CC at the moment, so I cannot test there.
I already posted this on the Adobe forum and got this answer : Have you tried the Greensock forum to see why this is not working. We haven’t done any investigation yet on working with GreenSock libraries and there is no integration (so no errors). We are also looking into this and will let you know if we find anything.
Thanks for any help!
Tim