Share Posted September 21, 2015 Hi, this last event in my timeline is not firing off. I just want this second square which is blue to go from opacity 0 to 1 at 10 seconds in the timeline. So, I used the tl.from event and made it coming from opacity 0, right? Where am I going wrong? See the Pen XmKVGx by jstafford (@jstafford) on CodePen Link to comment Share on other sites More sharing options...
Share Posted September 21, 2015 Hi jstafford pls fix these issues in your pen : - in your css , pls fix by adding a semicolon at the end : background: #0000FF ; - in js , your tween should be like this : .from($("#square2"),1.5,{autoAlpha:0}, 10); Link to comment Share on other sites More sharing options...
Author Share Posted September 21, 2015 : / ; yes, I want it to fade in so it comes "from" 0. I think I changed that to 1 in frustration. Apologies on the semicolon. I think this was my actual problem. Thanks again Diaco. 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