I think you'd need to use bitmapData and some filters on it... like
displacement mapping, etc. Not a small task.

I took a look at the BitMapData class and the displacementMapFilter and I'm not sure if it can do what I want or not. I looked at the PerlinNoise filter as well and I don't see any way of creating a simple, symmetrical distortion with it.

Is it possible to take a regular bitmap shape (say, a "bulging" square) and map a MC or image to it?



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

Reply via email to