Hi All: I'm bringing this question over from flash-newbie at the
suggestion of the list.
I'm looking for insight into applying transformations to text (or
vectorized text) such as Adobe's "warp" functionality, where you can take
an object and make it bulge, arc, squeeze, spherize, etc. in flash.
Is it possible, or has anyone already done it? The goal would be to have
an interface where a user could input a line of text and then apply one of
several "distortion effects" to it.
TIA, AK
OK...please LART me if I'm asking this question wrong!
I see that I can take a line of text, break it apart, and then grab the
envelope controls in the IDE and distort it however I want...but is there a
way to programmatically control the envelope controls?
What I'd like to do is:
1) Create an interface where the user can type in a line of text, hit enter,
and have the text appear as a draggable symbol (I can do that).
I think I would store the strings in vars, so I can manipulate them
destructively but be able to go back to the original text if necessary.
2) Have a combobox with all the system fonts in it, and have the user select
the font they want to apply to the text/symbol (I think I can do that).
3) Make the symbol "scalable" so the user can position it however they want
against a reference shape (I can do that).
4) Have a combobox or radio array of "envelope distortions" that the user
could apply to the text/symbol one at a time. I imagine that I could write a
function that would take an object and apply some predetermined envelope
modifications to create a desired effect, like "arc" or "bulge"
Is step 4 possible?
TIA, AK
_______________________________________________
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