A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: need timeline control help

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    4

    need timeline control help

    I need an action script 2 code for flash 8 that will loop a specific group of frames in the beginning of the
    timeline until a button is clicked that will go to and play play a different part of the time line once
    and then return to looping the first part of the time line again. Thanks Xeno.

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    391
    On the last frame of your specific group of frames, put:
    PHP Code:
    gotoAndPlay (1);
    //Or whatever your first frame is. 
    Create a button and put this in it:
    PHP Code:
    on (release) {
    gotoAndPlay (the frame of your different part);

    Then on the last frame of your different part put the first code I wrote.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center