A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Fill a shape with text

  1. #1
    Senior Member flamedude's Avatar
    Join Date
    Jun 2003
    Vancouver, BC

    Fill a shape with text

    Hello chaps,

    I have a little flash project coming up, a christmas card, that requires a christmas tree shape to be dynamically filled with messages from an XML doc. A word/tag cloud basically.

    I've seen these things all over the place but I'm looking for an AS3 version that dynamically populates this shape and allows for difference in font size to give it some more variety and flavour. I've got some examples of tag clouds but they don't accept a shape as its outer bounds and I've found some that allow for a shape but don't account for dynamic resizing of the text. Even a nudge in the right direction would be all I need and I can go from there.

    This is the sort of thing I am after; http://www.ressacmedia.com/blog/wp-c...tag-cloud1.png

    But within a specific shape, a christmas tree, rather than a random cloud.

    Does anyone know anything that I should take a look at?

    Thanks for any advice, its really appreciated.


  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Take a look at the shapeLayout class in the Hype framework.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center