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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CyanBlueConnect With a Mentor Commented:
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
 
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
All Courses

From novice to tech pro — start learning today.