• home
  • forum
  • my
  • kt
  • download
  • Creating Tween Selection buttons

    Author: 2008-10-09 08:50:02 From:

    How to create movie tween selection buttons:

    • In the "buttons" layer:
      • Select the rotate button then in the properties panel set the instance name to "rotate_btn".
      • Select the scale button then in the properties panel set the instance name to "scale_btn".
      • Select the fade button then in the properties panel set the instance name to "fade_btn".
    • Then in the "actions" layer:
      • Select the first frame.
    • Open the actions panel.
    • Enter the following code in the "Actions-Frame" panel.

    rotate_btn.onPress = function(){
    gotoAndPlay(2);
    }
    scale_btn.onPress = function(){
    gotoAndPlay(21);
    }
    fade_btn.onPress = function(){
    gotoAndPlay(41);
    }

    • In the main menu go to Control > Test Movie.

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (20)
      Math Physics (14)
      3rd Party (5)
      Navigation (60)
      Actionscripting (26)
      Optimization (16)
      Animation (32)
      Projector (9)
      Audio (46)
      Special Effects (112)
      Backend (25)
      Text Effects (65)
      Drawing (18)
      Tips and Techniques (41)
      Dynamic Content (30)
      Tricks (8)
      Games (97)
      Utilities (21)
      Getting Started (91)
      Video (24)
      Interactivity (43)
      Web Design (29)

    New

    Hot