Local file storage in flash

Hi folks,
I have a php form on my interactive game (it is offline). The
users are supposed to create their own stories and submit them
using the form. The question is, how do I store them and where? I
don't need them to be e-mailed or anything, just stored locally.
What would be the easiest way?
here is my code:

i believe that you can write a text file in php and store it
to a directory - i would look into these methods (php) I also do
not see anything in the code above that is linking to any php doc -
so I do not quite fully understand what you trying to do here.
what do you mean by 'locally'? however, depending on the
length of the text, it may be possible to 'store' the text on the
users disk using a Flash SharedObject.

Similar Messages

  • Cloud Versus Local file storage

    I ahve seen little specific discussion about file storage.  I know there is 2GB free but I assume that if I switch from CS6 and LR4 to the CC I can continue to store everything locally?

    I assume that if I switch from CS6 and LR4 to the CC I can continue to store everything locally?
    Yes, no different to normal.
    Cloud software works the same as Creative Suites. Software installs locally, runs locally and files are saved locally. Only the Cloud license itself is Cloud based.
    Storing files in the Cloud as a Cloud member is a free optional extra.

  • Local File Storage

    Hi,
    I was wondering where iCloud files were stored on iOS devices. like pages, numbers, and so on. Also are the files accessible to other apps?
    Just trying to see if my app idea is possible.
    Thanks,
    Tin

    i believe that you can write a text file in php and store it
    to a directory - i would look into these methods (php) I also do
    not see anything in the code above that is linking to any php doc -
    so I do not quite fully understand what you trying to do here.
    what do you mean by 'locally'? however, depending on the
    length of the text, it may be possible to 'store' the text on the
    users disk using a Flash SharedObject.

  • How Can I Get A Flash Movie to Access Local Files

    I have a customer that has created a Flash movie to run off a CD.  The movie is basically a set of menus with links to access local files in the same directory as the movie.  i.e. Main folder (to be root of CD) has the movie, a Documents folder with PDFs, a Movie folder with wmv and mov files, etc.
    The problem arrises when you click on a link to a file, a web browser is launched, and the browser tries to display the target file.  The movie was designed on a Windows system, and, mostly it works in a Windows environment, however, the links totally crap out on a Mac because the URLs are pc centric.
    He is a rookie flash programmer so I am trying to help him set up proper links to the files, so that the files will (hopefully) launch the proper local app and not a web browers.  i.e. if the link points to a PDF, the Adobe Reader is launched; if the link is to a mov file, then QuickTime is launched....
    Is there a way to do this?  All the tutorials I have found all seem to expect the flash movie to be running on a web server, and as such do not work when running the movie off a CD.
    Any help or suggestions would be grealy appreciated.
    A response ASAP would also be greatly appreciated as the customer needs to deliver 200 CDs of the project for a presentation tomorrow morning - I have to create the CDs...
    TIA

    Hi there,
    Maybe you would want to use swfObject, i've been using it for
    a long time now.
    http://blog.deconcept.com/swfobject/
    cheers

  • [svn:fx-trunk] 13687: Add in osmf and flash-integration localized files not picked up in the previous commit  (13686)

    Revision: 13687
    Revision: 13687
    Author:   [email protected]
    Date:     2010-01-21 07:25:58 -0800 (Thu, 21 Jan 2010)
    Log Message:
    Add in osmf and flash-integration localized files not picked up in the previous commit (13686)
    Added Paths:
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/de_DE/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/de_DE/docs/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/de_DE/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/fr_FR/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/fr_FR/docs/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/fr_FR/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/ja_JP/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/ja_JP/docs/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/ja_JP/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/ru_RU/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/ru_RU/docs/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/ru_RU/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/zh_CN/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/zh_CN/docs/
        flex/sdk/trunk/frameworks/projects/flash-integration/bundles/zh_CN/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/osmf/bundles/de_DE/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/de_DE/docs/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/de_DE/docs/org.osmf.media.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/de_DE/docs/org.osmf.net.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/de_DE/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/osmf/bundles/fr_FR/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/fr_FR/docs/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/fr_FR/docs/org.osmf.media.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/fr_FR/docs/org.osmf.net.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/fr_FR/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ja_JP/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ja_JP/docs/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ja_JP/docs/org.osmf.media.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ja_JP/docs/org.osmf.net.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ja_JP/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ru_RU/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ru_RU/docs/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ru_RU/docs/org.osmf.media.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ru_RU/docs/org.osmf.net.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/ru_RU/docs/packages.dita
        flex/sdk/trunk/frameworks/projects/osmf/bundles/zh_CN/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/zh_CN/docs/
        flex/sdk/trunk/frameworks/projects/osmf/bundles/zh_CN/docs/org.osmf.media.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/zh_CN/docs/org.osmf.net.xml
        flex/sdk/trunk/frameworks/projects/osmf/bundles/zh_CN/docs/packages.dita

  • How to use flash player with local files?

    Have thumb drive with multiple *.flv and *.SWF files. Installed Flash player V11 today. If an FLV file is selected, nothing opens. How to connect these lecture type files with a player? Windows XP. Thanks.

    Local SWF files can be played with the standalone player (Projector) from http://www.adobe.com/support/flashplayer/downloads.html
    Note that the download is the player, not an installer.
    FLV files can be played with Adobe Media Player, which is no longer supported.  Use a 3rd party player such as VLC media player.

  • Flash media playback not playing local files?

    hi
    I want to use flash media playback http://www.adobe.com/products/flashmediaplayback/ to play some local FLV files on our intranet but it doesnt seem to work with local files
    I can play this http://www.osmf.org/configurator/fmp/ but when i replace the source with something like test.flv then it doesnt play
    Is this the case or I've done something wrong?
    We cant download anything so I need a flv player that comes with Adobe
    Thanks

    Sorry, I do not know Flash Media Playback, so I cannot help you.
    You may try to post at http://forums.adobe.com/community/flash/flash-media-playback but there seems to be almost no activity there.

  • Local file system for archive destination in RAC with ASM

    hi Gurus .
    I need an info.
    I have ASM file system in 2 node RAC.
    The client does not want to use flash recovery area.
    Can we use the archive destination as local file system rather than ASM.
    like /xyzlog1 for archvies coming from node 1 and /xyzlog2 for archive logs coming from node 2.
    Imortant thing is these two destinations are anot shared with each nodes.
    OS is solaris sparc 10.
    version is 10.2.0.2

    There is huge space in the storage.
    Pls tell me in general ho wdo you do this.
    Do we take and one disk from the storage and format it with local file system and share it among the 2 nodes?
    If so then that mount point will have same mount point name if we see it from other node... ..ryt
    In this scenario if one instance is down then from the same shared mount point which is on the same node(down) can apply archves?Here, Earlier you are using any ASM shared location for ARCHIVES ?
    if so you can add a CANDIDATE disk to your existing ARHCIVE disk group(shared).
    if not from LUN's after format, I.e. candidates based on that you can create a new DISK group(shared) according to your space requirements. THen you can assign to log_archive_dest_1 for both the nodes to single shared location(disk group)

  • My home network has an Airport Extreme w/Time Capsule as the base and then an Airport Express and a second Airport Extreme to reach different areas of the house.  Is there a way to use the second Airport Extreme for file storage on this network?

    My home network has an Airport Extreme w/Time Capsule as the base and then an Airport Express and a second Airport Extreme to reach different areas of the house.  Is there a way to use the second Airport Extreme for file storage on this network?  Network is administered through an iMac running OS X Yosemite 10.10.2.  Ideally, would like for the second Airport Extreme hard drive to appear on the list of devices in the Finder window.

    Ok.. gottcha
    The problem is network wise.. Yosemite is about equal to tin cans and string.. pathetic.
    Here is my usual set of instructions to get anything working on Yosemite.
    The best way to fix problems is a full factory reset of all the AE in the network.
    Factory reset universal
    Power off the AE.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the AE to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg AEgen5 and AEwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use AE24ghz and AE5ghz with fixed channels as this also seems to help stop the nonsense.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the AE always takes the same IP address.. this is not a problem for AE which is router.. it is a problem for AE which is bridged.. you will need to set static IP in the main router by dhcp reservations or use static IP in the AE which is tricky.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric..
    5. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only.
    6. Now mount the disk of the second AE in finder... manually.
    Use Go, Connect to Server and type in the AE ip address.
    SMB://10.0.1.2
    Where you will replace that address with the actual address. The network resource should be discovered and then it will request the password.. type that in and make sure you tick to save it in your keychain.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    Do as much as you want of the above... not all of it is necessary.. only if you want it reliable.. or as reliable as Yosemite in its current incarnation can manage.
    The most important thing is point 6.. mount the disk using direct IP address and not names.. dns in Yosemite is fatally flawed.
    See http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • Error in converting locale file to swf.

    Hi all,
                While i was trying to convert my locale file to swf through command line '
    C:\Users\Karthikeyan R\Documents\Flash Builder 4\ttv_multiplethemes_localization>"C:\Program Files\Adobe\Flash Builder 4\Adob
    e Flash Builder 4\sdks\4.1.0\bin\mxmlc" -locale=fr_FR -source-path=locale\{locale} -include-resource-bundles=TtvText -output
    fr_FR_ResourceModule.swf'  in Flash builder4 using 4.1.0 sdk. I am getting an error like this.
    Exception in thread "main" java.lang.UnsupportedClassVersionError: flex2/tools/Mxmlc (Unsupported major.minor version 49.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    But i was able to convert to swf using Flexbuilder3.
    regards,
    Jayagopal.

    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • Reading files from local hard disk - Access Local Files Only

    Hi All,
    I have a local flash file published as 'Access Local Files Only', to allow me to read from local filesystem.
    What methods or classes can I use to read text and other files from the user's harddisk.
    This is the first time I am trying to do something like this, all help is grealy appreciated.
    Thanks
    Andy

    Hi, thanks for the responses
    I did some searching and found that the urlloader class is the right one for the job.
    'Access Local Files Only' option is provided for this very purpose I believe.
    If anyone has done something like this and have some sample code it would be awesome
    Cheers
    Andy

  • Flex 3 How to recording the voice to the local file.can u help sample souce code

    How to recording the voice to the local file.can u help sample souce code

    What? the link is not opening? Check once properly man.  If you need code here it is
    import flash.system.Security;
    import flash.media.Microphone;
    import flash.events.ActivityEvent;
    import flash.events.SampleDataEvent;
    import flash.events.StatusEvent;
    import flash.utils.ByteArray;
    import flash.media.Sound;
    import flash.events.MouseEvent;
    import flash.media.SoundChannel;
    import flash.events.Event;
    import org.bytearray.micrecorder.encoder.WaveEncoder;
    import flash.net.FileReference;
    var mic:Microphone;
    var soundBytes:ByteArray;
    var recBytes:ByteArray= new ByteArray();
    var sc:SoundChannel;
    var sound:Sound;
    recordBtn.addEventListener(MouseEvent.CLICK, getMic);
    stopBtn.addEventListener(MouseEvent.CLICK, stopRecording);
    playBtn.addEventListener(MouseEvent.CLICK, plays);
    saveBtn.addEventListener(MouseEvent.CLICK, saveAudio);
    function getMic(e:MouseEvent)
    soundBytes= new ByteArray();
    //returns an array that total mics available
    var totalMics:Array = Microphone.names;
    //mic is a singleton class gets microphone to record sound
    mic = Microphone.getMicrophone();
    //Sets the minimum input level that should be considered
    mic.setSilenceLevel(0);
    mic.rate = 44;
    //to capture microphone audio listen for this event
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    function recordAudio(e:SampleDataEvent)
    //capture the byte array data available with the event
    while (e.data.bytesAvailable)
    var soundData:Number = e.data.readFloat();
    soundBytes.writeFloat(soundData);
    function stopRecording(e:MouseEvent)
    mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, recordAudio);
    //set the bytearray position to zero for playing from starting
    soundBytes.position = 0;
    function plays(e:MouseEvent)
    //intatiazle sound instance
    sound= new Sound();
    soundBytes.position = 0;
    //listen for the event when runtime requests new audio data.
    sound.addEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    //play the sound with sound channel
    sc = sound.play();
    sc.addEventListener(Event.SOUND_COMPLETE, soundComplete);
    function playAudio(e:SampleDataEvent)
    //if audio bytes is greate than 4 read the recorded byte array data and write it into the sound
    for (var i=0; i<8192; i++)
    if (soundBytes.bytesAvailable > 4)
    var sample:Number = soundBytes.readFloat();
    e.data.writeFloat(sample);
    e.data.writeFloat(sample);
    function soundComplete(e:Event)
    sound.removeEventListener(SampleDataEvent.SAMPLE_DATA, playAudio);
    sc.stop();
    function saveAudio(e:MouseEvent)
    soundBytes.position = 0;
    //waveencoder class used to encodes bytearray data properly used to play properly after saving
    //you can get this api from below link
    //http://code.google.com/p/micrecorder/downloads/detail?name=MicRecorder%201.2.zip&can=2&q=
    var encod:WaveEncoder= new WaveEncoder();
    var byte:ByteArray = encod.encode(soundBytes,2);
    var file:FileReference= new FileReference();
    file.save(byte, “test.wav”);

  • MPG video files on a flash drive not shown!

    I have a flash drive with videos (.mpg) with format FAT32. When I connect this flash drive to my macbook pro (OSX) it displays on the desktop. However, the videos fail to display when I explore the flash drive. What to do?
    Folder Architechture:
    Flash Drive -> Folder -> Videos

    The Apple info on iPhoto is applicable to your situation:
    http://support.apple.com/kb/TS5168?viewlocale=en_US&locale=en_US
    Basically, move your flash files to your desktop, and convert the original flash drive from FAT32 to MacO S X Extended. Move the converted files to the flash device - and it should work fine.

  • Access to local file system for desktop application

    As a .NET and VBA developer/user, I have found Flash to be a
    great RAD development solution for certain desktop app. projects...
    if only actionscript could access the local file system and talk to
    local (preferably non-XML) data-sources!
    I'm not familiar with the latest version of Flash CS3 &
    Actionscript 3.0
    Is there any reliable way Flash CS3 can be programmed to access
    the user's local file system - that is, as a stand-alone desktop
    application????

    Thanks for the response.
    I hope Adobe catches a clue ... with Microsoft's Windows
    Presentation Framework and the new ability of easily implementing
    Flash-like animation on .NET apps, Adobe is going to have to get
    busy. Stand-alone desktop apps still rule (as opposed to web-based)
    in the business world, and they are driven by data. If Flash was
    capable of easily talking to local data-sources (Access, Excel,
    Text etc.), it could significantly increase its adoption as a
    widely used business RAD tool. The Flash IDE is great and rivals
    any Microsoft RAD IDE + users love the slick Flash GUIs.

  • Loading local files

    Is there any way to load a file from the user's local machine
    into a Flash application without going through a server? I would
    like to be able to load an image directly but I suspect the only
    way this can be done is to first upload the file to a server (using
    FileReference) and then download it back into the player. Seems
    kind of silly to have to make this round trip when the file is
    already on the same machine as the player.

    But if the swf is on a remote server then it can't get to
    files on the local machine. I want to be able to load a file (at
    runtime) that is on the same machine where the swf is being viewed
    from (and the swf was downloaded from another machine).

Maybe you are looking for