Home > Programming > CSS Tutorial
Ticker & Scroller Playing with text in Flash7
Sort Desciption:Actionscript Tutorial 1 Ticker & Scroller Playing with text in Flash7 by Armand Niculescu Media ... Of course you can add other definitions. 1. /* tickerstyle. css */ 2. p {font-family:
Content Inside:Actionscript Tutorial 1 Ticker & Scroller Playing with text in Flash7 by Armand Niculescu Media Division Its been 3 years since my last tutorial on Flash programming. So much has changed, its impossible to pick up where I left. Actionscript has gone through many changes, becoming more mature. The flashers have changed too. Because of its complexity, Flash is no longer for everyone - we no longer have flashers - we have specialized groups, Designers and Developers. Some time ago I wanted to do an introduction in Object Oriented Programming, but my work has kept me away from dedicating time and energy for this, and others (like Robin Debreuil) have done it better than I could. Still, I realize there are many things one can learn, and today I want to share with you a very simple application: the text ticker. Most of these applications are built with javascript, which is OK, but the scrolling is not smooth unless you do a lot of tricks. So, well do it in Flash and well make sure its easily configurable, so that theres no need to recompile every time the text or layout changes. In this tutorial youll learn how to use setInterval , how to read text from a file and how to create and style a textField . Have fun, Armand Niculescu armand@media-division. com www. Media Division. com www. Rich NetApps. com The Ticker The text ticker is just a line of text that scrolls right to left, over and over. Its one of the simplest things you can do with Flash. Start with an empty Stage of 200x20 pixels. Add this code to the first frame: Actionscript Tutorial 2 1. Stage. scaleMode = "noscale"; 2. var my Style: Text Field. Style Sheet = new TextField. Style Sheet () ; 3. var my Data: XML = new XML () ; 4. var scrollSpeed: Number = 2; The ticker will be embedded in a html page, so we want to stage to resize, not rescale, that is we want the Stage to have more/less pixels avail ...
Source: www.media-division.com
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Related Files
The 30 minute CSS tutorial
Filed under: Programming and CSS TutorialThey free your content (the HTML document) from the layout (the CSS file), so you may change your website ... With CSS, you first define the style. Then as you are writing the HTML, you apply the required ...
12 CSS LAYOUTS
Filed under: Programming and CSS TutorialA great tutorial by Jeffrey Zeldman that chronicles the steps needed to create a ... The Box Model Hack Lovingly crafted by Tantek Çelik, the Box Model Hack (www.tantek.com/CSS ...
12 CSS LAYOUTS
Filed under: Programming and CSS TutorialGreat examples of multicolumn layouts created with absolute positioning.
Formatting Web Pages with Style Sheets
Filed under: Programming and CSS TutorialThis way, when you want to change the look and feel of your Website, all you need to change is the style sheets. Style Sheet Fundamentals Style sheets, or more properly Cascading Style Sheets (CSS) ...
Flash sty ling with CSS and Flash
Filed under: Programming and CSS Tutorial... may 2007 .net technique flash Knowledge needed Basic CSS, Flash ... Key styles such as margins, fonts and font sizes can be grouped ... or tags class attribute. Getting started In this tutorial, Ill ...
