Jump to content
Search Community

Alpha Problem

beno test
Moderator Tag

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...