Hi,
I have 2 pieces of curtains. 1) CurtainLeft_mc 2) CurtainRight_mc. I want to give it a real curtain style as Left curtain should move to Left from center of the stage and Right curtain should move to Right from center of the stage.
I tried the following code which works fine for Left side (CurtainLeft_mc). But the right one which should actually go to right but it is also moving to left because I don’t know how to modify correctly.
Please help me.
The code is:
TweenMax.fromTo(CurtainLeft_mc, 5, {width:500, alpha:1}, {width:50, alpha:1, delay:3, ease:Strong.easeOut});
TweenMax.fromTo(CurtainRight_mc, 5, {width:500, alpha:1}, {width:50, alpha:1, delay:3, ease:Strong.easeOut});