Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Chris

Members
  • Posts

    4
  • Joined

  • Last visited

Chris's Achievements

0

Reputation

  1. What would someone have to do to add the first message item to the end so it looks seamless and loops infinitely?
  2. Hi there, I'm going to second this. The iPhone drag and throw effect is becoming very popular and I think users could do well to see an example of it in code. I'm in the corporate membership club BTW. Please message me if you need verification.
  3. Well I guess I'll have to cross out the idea of using TimelineMax. Instead, I guess I'll just have to check to see if currentFrame == totalFrames in the loaded swf, then play the next item in the LoaderMax queue.
  4. Hi there. I'm using the wonderful LoaderMax classes to load a series of swfs, and am trying to sequence them in TimeLineMax. Getting these two to work together has been rather difficult. The problem I'm finding is that I can't play the raw content in LoaderMax loaded swfs as simply as myTimeline.play(); Instead, the loaded swf files go visible=true and fade up, but don't play if set to autoPlay:false. To give you an idea of my issue here is the code, beginning with the onComplete function for LoaderMax: var queue:LoaderMax = new LoaderMax({name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler}); var myTimeline:TimelineMax = new TimelineMax(); . . . function completeHandler(event:LoaderEvent):void { var mc1CD:ContentDisplay = LoaderMax.getContent("My First MC"); var mc2CD:ContentDisplay = LoaderMax.getContent("My Second MC"); function playMovie():void { myTimeline.insert( new TweenLite(crispWhiteCD, 1, {autoAlpha:1})); //works myTimeline.append( new TweenLite(ripeRougeCD, 1, {autoAlpha:1})); //works myTimeline.addLabel("mc1LB", 1); myTimeline.addLabel("mc2LB", 50); myTimeline.play(); //broken } TweenLite.delayedCall(1.5, playMovie); } queue.append( new SWFLoader("_animation1.swf", {name:"My First MC", estimatedBytes:373760, container:holder, autoPlay:false, visible:false, alpha:0}) ); queue.append( new SWFLoader("_animation2.swf", {name:"My Second MC", estimatedBytes:320512, container:holder, autoPlay:false, visible:false, alpha:0}) ); Any idea what syntax must be used to get a LoaderMax swf to play as part of a TimeLineMax timeline? Thanks in advance to anyone who can help!
×