Is it possible to load an image inside a movie then maybe play around with it, add some circles, lines etc..then save the image as bmp, jpg etc..?
I am sure its possible, i have seen it somewhere before cannot remember...please help me out.
Printable View
Is it possible to load an image inside a movie then maybe play around with it, add some circles, lines etc..then save the image as bmp, jpg etc..?
I am sure its possible, i have seen it somewhere before cannot remember...please help me out.
What kind of editing do u want to do with the image?
Salam,
basically adding a line, a fill, drawing a circle ... that kind of stuff..
it should be possible if yo uare doing simple editing by adding stuff. Then you just publish the movie using the jpg, bmp, tiff format settings from the publish settings.
no no, i want to do all that during run time.Quote:
Originally Posted by VI Knight
If you import the image and then break it apart or use the "trace bitmap" option you can do whatever you want with the image.
You'll have larger file sizes though using imported graphics
No, he means edit it within flash. Yes, you can do it. Look up the bitmapData object. You can use most of flash's drawing tools with actionscript to create lines, fills and other effects. the problem lies with how to get the data out of flash. You have to have a server-side script (PHP, ASP, or other) that will take your flash data and create an image that can be returned to the user for download. You pass your bitmapData object to the server-side script using an array of pixel data. If your image is very large, expect long load times to push the data to the server, the server to parse it and return an image.
check out quasimondo's sample:
http://www.quasimondo.com/archives/000572.php
thanks for that Kraken :)