Hello,
I would like to create a class that takes a string and spaces the letters evenly around a circle. I have tried to check out text.rotation, but the direction of the text always is "right to left" even once rotated. I would like each individual character to follow the path of the circle (ie at the bottom a letter in the string would be upside down). Then, I would like to spin this circle of text.
Any pointers on how to do this would be much appreciated!
Cheers!
I found a sample of this from another post at: http://www.peterjoel.com/Samples/circletext.php
I am trying to adapt the code and put it in a package, but I am getting an error. In my main movie I call:
var myCircleText:DrawCircleTex
addChild(myCircleText);
This is the output:
This is fun!
ReferenceError: Error #1069: Property 0 not found on DrawCircleText and there is no default value.
at DrawCircleText/init()
at DrawCircleText()
at contentTestPlay_fla::MainT
at contentTestPlay_fla::MainT
Does anyone have an idea what I'm doing wrong?
Thanks again!
Open in new window