Scroll External TEXT with Buttons (Basic) - Flash Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   Swishzone

Manage your site with Flax Article Content Management System
Scroll External TEXT with Buttons (Basic)
Category : Flash | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

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.swish-db.com/phpBB2/viewtopic.php?t=2887

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

[FLASH=230x140]http://www.swish-db.com/Board/flashtut/sbar.swf[/FLASH]


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


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online