<pedrocorreia.net ⁄>
 

<Using CSS to Style Text in Flash 8: A Tutorial ⁄ >




clicks: 2993 2993 2006-10-12 2006-10-12 goto programacao myNews programacao  Bookmark This Bookmark This


If you've had the chance to work with Flash 8, one of the first things you've probably noticed is the change in rendering texts on the screen. Better than ever, working with text in Flash is no longer a chore in pixel checks, font size checks, scrolling hacks and the like. Yay!

These days, when working with text online, either in Flash or plain HTML, the use of CSS is more common. Part of this is due to modern browsers aligning (more or less) to current CSS standards. The people at Macromedia saw this coming, and included sparse support for CSS text styling in MX2004. Support in Flash 8 is better, but there are still some catches. In this tutorial I will address the things to watch out for, the best situations for CSS styling, and a walkthrough in creating a CSS stylesheet, a Flash file accessing the stylesheet and a plain HTML file accessing the same stylesheet, generating a look similar to the Flash layout. Fun!

Why do this?
You may wonder why I'm excited about this and what some of the benefits are to using CSS to style your text content. One of the main motivators for me is that, if needed, I can style both Flash content and plain HTML content using the same stylesheet. There's no need for me to change things twice anymore. Also, due to more browsers respecting CSS standards, but some people still not upgrading or even using Flash players, you can provide a site in HTML/CSS that is nearly identical (though not animated) to your Flash site. This can also be a way to provide truly accessible pages to those with less than normal vision. And besides, it's fun!



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://forums.programming-designs.com/viewtopic.php?pid=3402




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

RouterJs: easy routing for your ajax Web applications new ...

RouterJs is a simple router for your ajax web apps. It's build upon History.js which means that Rout (...)

clicks: 16602 16602 2012-05-14 2012-05-14 goto url (new window) haithembelhaj.g... goto myNews programacao


Backbone computed properties new ...

This gist shows one way to implement read- and write-enabled computed properties on a Backbone Model (...)

clicks: 16434 16434 2012-05-13 2012-05-13 goto url (new window) https://gist.gi... goto myNews programacao


Android Query new ...

Android-Query (AQuery) is a light-weight library for doing asynchronous tasks and manipulating UI el (...)

clicks: 16627 16627 2012-05-12 2012-05-12 goto url (new window) code.google.com... goto myNews programacao


Create Instagram Filters With PHP new ...

In this tutorial, I'll demonstrate how to create vintage (just like Instagram does) photos with PHP (...)

clicks: 16167 16167 2012-05-12 2012-05-12 goto url (new window) net.tutsplus.co... goto myNews programacao


HTML5 jQuery Paint Plugin new ...

Websanova Paint is a HTML5 canvas based jQuery plugin. It allows you to free paint on a canvas area (...)

clicks: 27246 27246 2012-05-12 2012-05-12 goto url (new window) websanova.com/t... goto myNews programacao


Real-time Applications With Node.js and Socket.IO new ...

Hey everyone! Sorry about the long pause since the last blog post, life has been quite hectic for th (...)

clicks: 16534 16534 2012-05-11 2012-05-11 goto url (new window) codingcookies.c... goto myNews programacao


Sass vs. LESS vs. Stylus: Preprocessor Shootout new ...

CSS3 preprocessors are languages written for the sole purpose of adding cool, inventive features to (...)

clicks: 15840 15840 2012-05-11 2012-05-11 goto url (new window) net.tutsplus.co... goto myNews programacao


15 Handpicked jQuery Drop Down Menus Tutorials new ...

Here we are presenting another brilliant collection of 15 jQuery navigation menu that you can downlo (...)

clicks: 15561 15561 2012-05-10 2012-05-10 goto url (new window) smashingapps.co... goto myNews programacao