Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7911077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:06:58+00:00 2026-06-03T13:06:58+00:00

After drawing a bitmap of a display object, I need to save the bitmap,

  • 0

After drawing a bitmap of a display object, I need to save the bitmap, as well as text input, locally and avoid system dialogs that flash player would otherwise display while saving out. Can this be achieved with PHP? I’ve read that Air handles this task pretty effectively, but I’m rather inexperienced with both platforms. Any help would be greatly appreciated! thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:07:00+00:00Added an answer on June 3, 2026 at 1:07 pm

    No you can’t. Allowing webapps to save data on the local system without permission is a HUGE security risk (I could write a legitimate-looking webapp that saves spyware on your system). Flash disallows it for this reason.

    Desktop-based (AIR) apps, however, can open a FileStream in the FileMode.WRITE mode and write data to it without any prompts from the user.

    EDIT
    Since you are looking for a desktop based app, here are a few pointers:

    var randomname:String=Math.floor(Math.random() * 1024).toString(16) + ".png"
    var f:File=File.desktopDirectory.resolvePath("photos/" + randomname);
    var s:FileStream=new FileStream();
    s.open(f, FileMode.WRITE);
    s.writeBytes(bytesArray); //bytesArray contains the binary data to write to the file
    s.close();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SurfaceView that is resposible for drawing a Bitmap as a background
I have a bitmap on which I'm trying to write a text using canvas.After
After highlighting text, I would like to obtain the paragraph in which the selected
After I thought that I've understood how they work, I tried this: NSString *str1
After researching a bit how the different way people slugify titles, I've noticed that
Here's the code i'm using to rotate: Dim m As New System.Drawing.Drawing2D.Matrix Dim size
I noticed that when I'm loading a texture, it might change the current drawing
When a new TImage is created it is transparent. After drawing objects to this
I am creating a simple form based message display system, each message is a
I have some code that creates a graph using the Bitmap class. The quality

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.