Learn Flash: Scrolling Dynamically Loaded Text

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash Tutorial - Scrolling Dynamically Loaded Text

Free Flash Tutorial


Step 11   <<   Previous      Intro   1   2   3   4   5   6   7   8   9   10   11   12   Next    >>       >>   Webwasp Mates

 

Step Eleven: Creating the Page Links

  1. Return to Scene 1 by selecting Scene 1 button:

  2. Go to: Insert > New Symbol
  3. Type the name: page1
  4. Select Behavior: Button
  5. Select: OK

  6. Create a button for your first page link with Up, Over, and Down states. Place a static text box in your button that says: Load Page 1. (Make sure Selectable is off!) Try to make your button about 85 x 20 pixels


    Sample page1 button
  7. Repeat 1-6 two more times to create 3 buttons total. Name the two buttons: page2 and page3 and change the labels as needed.
  8. From your Timeline, create a new Layer above your Scroll Button Down layer by clicking on the: Insert Layer Button and dragging it below your Actions layer:
  9. Rename the layer to: Links
  10. From your Library, drag each button onto the stage (in the first frame of your Links layer) and place them next to the text box rectangle. Align and space if necessary


    Your stage should look something like this
  11. Attach this ActionScript to page1 button

    on (release) {
        
    //loads this text file using the myLV LoadVars() object
        
    _root.myLV.load("page1.txt");
    }
  12. Add the same code to the next two page buttons, but change "page1.txt" to "page2.txt" & "page3.txt" for the page2 and page3 buttons, respectively.

         

Step 11   <<   Previous      Intro   1   2   3   4   5   6   7   8   9   10   11   12   Next    >>       >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

50043 visitors to this page since Sept 05 •

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.