dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Play/Pause Help

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    5
    OK. I have 2 buttons. 1 a play button and 1 pause button.
    I want to make it control my presentation while only showing one button. i.e. if the movie is playing you only see the pause & if the movie is paused you only see the play. If anyone has a sample script or any ideas it would be greatly appreciated. Thanks.

  2. #2
    Member
    Join Date
    Oct 2000
    Posts
    51
    Yes - I think I know what you are trying to do. You need to be using [1] movie clips and [2] possibly the Tell Target action. There are pelnty of tutorial here and at the Macromedia website that detail these features.

    I'm sorry if this answer doesn't sound too detailed, but once you get the hang of movie clips and Tell Target you'll know what I'm talking about and it's all very straightforward from there.

    Sam

  3. #3
    Junior Member
    Join Date
    Jun 2000
    Posts
    10
    two buttons, one of them in a movie clip named MCplay.

    put this action on the play button in the MC-

    on (release) {
    play();
    setProperty ("_root.MCplay", _visible, false);
    }

    on the pause button this action-

    on (release) {
    stop();
    setProperty ("_root.MCplay", _visible, true);
    }


    and as sam_flanagan metions you should read about this so you can understand what is happening to make this work.


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