Archive for Flash
Circlorate your Images
March 9th, 2010 • 5 comments ActionScript, Flash, Projects
Tags: ActionScript, AS3, Flash, Pixelbender
Inspired by some artworks by Mexican artist Gabriel Orozco I saw just recently I decided to develop a tool for doing some kind of circle slice rotation with your images. The result is » Circlorator « and it’s basically just a Pixelbender filter and some UI elements and that’s it. Give it a try and generate your own artworks.
http://play.formatlos.de/circlorator/
Pixelbender Source
For those who want to play with the filter a little bit, there you go CirclorateFilter.zip
Examples

Create Font SWFs easily in FDT
August 19th, 2009 • 13 comments ActionScript, Flash, General
Tags: ActionScript, ANT, AS3, Flash
I created an ANT build file which lets you create font SWFs easily, it takes a class template as input, generates the actual class for the chosen font and compiles the corresponding swf. but enough talking … give it a try.
AS3 TextHighlighter
June 22nd, 2009 • 13 comments ActionScript, Flash
Tags: ActionScript, AS3, Flash, TextField
Because of the lack of text highlighting capabilities for Flash TextFields I coded a small class with a simple API to highlight text with your custom style. For your own styles you just have to implement an interface. The highlight method takes either a String or Regular Expression as argument.
The class doesn’t work for scrolling text at the moment, but feel free to extend the class.
example:
Read more »
Styling Html TextField Bullet Points
June 18th, 2009 • 10 comments ActionScript, Flash
Tags: ActionScript, AS3, Flash, TextField
If you ever needed to style the bullet points in a Html TextField in Flash you have noticed that this isn’t supported. It gets even worse if the bullet point in the font you’re using isn’t nice at all and you want to take another fonts bullet point.
But with a simple workaround you can change the font face, size and color of the bullet points:
And don’t forget to embed the bullet point, it’s character U+2022
Update 25.01.2010
Added an indent property to easily set the left margin of the list. For using other symbols than the bullet, you have to manipulate your font and embed the manipulated character.
AS3 TextField metrics bug
April 9th, 2009 • 2 comments ActionScript, Flash
Tags: ActionScript, AS3, Flash, TextField
Just a quick reminder for myself. There are a few interesting metrics functions in the AS3 TextField API like getCharBoundaries(), but if you have an autoSize field the methods won’t work properly. Just set the height of the field before calling the method to fix that.
... textfield.height = textfield.height; textfield.getCharBoundaries(charIndex); ...

