Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 4941 Flash Sites | 1 New Flash Links
What's New | Top 100 Flash Site

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


Random Links | Add your own Flash Related Links
Flash Tutorials 1481 Tutorials 7 New Tutorials Added!
What's New | Top100

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Actionscripting/Basic

Categories How to make a scrolling bitstream?
Author: J. van Raak

 
Page 1
1 2 3 next»

Hello folks,

Today we're going to make a Bitstream scroller. The Bitstream must contain an endless stream of random generated bits and must scroll downwards. So you'll never know what you gonna get.

First we create a new Flash document. Set the document width and height to 120X90 pixels and set the document Frame rate to 40 fps.

Use the Text Tool to create a textbox on the stage and type some dummy zeros for the text. This textbox is going to contain our random generated bits.

Go to the properties window and set Fontstyle to Courier New, 12, Bold, Align Center. Use the square in the right bottom of the textbox to set the width to 120.0. Use the properties window to set the height to 18.0, make sure you set the aspect ratio off, do this by clicking on the lock on the left otherwise the width will change too and we don't want this to happen. Set X to 0.0 and Y to 72.0 so the text will be on the bottom of the document.

Make sure your text is of the type Dynamic Text(left top of the properties window) and set the Var property to _root.BitLine9. Dynamic text means we can change this text at run time, using the variable _root.BitLine9. For every line of bits we are going to create a text with a variable. This variable is going to contain the actual bits that are scrolling down.

Copy the text 9 times and paste each copy exact on top of the previous copy. Use the guide lines in Flash to do this. So the last copy of our text should have a X of 0.0 and a Y of -90.0. Make sure it has exactly these values and not -90.3 or something like that.

For each text we created we are going to set a different Var variable. Make sure you use the capital letters because Flash is case sensetive. For the text on top set Var to _root.BitLine0,
for the second text set Var to _root.BitLine1,
for the third text set Var to _root.BitLine2,

and so on...

For the ninth text set Var to _root.BitLine8, and the original text we already set to _root.BitLine9.

If you performed all above actions your Flash document should look something like this now:

1 2 3 next»

» Level Intermediate

Added: : 2004-11-05
Rating: 5.57 Votes: 7
Hits: 1867
» Author
Not much to tell ya!
» Download
Download the files used in this tutorial.
Download (172 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments