Re: [Flashcoders] Text Arching...
Hi Umesh, You sent this exact same question on the 26th of June, and got 19 replies... I'm not sure why you need to ask it again..? Old threads here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168431.html and here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168483.html Ian On 7/10/06, Umesh Patel [EMAIL PROTECTED] wrote: Hello, I have following question. I saw nike's unifrm builder, Nike Uniform Builder(http://www.niketeam.com/v2/new/Sport...T=BBMCAT=UNI), they built uniform generator using Flash, the only thing wondering me is, how did they manage to arch the text, if anybody has any clue then I would be very happy to see little bit of action scripting. I want different arching with click of a button or something like that, I am attaching a sample of arching that I am looking for! If anybody figures it out. thanks, Umesh Patel Dynamic Team Sports 416.496.8600 --- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender via reply mail and delete all copies form your records. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Dynamic Team Sports are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. The company accepts no liability for any damage caused by any virus transmitted by this email.' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text Arching...
uhoh... potential help vampire identified! - Just want to add a detail you did not mention: The Nike uniform builder text style has two different types of arching: #1- normal (letters simply rotated individually following a path) #2- shear (vertical lines stays vertical) -- #1 is easy to achieve - plenty of libraries, etc. but, #2 is more difficult to do -- I personnaly never saw something to do that. You might have to do a manual shear operation with text rendered onto a bitmap (would require flash player 8+). B. 2006/7/11, Ian Thomas [EMAIL PROTECTED]: Hi Umesh, You sent this exact same question on the 26th of June, and got 19 replies... I'm not sure why you need to ask it again..? Old threads here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168431.html and here: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168483.html Ian On 7/10/06, Umesh Patel [EMAIL PROTECTED] wrote: Hello, I have following question. I saw nike's unifrm builder, Nike Uniform Builder(http://www.niketeam.com/v2/new/Sport...T=BBMCAT=UNI), they built uniform generator using Flash, the only thing wondering me is, how did they manage to arch the text, if anybody has any clue then I would be very happy to see little bit of action scripting. I want different arching with click of a button or something like that, I am attaching a sample of arching that I am looking for! If anybody figures it out. thanks, Umesh Patel Dynamic Team Sports 416.496.8600 --- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender via reply mail and delete all copies form your records. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Dynamic Team Sports are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. The company accepts no liability for any damage caused by any virus transmitted by this email.' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text Arching...
- Your example nike url does not work - I do not see any arching just by visiting their site -- where is that? - I do not see any attachments to this email - you must have a problem sending emails to this list since it appears you sent your email twice When you are saying text arching I assume you mean displaying text following a curved path - namely an arc? Like text going around a circle? I also assume that you want to be able to change the content of the text dynamically. Since it is possible to rotate text, you could roll your own algorithm and draw each letter separately -- each of then positioned and rotated correctly to follow any path you can imagine. B. 2006/7/10, Umesh Patel [EMAIL PROTECTED]: Hello, I have following question. I saw nike's unifrm builder, Nike Uniform Builder( http://www.niketeam.com/v2/new/Sport...T=BBMCAT=UNI), they built uniform generator using Flash, the only thing wondering me is, how did they manage to arch the text, if anybody has any clue then I would be very happy to see little bit of action scripting. I want different arching with click of a button or something like that, I am attaching a sample of arching that I am looking for! If anybody figures it out. thanks, Umesh Patel Dynamic Team Sports 416.496.8600 --- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender via reply mail and delete all copies form your records. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Dynamic Team Sports are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. The company accepts no liability for any damage caused by any virus transmitted by this email.' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Sorry, but what's LART? If you don't know, then I take back the accusation :) http://en.wikipedia.org/wiki/Lart ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
You might like this: DEMO class v1: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html SOURCE class v2: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html cheers, Latcho Does that do anything but move the corners around? What I'm looking for is a way to create a distortion like: x x x x x x x x xx xx xx xx x x x x x x This is _easily_ done in the IDE with the envelope tools, and it's easily done in the text-warp CP of PHotoshop from a preselected list, and it's been available in TypeStyler for 15 years or so. I've seen this done on a number of websites, but with Java Applets. I guess they're hooking into some kind of vector-mapping engine, but I don't know how they're doing it. An example is here: http://www.customink.com/cink/r.jsp?E=ciF=t My real question is, if this image-manipulation is available in the IDE, how difficult is it to provide in the client or within AS3? I guess the answer is very difficult or more trouble than it's worth? -AK GregoryN wrote: Sorry, but what's LART? I think that, with skew function(s), the task of simulating an envelope, e.g., placing text between 2-4 lines is just a question of math. Well, probably quite advanced :-). I've already described it in general (see quotation below). As to envelope in Flash IDE, it works with vector shapes (probably in the same skew way), not text. You need to Break Apart the text, right? So far I don't know about any way to convert dynamic text to shapes (e.g., break apart) at runtime via AS. BTW, maybe anyone knows how to break apart text with AS? I'd appreciate any idea regarding it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Text arching
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 28 June 2006 14:02 To: Flashcoders mailing list Subject: Re: [Flashcoders] Text arching You might like this: DEMO class v1: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-fre ely-distort-image-with-flash-in-actionscript.html SOURCE class v2: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-fre ely-distort-image-with-flash-in-actionscript.html cheers, Latcho Does that do anything but move the corners around? What I'm looking for is a way to create a distortion like: Well with a little thought - given that you now have the ability to fit a texture to any shape you can know chop your text up into tiles using bitmap data - then fit the multiple tiles to the Shape M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Does that do anything but move the corners around? What I'm looking for is a way to create a distortion like: Well with a little thought - given that you now have the ability to fit a texture to any shape you can know chop your text up into tiles using bitmap data - then fit the multiple tiles to the Shape yes, but to create smoothly curving shape? How finely would it have to be chopped up? Dice, mince, pulverize? I think you would have to create as many slices as screen pixels, or you would get mis-aligned edges between each slice...and that would be a lot of slices? Anyway, that's why I'm asking the list...it is totally beyond me at this point. :( ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
My real question is, if this image-manipulation is available in the IDE, how difficult is it to provide in the client or within AS3? I guess the answer is very difficult or more trouble than it's worth? No, the answer is see the documentation on bitmapData. You have to do it the old-fashioned way, by shifting pixels. ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
My real question is, if this image-manipulation is available in the IDE, how difficult is it to provide in the client or within AS3? I guess the answer is very difficult or more trouble than it's worth? No, the answer is see the documentation on bitmapData. You have to do it the old-fashioned way, by shifting pixels. ryanm Yeah, that's the answer I'd rather not contemplate. g ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Good you found a blackhole in the wealth of classes, examples and other contributions form the flash community ! Maybe it's your chance to write the first letter code of piece off code we all can use. Or you can check the source off existing open source filters/editors//plugins from the gimp to figure how they do it and then reprogram the stuff. Or you can keep up the LARTi'ing on the forums forever without joy;) Let us now when your arch distortion claas is ready ! cheers, Latcho [EMAIL PROTECTED] wrote: You might like this: DEMO class v1: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html SOURCE class v2: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html cheers, Latcho Does that do anything but move the corners around? What I'm looking for is a way to create a distortion like: x x x x x x x x xx xx xx xx x x x x x x This is _easily_ done in the IDE with the envelope tools, and it's easily done in the text-warp CP of PHotoshop from a preselected list, and it's been available in TypeStyler for 15 years or so. I've seen this done on a number of websites, but with Java Applets. I guess they're hooking into some kind of vector-mapping engine, but I don't know how they're doing it. An example is here: http://www.customink.com/cink/r.jsp?E=ciF=t My real question is, if this image-manipulation is available in the IDE, how difficult is it to provide in the client or within AS3? I guess the answer is very difficult or more trouble than it's worth? -AK GregoryN wrote: Sorry, but what's LART? I think that, with skew function(s), the task of simulating an envelope, e.g., placing text between 2-4 lines is just a question of math. Well, probably quite advanced :-). I've already described it in general (see quotation below). As to envelope in Flash IDE, it works with vector shapes (probably in the same skew way), not text. You need to Break Apart the text, right? So far I don't know about any way to convert dynamic text to shapes (e.g., break apart) at runtime via AS. BTW, maybe anyone knows how to break apart text with AS? I'd appreciate any idea regarding it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Yeah, that's the answer I'd rather not contemplate. g Well, that is how most of the Java applets work. You can probably find Java source code if you google for it and port it to AS. ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Yeah, that's the answer I'd rather not contemplate. g Well, that is how most of the Java applets work. You can probably find Java source code if you google for it and port it to AS. ryanm I appreciate the encouragement and wish it were within my abilities...this was a long thread but I started it with at the recommendation of flash-newbie I'm bringing this over to flash-coders...I'm just a newbie and was hoping someone here knew what I was talking about and would say sure you just have to do x-y-z. I know just enough about Flash to be dangerous, but not anywhere near enough to tackle this kind of programming. :( But, thanks again for trying to help me out! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
From the online samples, I don't see any demonstration of the claimed ability to distort the text, just to place the letters along different curves. Am I missing something? I hope so, since I've been looking for a way to do text distortions (such as making text fit a flat-topped arch). - Marc Hoffman I, too, have been looking for a solution to this problem. Some users have suggested using the bitmapData and the displacementMapFilter, but it seems like it would be exceedingly complicated to do a very simple effect like an arch...it would involve (I think) splitting the text into multiple sections and applying different displacements to the sections...way beyond me! This FLA was suggested: http://www.senocular.com/flash/source.php?id=0.172 and it seems like it could be tweaked to do a simple squeeze or bloat...I haven't got that far with it yet. Alternatively, it seems like it would be much simpler to pass the text and some distortion parameters to an image-rendering app and re-import a PNG of the distorted text into the player. I haven't been able to find any app, however, that could run in the background on a server to handle the image-processing! -AK At 09:23 PM 6/26/2006, you wrote: I'd like to recommend Text2Curve component for this: http://gousable.com/flash/text2curve.html It has a lot of advantages over TextOnCircle Weyert mentioned: - can place text along ellipse or sine, not only circle - more methods to manipulate this text - can be used in Flash IDE, even rotated/distorted there. - some more :-) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Hello Marc, Within the IDE or at runtime via AS, you can rotate, scale and skew(IDE only) Text2Curve object - like any other movieclip. I'm not quite sure what type of distortion you're looking for... Can you show me some pictures (maybe offlist)? At a glance: 1) If you need place letter along some custom curve - well, right now it's not a feature, but I'm planning it in future versions. Worth contacting offlist :-). 2) If you want to distort shapes of the letters (e.g., making them to some perspective) - it's more probably a bitmap task. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. -- Marc Hoffman wrote: From the online samples, I don't see any demonstration of the claimed ability to distort the text, just to place the letters along different curves. Am I missing something? I hope so, since I've been looking for a way to do text distortions (such as making text fit a flat-topped arch). - Marc Hoffman At 09:23 PM 6/26/2006, you wrote: I'd like to recommend Text2Curve component for this: http://gousable.com/flash/text2curve.html It has a lot of advantages over TextOnCircle Weyert mentioned: - can place text along ellipse or sine, not only circle - more methods to manipulate this text - can be used in Flash IDE, even rotated/distorted there. - some more :-) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Well, The first thing Google brings for site:chattyfig.figleaf.com envelope is recent Flashcoders discussion Applying transformations to text? :-) AND also one named skew function (2001) with a nice functions from Robert Penner and others. Robin Debreuil's example: http://www.debreuil.com/skew/skew_v01.swf I haven't tried yet, but maybe you can: 1) Break (dynamic) text into letters 2) Skew each letter and scale, if needed What do you think? -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. --- aklist_flash wrote: From the online samples, I don't see any demonstration of the claimed ability to distort the text, just to place the letters along different curves. Am I missing something? I hope so, since I've been looking for a way to do text distortions (such as making text fit a flat-topped arch). - Marc Hoffman I, too, have been looking for a solution to this problem. Some users have suggested using the bitmapData and the displacementMapFilter, but it seems like it would be exceedingly complicated to do a very simple effect like an arch...it would involve (I think) splitting the text into multiple sections and applying different displacements to the sections...way beyond me! This FLA was suggested: http://www.senocular.com/flash/source.php?id=0.172 and it seems like it could be tweaked to do a simple squeeze or bloat...I haven't got that far with it yet. Alternatively, it seems like it would be much simpler to pass the text and some distortion parameters to an image-rendering app and re-import a PNG of the distorted text into the player. I haven't been able to find any app, however, that could run in the background on a server to handle the image-processing! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Well, The first thing Google brings for site:chattyfig.figleaf.com envelope is recent Flashcoders discussion Applying transformations to text? :-) Are you LART'ng me? I started that thread, and never got the right answer! AND also one named skew function (2001) with a nice functions from Robert Penner and others. Robin Debreuil's example: http://www.debreuil.com/skew/skew_v01.swf I haven't tried yet, but maybe you can: 1) Break (dynamic) text into letters 2) Skew each letter and scale, if needed What do you think? I don't want to speak for Marc, but from my thread, what I'm looking for is an effect similar to what TypeStyler has done for 15 years, and what Photoshop has done going back to v. 6.0, which is an envelope distortion. In fact, Flash can do it already in the IDE...convert text to vectors and then apply the envelope controls to all the letters as a group...and it does exactly what I need it to do. But, there's no way to apply those controls in AS or programatically, which is how I started the thread...looking for another way to do it! -Andre2w -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. --- aklist_flash wrote: From the online samples, I don't see any demonstration of the claimed ability to distort the text, just to place the letters along different curves. Am I missing something? I hope so, since I've been looking for a way to do text distortions (such as making text fit a flat-topped arch). - Marc Hoffman I, too, have been looking for a solution to this problem. Some users have suggested using the bitmapData and the displacementMapFilter, but it seems like it would be exceedingly complicated to do a very simple effect like an arch...it would involve (I think) splitting the text into multiple sections and applying different displacements to the sections...way beyond me! This FLA was suggested: http://www.senocular.com/flash/source.php?id=0.172 and it seems like it could be tweaked to do a simple squeeze or bloat...I haven't got that far with it yet. Alternatively, it seems like it would be much simpler to pass the text and some distortion parameters to an image-rendering app and re-import a PNG of the distorted text into the player. I haven't been able to find any app, however, that could run in the background on a server to handle the image-processing! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Sorry, but what's LART? I think that, with skew function(s), the task of simulating an envelope, e.g., placing text between 2-4 lines is just a question of math. Well, probably quite advanced :-). I've already described it in general (see quotation below). As to envelope in Flash IDE, it works with vector shapes (probably in the same skew way), not text. You need to Break Apart the text, right? So far I don't know about any way to convert dynamic text to shapes (e.g., break apart) at runtime via AS. BTW, maybe anyone knows how to break apart text with AS? I'd appreciate any idea regarding it. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. --- aklist_flash wrote: The first thing Google brings for site:chattyfig.figleaf.com envelope is recent Flashcoders discussion Applying transformations to text? :-) Are you LART'ng me? I started that thread, and never got the right answer! AND also one named skew function (2001) with a nice functions from Robert Penner and others. Robin Debreuil's example: http://www.debreuil.com/skew/skew_v01.swf I haven't tried yet, but maybe you can: 1) Break (dynamic) text into letters 2) Skew each letter and scale, if needed What do you think? I don't want to speak for Marc, but from my thread, what I'm looking for is an effect similar to what TypeStyler has done for 15 years, and what Photoshop has done going back to v. 6.0, which is an envelope distortion. In fact, Flash can do it already in the IDE...convert text to vectors and then apply the envelope controls to all the letters as a group...and it does exactly what I need it to do. But, there's no way to apply those controls in AS or programatically, which is how I started the thread...looking for another way to do it! -Andre2w ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
You might like this: DEMO class v1: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html SOURCE class v2: http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html cheers, Latcho GregoryN wrote: Sorry, but what's LART? I think that, with skew function(s), the task of simulating an envelope, e.g., placing text between 2-4 lines is just a question of math. Well, probably quite advanced :-). I've already described it in general (see quotation below). As to envelope in Flash IDE, it works with vector shapes (probably in the same skew way), not text. You need to Break Apart the text, right? So far I don't know about any way to convert dynamic text to shapes (e.g., break apart) at runtime via AS. BTW, maybe anyone knows how to break apart text with AS? I'd appreciate any idea regarding it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
Hi Umesh, I have asked a friend of mine, and he came up with this code and example: http://richardleggett.co.uk/downloads/flash/StringWidth/ I hope it helps! Yours, Weyert de Boer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
I'd like to recommend Text2Curve component for this: http://gousable.com/flash/text2curve.html It has a lot of advantages over TextOnCircle Weyert mentioned: - can place text along ellipse or sine, not only circle - more methods to manipulate this text - can be used in Flash IDE, even rotated/distorted there. - some more :-) Recently version 1.6 was released with more useful features. BTW, reminding some recent threads in this list: - it manages to evenly distribute objects (letters) along the ellipse - starting point can be moved (along the ellipse) at any distance. == Quotation: == === New in version 1.6 (see samples 6 and 7): - Center Text parameter allows text to be centered by the top or bottom point of the curve (round or ellipse). - Letter Spacing parameter adds some more space between letters (in pixels). - Start Point parameter allows you to change the distance along the curve (in pixels) from 0 point (marked with cross) to the first letter. Some kind of indent. - Some properties added to access via Actionscript - Updated help system === Description: Text2Curve Flash component allows you to place dynamic text along one of pre-defined curves. Unlike similar tools in programs as Illustrator, CorelDRAW or Freehand, it allows doing this dynamically, e.g. as a movie is playing. Text along the curve (circle, ellipse, wave and so on) is broadly used by designers to create artistic effects. Can be used as a component in Flash MX 2004 or later. Resulting movie require Flash Player 7 or later. The package contains complete Help system with API documentation and samples. === Features: - Place dynamic text along one of pre-defined curves. Broad range of parameters can approximate almost any curve you need. - This text remains dynamic and can be changed at runtime. - Use your favorite font (just embed it). - Interactive Live Preview. Edit Text2Curve component in Flash IDE like any other movie clip. No programming needed. - Using class constructor, you can create Text2Curve objects from scratch at runtime with Actionscript. - Scale, rotate and distort text along the curve in Flash IDE or at runtime via Actionscript. - Animate text along the curve either with timeline-based motioin tween or Actionscript. - Help system with illustrations and API documentation. You can also dynamically: - Change text to be shown; - Change text or curve's parameters and then update the view using redraw() method. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. -- Umesh Patel wrote: I have following question. I saw nike's unifrm builder, Nike Uniform Builder(http://www.niketeam.com/v2/new/Sport...T=BBMCAT=UNI), they built uniform generator using Flash, the only thing wondering me is, how did they manage to arch the text, if anybody has any clue then I would be very happy to see little bit of action scripting. I want different arching with click of a button or something like that, I am attaching a sample of arching that I am looking for! If anybody figures it out. thanks, Umesh Patel - Weyert de Boer wrote: I have asked a friend of mine, and he came up with this code and example: http://richardleggett.co.uk/downloads/flash/StringWidth/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Text arching
From the online samples, I don't see any demonstration of the claimed ability to distort the text, just to place the letters along different curves. Am I missing something? I hope so, since I've been looking for a way to do text distortions (such as making text fit a flat-topped arch). - Marc Hoffman At 09:23 PM 6/26/2006, you wrote: I'd like to recommend Text2Curve component for this: http://gousable.com/flash/text2curve.html It has a lot of advantages over TextOnCircle Weyert mentioned: - can place text along ellipse or sine, not only circle - more methods to manipulate this text - can be used in Flash IDE, even rotated/distorted there. - some more :-) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com