autoalpha problem in GSAP (Flash) Posted December 15, 2012 as we all konw,autoalpha can tween alpha and visible.i have code as follows import com.greensock.TweenMax; import com.greensock.easing.*; mc.visible=false mc.alpha=0 TweenMax.from(mc, 1, {autoAlpha:0,y:400}) but seems not work.if i remove mc.visible=false mc.alpha=0 it works and tween alpha from 0 to 1 if i use tweenmax.to function it works well .
autoalpha problem
in GSAP (Flash)
Posted
as we all konw,autoalpha can tween alpha and visible.i have code as follows
import com.greensock.TweenMax;
import com.greensock.easing.*;
mc.visible=false
mc.alpha=0
TweenMax.from(mc, 1, {autoAlpha:0,y:400})
but seems not work.if i remove mc.visible=false
mc.alpha=0 it works and tween alpha from 0 to 1
if i use tweenmax.to function it works well .