• home
  • forum
  • my
  • kt
  • download
  • Scrollbar

    Author: 2007-06-14 17:20:51 From:

    Scrollbar is very popular in Flash.Exactly this tutorial explains, how to create a simple scrollbar using action the script.You will also learn how to create dynamic text field and more.

    Step 1

    Create a new Flash Documet, take the Text Tool (T), open the Properties Panel (Ctrl+F3) and set the Dynamic Text.



    Step 2

    Using drag and drop technique, create a "rectangle" in whic you'll add some text. Look at the picture!



    Step 3

    Select the drawn "rectangle" open the Properties Panel (Ctrl+F3) and set the options from the picture below!



    Step 4

    Right click on the created "rectangle" and choose Scrollable.



    Step 5

    Copy a large text from somewhere and paste it in the created "rectangle" (area for text) or type any text in that "rectangle".



    Step 6

    Create two buttons in Flash, which will use for text scrolling.



    Step 7

    Select the "UP" button, open the Action Script Panel (F9) and paste this script:

    on (release) {
    scrollbar.scroll -= 1;
    }

    Step 8

    Then select the "DOWN" button, open again the Action Script Panel (F9) and paste this script:

    on (release) {
    scrollbar.scroll += 1;
    }

    Test your Movie (Ctrl+Enter).

    We're done!

    Download source file (.fla)

    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 (25)
      Tricks (6)
      Games (66)
      Utilities (19)
      Getting Started (71)
      Video (10)
      Interactivity (21)
      Web Design (22)

    New

    Hot