1 Reply Latest reply on Apr 29, 2010 1:04 AM by Ambareesh

    GUI - how to change scene

    sibo86_x

      Hi,

       

      I am a true NOVICE.

       

      I have a (probably) basic question. I am making a user interface in flash (not a website UI), where I have two pictures in two different layers. When pressing a button in the first layer, I would like to jump to the second layer with the other picture.

       

      Any suggestions on how to do that?

       

      Thanks

       

      \sibo86_x

        • 1. Re: GUI - how to change scene
          Ambareesh

          well..

          you can do it using labels.

           

          create a new layer above these two.

          make sure that the images are not in the same frame column.

          go to the frame where second image is located. create a blank keyframe in the top layer. goto properties and give a "Frame label" in the frame text box.

           

          now goto  the first image frame. right click on the button -> actions and write the below code there.

           

          on(release){

           

          gotoAndStop("Frame name");

          }

           

          gud luck