psych
July 13th, 2008, 10:25 AM
Hi,
I have a situation where i have a MovieClip with TextField attached to it using addChild(), something like:
mcName.addChild(textField);
stage.addChild(mcName);What i am trying to accomplish is tween backgorund color of movie clip without also effecting color of TextField inside it. If i try the following using Tweener:
Tweener.addTween(mcName, {_color:0xFF6600, time:0.5, transition:"linear"});Then color of both mc and text field will be tweened to 0xFF6600. How can i only tween movie clip's color?
thanks,
best regards
I have a situation where i have a MovieClip with TextField attached to it using addChild(), something like:
mcName.addChild(textField);
stage.addChild(mcName);What i am trying to accomplish is tween backgorund color of movie clip without also effecting color of TextField inside it. If i try the following using Tweener:
Tweener.addTween(mcName, {_color:0xFF6600, time:0.5, transition:"linear"});Then color of both mc and text field will be tweened to 0xFF6600. How can i only tween movie clip's color?
thanks,
best regards