4 Replies Latest reply on Jan 1, 2012 5:47 PM by Ned Murphy

    Start Movie button

    Levsky

      Hi every one Happy New Year.

      I need assitance in creating  start button to a small flash movie I created.

      I like to put start button on very fist frame of the move

      I did incest actionscrip stop() to prevent of it start running on load but now I need a button and scrip to start running.

      My skill in action script are limited.

      I try create simbol as button or movieclip .

      Any way any help would be appreciated

       

      Thanx

        • 1. Re: Start Movie button
          Ned Murphy Adobe Community Professional & MVP

          Create a button or moviecli to act as a button and place it on the stage in the first frame.  With the button selected on the stage, assign it an instance name (such as "start_btn", or whatever you prefer) in the Properties panel where it says <Instance Name> .  Then, add the following code in frame 1 where you have the stop() command...

           

          start_btn.onRelease = function(){

               play();

          }

          • 2. Re: Start Movie button
            Levsky Level 1

            HI Ned

            Happy New Year

            As usual you ready to help

             

            I did it and it will load movie if you click on the button it no getting started

             

            Here what I did

            On the fistr layer i inset this.stop() on the first frame

            I create next layes and on first frame I place an image as a movieclip actualy same name you use

            What is happenning  button image is jumping and I do not get heand on the pointer and movie is not getting plyed

            Any idea

            • 3. Re: Start Movie button
              Levsky Level 1

              Nevermind I found error

              Thasnx as usual you alway find very simple resolution

              Again thanx and happy new year.

               

               

              Lev

              • 4. Re: Start Movie button
                Ned Murphy Adobe Community Professional & MVP

                You're welcome Lev.