Flash Component - Rounded Text

MS Rounded Text is very useful for creating full/half circle rounded text. you may even set the font, color, size and underline. Note: If you are using font you need to have an embedded font in your library.

By Using Component on Stage.

For actionscript users: you may create rounded text with the help of following methods.

componentInstance.createHalfCircleText(textString:String, Radius:Number, [rotationType:String (Clockwise, AntiClockwise)], iTextColor:Number, fontID:String, iFontSize:Number, isUnderline:Boolean);


componentInstance.createFullCircleText(textString:String, Radius:Number, [rotationType:String (Clockwise, AntiClockwise)], iTextColor:Number, fontID:String, iFontSize:Number, isUnderline:Boolean); 

How to craete on runtime?

just drag this component into the library.


this.createEmptyMovieClip("textHolder_mc", this.getNextHighestDepth()); 
textHolder_mc._x = 100; 
textHolder_mc._y = 100; 
var myText:MSRoundedText = new MSRoundedText(textHolder_mc) 
myText.createFullCircleText("Marghoob Suleman", 150, "Clockwise", 0xD10000, "Arial", 20, false); 
//myText.createHalfCircleText("Marghoob Suleman", 150, "Clockwise", 0xD10000, "Arial", 20, false);

Example



Download

AttachmentSize
MSRoundedText.mxp92.68 KB

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated.