Jump to content
Search Community

fsd80

Members
  • Posts

    4
  • Joined

  • Last visited

fsd80's Achievements

0

Reputation

  1. Hi, I had same problem -> Unexpected "]" you HAVE TO remove in all line ( , ) in front of ( ] ) new TweenLite(USDM, .5, {alpha:1, scaleX:.75, scaleY:.75}), ], 2, TweenAlign.START, 0.2); it must be like this new TweenLite(USDM, .5, {alpha:1, scaleX:.75, scaleY:.75}) ], 2, TweenAlign.START, 0.2); Hope it will be working
  2. Carl, I know that you heard it a lot of times, but let me say it agin please. Thank you !!! YOU ARE AWESOME !!! Your tutorials on http://www.snorkl.tv/ are the best.
  3. Thank you for help I think i´m close but there is still error I need all movieclips to fade out randomly to alpha:0, Please take a look help sombody becouse I´ve got arrayNightMare )))) alrady.. var allMovies:Number = container_mc.numChildren; var clips:Array = new Array ; var eachMovie:MovieClip = new MovieClip ; for (var i:Number = 0; i < allMovies; i++) { eachMovie = container_mc.getChildAt(i) as MovieClip; trace(eachMovie); clips.push(eachMovie); doStuff(); } function doStuff() { var timeline:TimelineLite = new TimelineLite(); var temp:Array = clips.slice(); var i:int = temp.length; var index:uint; while (--i > -1) { index = int(Math.random() * i); timeline.append( new TweenLite(temp[index], 1, {alpha:0}) ); temp.splice(index, 1); } } Carl PLEASE save me from this nightmare... ))
  4. Hi, I like this example very much,is there a chance to show how to do it without naming movie clips, is there a way for use f.e. "numChildren" ??? Thx !!!
×
×
  • Create New...