A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: save jpg dynamically?

  1. #1
    Registered User
    Join Date
    Sep 2017

    Red face save jpg dynamically?

    hi guys,

    is there any way to have it that when i press a button, it will save a jpg of everything that is in a movie clip?

    I'm using as3


  2. #2
    Senior Member
    Join Date
    Feb 2005
    Are you using adobe air? That has a built in way to save. Otherwise, you'll have to use some server script like PHP. This should show up easily in some google searching.

  3. #3
    . fruitbeard's Avatar
    Join Date
    Oct 2011

    as3 uses file reference to do it very easily. no need for php but you can do it that way too.
    search the web for AS3 fileReference. you might need the class too. but its easy.
    thats if you are not using air

  4. #4
    Tim (Super Moderator) Northcode's Avatar
    Join Date
    Dec 2000
    Whitehorse YT
    Here's an example that show exactly how to do it... http://designreviver.com/tutorials/a...es-from-flash/

    I also created a modified version of that example that saves a JPEG directly to the HD from a standalone EXE (using SWF Studio).
    When your swf2exe tool just HAS to work
    there's only one choice... SWF Studio

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