AS2 Save textbox MovieClip as PNG

I want to be able to convert a textbox MovieClip to a PNG file. It has to be AS2 presently, but may be AS3 in the future.

Basically, I have a module that allows a user to type text in an input textbox. As each letter is added (or when all typing is completed), the user has the option of moving the textfield. I want to replace the input textbox with a PNG file of what he just typed. Currently, we are using Flash as the front end that populates XML and have an issue trying to match the fonts during the PDF creating to what is seen online.

Also, I need the dpi of the file on the screen to be 72, and the dpi of the image saved to be at least 200.
msukowAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CyanBlueCommented:
This is basically what I used to save an image file with AS2...
   http://www.sephiroth.it/tutorials/flashPHP/print_screen/
   http://www.quasimondo.com/archives/000645.php

My suggestion is to compose the image of the text in PHP/GD...  Just pass in the user typed string to PHP and have PHP create a PNG file on the fly...
   http://fiddyp.co.uk/write-text-to-a-png-with-php/

CyanBlue
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
msukowAuthor Commented:
This may not work for me, because I am in an ASP.net environment
0
CyanBlueCommented:
It's been a long time since I did .Net, but this seems to be covering all you need...  ;)
   http://www.informit.com/articles/article.aspx?p=25487

CyanBlue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.