USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 5/18/09 02:07 PM
Sign-Up: 06/10/07
Posts: 143
I searched everywhere, but I still dont know how to do a circle text in flash ; Any tips ?
Like that :
Posted at: 5/18/09 02:11 PM
Sign-Up: 12/06/05
Posts: 2,249
I don't think that's possible in Flash.. Not sure, though.
NEED A ARTIST FOR YOUR PROJECT (GAME, WEBSITE, INTRO, WHATEVER)?? : Only cool people comment to my news-posts. Seriously.
Posted at: 5/18/09 02:13 PM
Sign-Up: 04/11/07
Posts: 1,168
There should be a better approach, but I always write the text, break it up and arrange the letter manually. But don't do that. It sucks, just like me.
In case you haven't noticed yet, this isn't my main anymore. PM me here.
Posted at: 5/18/09 02:20 PM
At 5/18/09 02:13 PM, WhoknowsmeaUdiO wrote: There should be a better approach, but I always write the text, break it up and arrange the letter manually. But don't do that. It sucks, just like me.
Hmm is there a way to do it using AS ?
Posted at: 5/18/09 02:22 PM
At 5/18/09 02:11 PM, Dugh wrote: I don't think that's possible in Flash.. Not sure, though.
It is. Take a look at this : http://media.lelombrik.net/21001-21500/2 1446.swf
Posted at: 5/18/09 02:23 PM
At 5/18/09 02:22 PM, Dereks wrote: At 5/18/09 02:11 PM, Dugh wrote: I don't think that's possible in Flash.. Not sure, though.It is. Take a look at this : http://media.lelombrik.net/21001-21500/2 1446.swf
That's probably done in Photoshop and then imported in Flash
Posted at: 5/18/09 02:41 PM
Sign-Up: 06/09/07
Posts: 1,475
Yeah, it can definately be done in photoshop, so just use that if you have it.
Posted at: 5/18/09 02:51 PM
Sign-Up: 12/28/04
Posts: 8,059
it can be done in AS, you'd make a separate text box for each letter then place them through code
psuedo-code:
string s = "circle text! " for(int i = 0; i < s.length(); i++){ make a new text box T t.text = s.charAt(i); //calculate position angle = 360/s.length * i position = center + radius * <sin(angle), cos(angle)> addChild(T) }
Glaiel Games | Closure
Posted at: 5/18/09 02:54 PM
Sign-Up: 04/25/03
Posts: 16,229
At 5/18/09 02:20 PM, Dereks wrote: Hmm is there a way to do it using AS ?
Yes.
txt="GUMBOOT MOFO "; //TEXT TO DISPLAY circRad=200; //RADIUS OF CIRCLE function CREATECIRCLE(str){ //CREATE CIRCLE letterAngle=360/(str.length); //GRAB ANGLE OF LETTERS txtArr=str.split(""); //CONVERT TEXT TO ARRAY var c=createEmptyMovieClip("circ",1); //NEW MC c._x=Stage.width/2;c._y=Stage.height/2; //PLACE CENTRALLY var ang=-90; //ANGLE OF FIRST LETTER for(var i=0;i<txtArr.length;i++){ //LOOP LETTER ARRAY var nl=c.attachMovie("letter","l"+i,i); //CREATE NEW LETTER MC nl.t=txtArr[i]; //SET LETTER nl._rotation=ang+90; //SET ROTATION nl._x=Math.cos(TRAD(ang))*circRad; //SET X BASED ON ROTATION/RADIUS nl._y=Math.sin(TRAD(ang))*circRad; //SET Y BASED ON ROTATION/RADIUS ang+=letterAngle; //INCREMENT THE ANGLE } // c.onEnterFrame=function(){this._rotation+=5;} //ROTATE HOLDER MC } function TRAD(xxx){return(xxx*Math.PI/180);} //FUNCTION: DEGREES TO RADIANS CREATECIRCLE(txt); //DO THE FUNKY THANG
- - Flash - Music - Images - -
All times are Eastern Standard Time (GMT -5) | Current Time: 02:31 PM
<< Back