I'm trying to set up a timeline that displays a countdown: "READY", "SET", "GO", where each word shrinks and fades in. I think I've got the code right, but it only seems to work some of the time, other times the label text will update, but it doesn't shrink or fade...I think it might have to do with the tweens or callbacks interfering with each other if the machine is too slow but I'm not sure...
Can you tell me if this code looks right? If so, what can I do to fix it?
var tl:TimelineLite = new TimelineLite();
tl.append(new TweenLite(m_notice, 0, {alpha:0, scaleX:2,scaleY:2,
onComplete:setNotice, onCompleteParams:['READY'],
immediateRender:true, overwrite:0}));
tl.append(new TweenLite(m_notice, 1, {alpha:1, scaleX:1, scaleY:1,overwrite:0}));
tl.append(new TweenLite(m_notice, 0, {alpha:0, scaleX:2, scaleY:2,
onComplete:setNotice, onCompleteParams:['SET'],
immediateRender:false,overwrite:0}));
tl.append(new TweenLite(m_notice, 1, {alpha:1, scaleX:1, scaleY:1,overwrite:0}));
tl.append(new TweenLite(m_notice, 0, {alpha:0, scaleX:2, scaleY:2,
onComplete:setNotice, onCompleteParams:['GO'],
immediateRender:false,overwrite:0}));
tl.append(new TweenLite(m_notice, 1, {alpha:1, scaleX:1, scaleY:1,overwrite:0}));
tl.append(new TweenLite(m_notice, 0.5, {autoAlpha: 0,
immediateRender:false,overwrite:0}));
m_timeline.insert(tl, 1);