A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: How to implement actions PLAY in begining and STOP in ending of current scene

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Posts
    11

    Arrow

    Hi all

    I am implementing Navigation bar to browse Flash presentation. When i press the NEXT button in the PRESENT SCENE, it should START PLAYing at the FIRST FRAME in the NEXT SCENE and STOP PLAYing at the LAST FRAME in the same scene.HOw should i implement this logic?

    At the time I write the NEXT BUTTON of PRESENT SCENE to file i don't know how many frames will be created in the NEXT SCENE.

    any one can please help me
    THANKS IN ADVANCE
    Lavanya

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    503
    You could simply use LoadMovie commands to load different SWFs, otherwise, use the GotoFrame actions (current_frame + distance...you don't need to know the # of frames in the next scene, only the current scene).

    --Jesse

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Posts
    11
    then what is this DISTANCE stands for?



    Originally posted by JAEzell
    You could simply use LoadMovie commands to load different SWFs, otherwise, use the GotoFrame actions (current_frame + distance...you don't need to know the # of frames in the next scene, only the current scene).

    --Jesse

  4. #4
    Junior Member
    Join Date
    Jul 2000
    Posts
    13
    Originally posted by Lavanya
    then what is this DISTANCE stands for?
    Say if the first scene has a grand total of 100 frames, and the second scene start at frame 101. Then for the button, you would have a "GotoFrame 101" ActionRecord.

  5. #5
    Junior Member
    Join Date
    Aug 2000
    Posts
    2

    Exclamation

    Originally posted by Lavanya
    Hi all

    I am implementing Navigation bar to browse Flash presentation. When i press the NEXT button in the PRESENT SCENE, it should START PLAYing at the FIRST FRAME in the NEXT SCENE and STOP PLAYing at the LAST FRAME in the same scene.HOw should i implement this logic?

    At the time I write the NEXT BUTTON of PRESENT SCENE to file i don't know how many frames will be created in the NEXT SCENE.

    any one can please help me
    THANKS IN ADVANCE
    Lavanya

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