Regarding using flash buttons to controle a movie if swf file in flash

Discussion in 'Graphics & Multimedia' started by vigneshwar, Sep 8, 2007.

  1. #1
    Hi every one in dp members I wanted to know how to use flash buttons in flash if any one know about this please reply me if suppose any one u know about some examples to use it please tell me.if u have any tutorials about the utilising the flash buttons please tell me.i already know hoe to animate the object but i dint remember how to use buttone to control the movie for ex buttons like play pause stop like this
     
    vigneshwar, Sep 8, 2007 IP
  2. arunprasanth

    arunprasanth Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    its simple..
    it can be done with action script...
    create two buttons on stage(in a separate later)
    then..differentiate the buttons..(green-play;red-stop)
    then use the following code...
    //on play button
    on(release)
    {
    <mcname>.play();
    }

    //on stop button
    on(release)
    {
    <mcname>.stop();
    }

    in a new layer..add this to first frame
    stop();

    if u r not clear with this...tell...i'll attach an example
     
    arunprasanth, Sep 18, 2007 IP