Jump to content
Search Community

LEL

Members
  • Posts

    16
  • Joined

  • Last visited

LEL's Achievements

0

Reputation

  1. myTimeline.insertMultiple( TweenMax.allTo(fadeOutClips, 4, {autoAlpha:0}, 6, gotoAndPlay, ["gointro"]), 6); I got it thanks for your help -- i'm tired and obviously brain dead
  2. ok so now i have a trace on each image clip and its tracing the tweens so they are happening -- but all of the images are set to alpha 0. I can't see any of the images.
  3. Now I'm having another problem. Its going to the new frame before the slideshow is complete. Here's my code: var fadeInClips:Array=[img01,img02,img03,img04,img05,img06,img07,img08,img09,img10,img11,img12,img13,img14]; var fadeOutClips:Array=[img01,img02,img03,img04,img05,img06,img07,img08,img09,img10,img11,img12,img13,img14]; TweenMax.allTo(fadeInClips, 0, {autoAlpha:0});//just to make them all invisible first. var myTimeline:TimelineMax = new TimelineMax(); myTimeline.insertMultiple( TweenMax.allTo(fadeInClips, 4, {autoAlpha:1}, 6) ); myTimeline.insertMultiple( TweenMax.allTo(fadeOutClips, 4, {autoAlpha:0, onComplete:gotoAndPlay, onCompleteParams:["gointro"]}, 6), 6);
  4. aah ok! Thanks Jack. You, sir, are a gentleman and a scholar.
  5. I am getting an error when I try that: 1119: Access of possibly undefined property gotoAndPlay through a reference with static type flash.display:DisplayObjectContainer.
  6. I'm sorry, Jack. I am working in AS3 My tween is in a MC called slideshow and when it completes i need it to go to the frame "gointro" on the main timeline. Here's the code i'm using: myTimeline.insertMultiple( TweenMax.allTo(fadeOutClips, 4, {autoAlpha:0, onComplete:gotoAndPlay, onCompleteParams:["gointro"]}, 6), 6); Now, if I put a frame called "gointro" in the MC "slideshow", it works fine...but I need for it to go to the "gointro" frame on the main timeline.
  7. hrm -- ok... the slideshow is in a movieClip "slideshow". when i place a frame on slideshow called gointro, it works just fine, but when i place a frame on my stage called gointro after the last clip fades out, it never seems to hit that frame. (i did a trace)
  8. but its the frame label on the parent timeline.
  9. gointro is the name of the frame on the parent timeline.
  10. I have this great slideshow going but I have the syntax wrong on the onCompleteParams and can't for the life of me figure it out. Its the parent that's giving me grief. Any one out there that can help? onCompleteParams:[parent."gointro"] Thanks! Lisa
  11. I'm trying to get my tween to play, and when its done go to the next frame. I'm using this code but its not working. Any idea what my problem might be? TweenMax.to(img01img, 5, {x:0, y:0, onComplete:gotoAndPlay('next')}); thanks!
  12. LEL

    label array?

    If I have another kid, I'm naming him Jack Thank you so much for your help!
  13. LEL

    label array?

    it was the ASO files... its working now ... but not functioning like I'd like it to. I'm sure it's my error when I click an arrow, I'd like for it to go to the next label in the timeline. Here's my code: function rtBtn01(event:MouseEvent) { myTimeline.getLabelAfter(1); myTimeline.paused=! myTimeline.paused; } any idea what I'm doing wrong?
  14. LEL

    label array?

    hrmmm I'm testing while working in flash.
  15. LEL

    label array?

    Thank yoU!!! I updated my "com/greensock" folder and tried using this: arrowRightBtn.addEventListener(MouseEvent.CLICK, rtBtn01); arrowRightBtn.buttonMode=true; arrowRightBtn.useHandCursor=true; function rtBtn01(event:MouseEvent) { myTimeline.getLabelAfter(); } and i'm getting an error: 1061: Call to a possibly undefined method getLabelAfter through a reference with static type com.greensock:TimelineMax.
×
×
  • Create New...