September 11, 2003
Text Float Around Circle

I have built this little "Floater" class which allows you to have text in Flash flow around circles and rectangles. Here's a quick demo - just drag around the circle or resize the elements. The nice thing about is that its performance is way better in the new player. As usual - the code is incomplete, but perhaps someone is interested in taking it further, so here's the Floater source code.

Posted at September 11, 2003 06:01 PM | Further reading
Comments

Nice choice of text. Don't think I didn't notice the use of Douglas Adams' Hitchhikers Guide to the Galaxy ;-)

Posted by: Adam Howitt on September 11, 2003 07:24 PM

The rectangle doesnt flow text correctly, it almost covers the line above it. Or is it suppose to do that?

Posted by: tonypa on September 11, 2003 08:15 PM

Hmmm, I guess that's what I meant with "incomplete". The reason is that I just check on one position in each line and that getTextExtent() is not what you would use in rocket science when it comes to exactness.

Posted by: Mario on September 11, 2003 08:23 PM

hello ...
thank you ... but I wana to find a component that make a circular text !!

Posted by: Mohammad on November 9, 2003 02:48 PM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Thank you!

Most Visited Entries
Sketches, Works & Source Code
Lectures
Contact
Backlog
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german
Impressum


My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers