beno Posted August 7, 2010 Share Posted August 7, 2010 Hi; I have this code: function WatchMovements() { watchMovements.x = 0; watchMovements.y = 0; watchMovements.alpha = 1; watchMovements.scaleX = watchMovements.scaleY = .5; var watchMovements_container:Sprite = new Sprite(); addChild(watchMovements_container); watchMovements_container.addChild(watchMovements); var watchMovements_timeline:TimelineMax = new TimelineMax(); watchMovements_timeline.append(new TweenLite(watchMovements_container, 1, {x: stage.stageWidth/1.5, alpha: .7})); } Now, if I initially set the alpha to, say, .7 instead of 1, the image will further fade to .7 squared when the tween is applied. My problem is I need to set the initial alpha to 0, which means I can't multiply it high enough to get anything over 0. What do? TIA, beno Link to comment Share on other sites More sharing options...
GreenSock Posted August 7, 2010 Share Posted August 7, 2010 I don't understand your question. If you set the container's alpha to 0, you certainly cannot expect to see anything inside that container regardless of what alpha those internal objects have. Link to comment Share on other sites More sharing options...
beno Posted August 7, 2010 Author Share Posted August 7, 2010 Another boner. Should have set the container's alpha to 0. Sorry again. beno Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now