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 » 3rd_Party/Other

Categories Flash Ticker Instance Model
Author: Joshua Sullivan | Website: http://www.metagamer.com/ |

 
Page 2
«prev 1 2 3 4 5 6 7 next»

Introduction

Need a ticker on your site, but can't scrounge up the $1000 for Generator? This tutorial will show you how to make your own ticker with even better features! Generator tickers suffer from several problems: they can only move at a single pre-determined speed, they cannot change directions, and their file size is HUGE! Since my version is entirely driven by ActionScript, not tweens, the final file size is very small. My example SWF is 7k, of which nearly 5k is font outlines. A text-only ticker with generic fonts could easily weigh in under 4k!

First, you have to decide what the general format of each ticker entry should be. This example only uses a single format, but a small change to the data file along with a small addition to the ActionScript could allow for multiple formats. In the example, each entry is simply two stacked text fields:

(Yes, I realize how boring this is.)

Thus... to create a ticker, we'll need two data values for each entry, which leads us into the format of the data file. In the file that you can download at the bottom of this tutorial is a file called "list_data.txt". This is read in by the SWF at run-time to create the ticker. Here is the URL encoded data from the file:

itemcount=8&symbol1=MSFT&price1=70.5&symbol2=SBUX&price2=34.5625&
symbol3=CSCO&price3=62.875&symbol4=AMCC&price4=96.875&symbol5=QCOM&price5=74.6875&
symbol6=INTC&price6=128.9375&symbol7=WCOM&price7=43&symbol8=ORCL&price8=82&eof=1

«prev 1 2 3 4 5 6 7 next»

» Level Advanced

Added: : 2000-06-19
Rating: 5.91 Votes: 33
Hits: 5615
» Author
No information about the author has been provided.
» Download
Download the files used in this tutorial.
Download (84 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