View Full Version : Displaying text on circumference of circle
10-28-2009, 07:06 AM
I am new to flex and action script. How can i display the text(radius) on circumference of circle?
If possible please give me some code snippet. I am using flash.display.Sprite class.
10-28-2009, 07:15 AM
not the easiest thing if you expect to use TextField and the built in text renderer. And creating tons of TextFields for each letter is going to be one massive bitch for memory usage. I just don't suggest that.
Other methods though mean quite a bit of work from you as the coder. You would devise your own way of rendering text. How do you do that??? Well google for "text rasterizing".
In the end, go with something kind of complex and a memory hog.
Or go with something super complex and is efficient.
NOTE: I'm not sure if CS4, or if the future CS5, come with more advanced text rasterization... which they may... but as far as I know they don't.
10-28-2009, 06:07 PM
You will not be able to render text along curves with the new text engine either. At least not without similar setups. It might be a tad more memory efficiant, but that's it.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.