I think you'd need to use bitmapData and some filters on it... like
displacement mapping, etc. Not a small task.
Thanks!
Any suggestions on where I could look for more information on applying
filters to bitmapData other than on this list?
Are there any other ways of doing this? I thought about sending the text and
transform instructions from the SWF to some other software (commercial or
non), and then re-importing a rasterized image back into the SWF.
I think it could be done with Photoshop, but I don't know of any software
that is available that can do it in a webserver environment (e.g. able to
function without a user being logged into the system).
I looked at GIMP and it seemed like it might be possible, but I'm not a Unix
programmer and quickly waded in over my head on that.
I've seen a couple of websites with very different interfaces that allow
this text-warping functionality, but I don't know how they're doing
it...some have used Java, some have used Flash (or Flash + something else).
TIA, AK
On 6/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 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
_______________________________________________
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