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 6928187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:09:07+00:00 2026-05-27T11:09:07+00:00

I just created a xml editor in Flex that works perfectly, but i’m having

  • 0

I just created a xml editor in Flex that works perfectly, but i’m having trouble with save option. In fact he’s saving quite well, the problem is that it is displaying a dialog box for saving the document, and i want to save and replace the file automatically when i click the save button without displaying the dialog box.
Can anyone help me with this?

NOTE: I am using the FileReference class to use the method Save(), i read somewhere on the internet that FileStream class can be used for this, but i don’t know how…

Well, anyway…
Thank you.

  • 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-05-27T11:09:08+00:00Added an answer on May 27, 2026 at 11:09 am

    FileStream class is only available when developing an AIR application. The code would be something along this:

    _file = new File("path_to_file_in_filesystem");
    _loader = new URLLoader();
    _loader.dataFormat = URLLoaderDataFormat.BINARY;
    _loader.addEventListener(Event.COMPLETE, _loadingComplete);
    
    var req:URLRequest = new URLRequest("path_to_file_on_web");
    _loader.load(req);      
    
    private function _loadingComplete(evt:Event):void
    {
        var fs:FileStream = new FileStream();
        fs.open(_file, FileMode.WRITE);
        fs.writeBytes(_loader.data);
        fs.close();
        fs = null;
        _loader.unload();           
        _loader = null;
    }
    

    There is no way to save a file into the filesystem without users permission in web player.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just created an iPhone app and am having friends try it out, but
I just created a XSL file that sorts my XML. Now I want to
Just created a WSS site with a some custom web-parts. But I get an
I just created a PHP page that spits outs some data from my database
I'm trying to make a simple xml-editor for some basic but specific needs, the
I just created a red circle using android shapes: <?xml version=1.0 encoding=utf-8?> <shape xmlns:android=http://schemas.android.com/apk/res/android
Im beginner in android development. I ve just created a button in main.xml file
Because I need a free and reliable XML editor, I just installed the Netbeans
I just created a web service client using axis and eclipse that does not
I have created a word dictionary that uses PHP and XML. The user enters

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.