0

Text in Flash

Flash Source

This post shows some tutorials about text  in flash, you can change font and manage text

1.Flash Player 10 Text Ligatures Demo

The new low-level text engine in Flash Player 10 is quite complex and most Flash developers won’t use it directly. Adobe is planning on releasing an advanced set of text components later this year that utilizes the new engine and will provide an easy way for developers to take advantage of the new features. With that being said, if you WANT to roll your sleeves up and use the engine by all means go for it. Perhaps you can develop some great components for the rest of us to use.

lig

Read more

2. 5 tips for a better dynamic text management in Flash

I am starting the new year with a post about commons mistakes when using a dynamic text in Flash, and how to manage it

1) Give your text an instance name

Giving your text an instance name will make your dynamic text to be changed more easily than using the Var field.
For instance, if you instanced your text as my_text, you can simply change its content with _root.my_text.text = "Hello World", and you text will be independent from any variable
If you use the Var field, your text depends on the variable you will assign.
It’s not a big difference, but I prefer to change the text no matter any other variable has changed

fonts01

Read more

3.Google reads Flash text, so optimize it

With the recent admission by Matt Cutts to Stephan Spencer that Google is using Adobe Systems’ Search Engine SDK technology, a new set of optimization opportunities opened up.

That fairly definite confirmation of how Google reads text within Flash files makes it possible to create Flash .swf files with some level of search engine optimization.

060302_google

Read more

4.Animating Dynamic Text One Letter at a Time

Using Array.split() to separate a string, I can animate dynamic text letter by letter. This also allows me to put a spin on it to create different effects.

10-8-2008 10-51-47 PM

Read more

5.Changing Selection Color on Dynamic TextFields

For some reason or another selection color is not an option on dynamic TextFields in Flash.
This has been one of those issues that I’ve just accepted up until now.

I’m currently working on a project that has a design featuring white text over a black background. The caveat was that the text needed to be selectable as well. As anyone working with selectable text knows, the selection color is always black. This posed a problem… the user couldn’t actually tell when the text was selected or what characters were actually selected. I remembered a while ago reading about applying a color transform to the text field to change the selection color. Only problem with that solution is that it applies the transform to the entire field as a whole, which means the text color and background color are affected by the transform as well.

Read more

6.CSS and the bold tag in Flash TextFields

I think I have some fundamental lack of understanding here. I’m trying to use CSS to specify how some HTML text in a text field is rendered. Specifically, I want my bold text to be a bit larger and different color.

Read more

7.Flash IDE Text Strokes

I’m currently working on a project where the designer LOVES to use stroked text. As you probably know by now, there is no text stroking in Flash unless you bring the asset in already stroked from another program or you break the text apart and add a stroke to the broken up shapes. There is, however, a little trick you can do to keep your text editable and add a stroke in Flash.

strokedtext

Read more

8.Flash: yourMom.getTextFormat(); //is the key to letterSpacing

I’ve spent the past month working on a Flash project for a large ad agency. In the agency, the designers hand me FLAs that have all of the assets, some code, and some interactivity. Rather than recreating what is on the FLA in nice, clean, object-oriented AS 2, it is my job to automate the existing assets and keep them in the FLA. In a way, the coding practice is something you might call AS 1.5. There are AS 2 classes, components, frame code, and author-time movie clips — and they all have to make friends.

Read more

  • Share/Bookmark
 

Story by admin

Tags: , , ,

Leave a Comment

Banner Banner