Jump to content
Search Community

qis qis qis

Members
  • Posts

    2
  • Joined

  • Last visited

qis qis qis's Achievements

0

Reputation

  1. Thanks for your welcoming and your reply. I actually did figure out a solution to my problem while I was waiting. Here's what I wrote to solve it: for (var i:int = 0; i < gridBoxes.length; i++) { TweenMax.to(gridBoxes[i], .5, {alpha:1, delay:Math.random() * 7, ease:Circ.easeIn, repeat:-1, yoyo:true, repeatDelay:10}); } function fadeLogoIn():void { TweenMax.to(endframe, .5, {alpha:1, ease:Circ.easeIn, delay:18, onComplete:fadeLogoOut}); } function fadeLogoOut():void { TweenMax.to(endframe, .5, {alpha:0, ease:Circ.easeOut, delay:2, onComplete:fadeLogoIn}); } fadeLogoIn(); The timing is set so the objects never fall out of sync. I think this method could get very complicated if there were more than a few objects. Now that I solved it, though, I can check out timelinelite! Thanks for the tips. Best, qis
  2. Hello, I'm working on an animation that will become a screensaver. Below I have a for loop that tweens an array of sprites from alpha 0 to alpha 1. It executes exactly as I need it, but when I try to tween endframe (as written in the second TweenMax) the delay of 18 seconds and the repeatDelay of 2.5 only works on the first loop. After the first loop, endframe fades in and out every 2.5 seconds. Here is the code snippet: for (var i:int = 0; i < gridBoxes.length; i++) { TweenMax.to(gridBoxes[i], .5, {alpha:1, delay:Math.random() * 7, ease:Circ.easeIn, repeat:-1, yoyo:true, repeatDelay:10}); } TweenMax.to(endframe, .5, {alpha:1, delay: 18, ease:Circ.easeIn, repeat:-1, yoyo:true, repeatDelay:2.5}); How can I solve this so that endframe fades in and out every 18 seconds indefinitely? I also have to apply this ability to several other movieclips exported for as3 that will fade in and out every 5, 10 and 15 seconds. By the way, endframe is a movieclip exported for as3. It's a logo so that's why I exported for as3. Thank you so much in advance!
×
×
  • Create New...