A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: as3 dynamic text field to curve

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    6

    as3 dynamic text field to curve

    please any body tell me
    how to convert dynamic text field in curve (arc,semi circle) at runtime

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You need to use the Flash 10 Textengine:

    http://flashscript.biz/Flash10/curve...urvedtext.html
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Jul 2007
    Posts
    23
    I think there may not really be a good way to do this and get a very nice looking result.

    I've spent quite a bit of time almost getting what i would consider a usable result for real-world applications i.e. preserving the spacing of text with proper kerning, but not quite, as it's difficult to get an accurate measurement of input characters at runtime. Realistically I think most people would rather have the amount and size of text set the distance around the curve rather than evenly fill a space with "objects".

    However, if you can calculate the circumference your text covers you should be able to divide that in half to at least get a centered look(the second most difficult part).
    Project707
    Dynamic web development and rich media
    Project707.com

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