A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: use flash to Edit Images

  1. #1

    use flash to Edit Images

    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.

  2. #2
    Senior Member sakie's Avatar
    Join Date
    Apr 2005
    Location
    London
    Posts
    285
    What kind of editing do u want to do with the image?

  3. #3
    Salam,

    basically adding a line, a fill, drawing a circle ... that kind of stuff..

  4. #4
    Island Boy
    Join Date
    Apr 2006
    Posts
    655
    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.

  5. #5
    Quote Originally Posted by VI Knight
    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.

  6. #6
    Junior Member
    Join Date
    Jun 2006
    Posts
    27
    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

  7. #7
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997
    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
    Last edited by Kraken; 08-14-2006 at 02:27 PM.
    The Coolest Website EVER!
    Do you live in Kansas City? Come join us at KCWebCore

  8. #8
    thanks for that Kraken

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center