• Home
  • About
  • Publications
  • Contact
  • Imprint
  •  

    Load XML and text files from your HD into Flash with AS3 and PHP

    July 30th, 2009

    In this post I’ll show how to load a file with a file chooser dialog from your local HD into an Internet Flash application in your browser. In another post I’ve explained how to save a file to HD from Flash.

    With a little workaround it is possible to load files into Flash in a way that it feels just as if you would do it with a common application: You are being asked with a standard system file dialog, which file you want to load in your application.

    However, at first you have to park (i.e. upload) your file on a server in order to make it “publicly” available for your Flash app:

    Howto save and load text files with AS3

    Figure 1: Howto save and load text files with AS3


    Read the rest of this entry »