Web Development Logs
Find articles, news and reviews about latest technologies.


Welcome Guest !
please login or register a new free account.


Home | Archives | Submit Article | Top Rated | Advance Search | Contacts Us | Rss Feeds

    Main Categories
» Free downloads
» General Blog
» Google Adsense
» Scripting languages
» Search Engines
» Web Designing

  More Options
» Most read articles
» Most rated articles

   Subscription
Subscribe now and receive free articles and updates instantly.
» Your name » Your Email

titles description    advance search
Published : April 29, 2006 | Author : Ali Roman
Category : Web Designing | Total Views : 1740 | Rating :

  
I assume that you have read the tutorial for loading external from a text file. If not then read the following tutorial first.

http://www.aliroman.com/article/how-to-load-data-from-a-text-file-in-flash-5-1.html

It is not much complicated, just perform the following steps and your
scroll bar is ready.



Follow The steps..
-------------------
1. In above tutorial the Dynamic text box in Single Line, so first
change it to Multi Line

2. In TEXT file put as many lines as you want. remember if the lines will
not exceed the size of TEXT box, the buttons will not work, I mean you
must put about 20 lines data in TEXT files.

3. In my text file I have this text (From Daryl Signature wink.gif)
QUOTE

When children have to play inside so they don’t disappear, private eyes solve marriage lies cause we dont talk for years, and football teams are kissing queens and losing sight of having dreams - In a world where all we want is only what we want untill it’s ours, I’m calling all angels.

4. Now make two buttons, one with arrow up and one with arrow down.
In Webdings Font 5 is arrow up and 6 is arrow down, its upto you.

5. Now rightclick Arrow Up button and in its Actions, paste the following code.
CODE
on (release) {
    data.scroll--;
}

DESCRIPTION

Now lets see this line data.scroll--.
As you know data is our varialble which we are using to load external text.
So its easy to understand what is going on here. Secondly if your Dynamic Text Box
is in any other movie for example you MovieClip() name is news then you will use it
like this news.data.scroll--.

6. Now on Arrow Down button, in its Action, paste the following code.
CODE
on (release) {
   data.scroll++;
}

thats it. I hope its very easy to understand, if you are facing any problems please
feel free to ask questions.

Download Example File

regards
- Ali..




1 2 3 4 5
please rate this article     Poor
Excellent    
Most viewed articles in Web Designing category

• How to create web TABS with javascript show-hide layers
• Creating email form with flash and php
• Embedding flash movie in visual basic
• how to load data from a text file in flash
• Scrolling externallly loaded text in flash
Most recent articles in Web Designing category

• How to create web TABS with javascript show-hide layers
• The Resolution Dilemma
• Setting best image export quality in flash
• Scrolling externallly loaded text in flash
• Creating email form with flash and php

 Visitor's Comments !

there are no comments...


    Random Pick
Google Adsense is a quick way to earn some money, but learning the Google Adsense secret can mean earning even more. Google Adsense is an advertising program that pays you to display ads on your site, using a pay-per-click program.

    Statistics
» Total Articles
72
» Total Authors
96
» Total Views
116331
» Total categories
6

Delete cookies set by this site | Top   

Article Manager by Flaxweb
Copyright 2006 © Flax Article Manager v1.1