Jump to content
Search Community

noiseisthis

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by noiseisthis

  1. Hii

     

    I'm loading in a swf animation with a couple of frame scripts embedded on the loaded swf timeline. I managed to load in the swf, place it into a TweenMax instance, and placed that TweenMax instance into a TimelineMax instance so I can control the playback. The only issue I'm having is that the swf animation frame scripts are not firing off.

     

    This is an example of how I'm setting up the above:

     

    // This occurs after the swf is loaded
    var intro = LoaderMax.getLoader("transition_intro").rawContent;
    var introTransition:TweenMax = new TweenMax(_intro, _intro.totalFrames, { useFrames: true, frame: _intro.totalFrames, ease: Linear.easeNone } );
    var timeline:TimelineMax = new TimelineMax( { useFrames:true, paused:true } );
    timeline.append(introTransition);
    timeline.play();
    

     

    Is there a way to have the loaded swf run a frame script on the defined frame (like mc.gotoAndPlay(0);) or am I setting up this wrong?

     

    Cheers

×
×
  • Create New...