Professional :: Temp Data Storage?
Apr 1, 2012I'm exporting my video to Quicktime and there's an option that comes up while doing so. It asks where I want to store my temp data, either "In memory" or "On disk". Which should I choose?
View 3 RepliesI'm exporting my video to Quicktime and there's an option that comes up while doing so. It asks where I want to store my temp data, either "In memory" or "On disk". Which should I choose?
View 3 RepliesI've been working on a game the past few days where there is to be a LARGE amount of stored data. By a large amount, I'm talking something like 200+ entries of around 12 fields.The game is being designed with the intent of playing it online (per say), so I can't rely on storing specially made files on one's computer (Not that I think I could and do it in a way where players cannot modify it). I also do not want to rely on a stored XML file on the internet or on a database, because if the website that has this data goes down or if the person loses internet access, then the game becomes unplayable.So, I need to store this data in the game itself, but I am unfamiliar with the best way to go about doing this. I've normally worked with outside sources for data storage, as they were designed in closed environments (aka intranet) or the website that the SWF would be on would also be where the database used is stored. Neither apply to this game, as the game will likely be put up on Flash portals like Newgrounds.
View 17 RepliesA few years ago I was up-skilling form AS2 to AS3. In the process I could have sworn I came across a resource that was all about using SQL and Flash AS3 together. It looked like native AS3 SQL communication.I remember thinking "That's cool, will use that one day" and then putting the book down. Well it is now one day and I need to remotely read and update data from a Flash file. The thing is I can't for the life of me remember where I saw it.Searching online has been a bit discouraging. All I can find is a lot of people saying there is no native Flash AS to SQL communication. Was I dreaming, or are all the posts I'm finding old and referring to AS2?If this is the case, is there a way to save shared objects or XML files to a remote server? Or is my only option calling php files from Flash?
View 2 RepliesI have created a class that I've been using as the storage for all listings in my applications. The class allows me to "sign" an object to a listing (which can be created on the fly via the sign() method like so):
manager.sign(myObject, "someList"); This stores the index of the element (using it's unique id) in the newly created or previously created listing "someList" as well as the object in a 2D array. So for example, I might end up with this:
[Code]...
how can i delete storage directory instances or folder while uninstalling any air application. In my application when i first time run my application, application copy some data from application directory to application storage directory. now i want to delete all data and application directory folder also while uninstalling application.
I am doing that because when i launch any update then application is accessing old data which conflict with my application new features.
When and where will see (ore already can get) Adobe® Stratus 2 examples (with source) on "Swarming", Live Application-Level Multicast, Distributed Data Storage?
View 1 RepliesI would like to locally save an XML file with ActionScript, as a temp file, if at all possible. I've read all about how AS won't let you do this without dialogs (and I understand the security concerns), but surely there must be some sort of temp option? I need to dynamically generate some XML to pass to another swf using URLVariables (I have no control over this part). Right now, I can only pass in previously created XML files.
var urlReq:URLRequest = new URLRequest(url);
var variables:URLVariables = new URLVariables();
variables.data_file = "us/data.xml"; //data.xml is static/already created
urlReq.data = variables;
ldr.load(urlReq);
I would like to replace us/data.xml with xml I've created.
i have an important sound files i need advice and directing how can i use flash to play them only on site without being downloaded to temporary inernet
files? is it semple or too complicated? and can i do it my self if i tried to learn ?
Is there any way of disabling flash files to get saved in the temp folder of the user's machine? In other words, saving the swf files from being copied?
View 1 RepliesIs it possible to deform/change pitch/temp of a loaded mp3 in AS3.0 ?
View 1 RepliesHow can I find the path to the user's temp folder (e.g. C:UserslisnilAppDataLocalTemp) from Flash/AS3? It needs to work on any version of Windows, at least XP, Vista and 7.
View 1 RepliesI am using many external swf file in my flex application,but when i use the files which are in same name its not getting refreshing properly, so i need to delete my temp file without refreshing the application.
View 0 Repliesi am hoping that someone can put me right on this question (apologies if this the wrong forum too)...i have an .ipa file that uses xml for it's content. i can load the xml/images etc... fine from both a url and also locally on the handset.but what i wanting/trying to do is for the .ipa to check to see if there is an updated xml doc/images from the url - if there is then it downloads/saves the xml doc and any associated images to a local folder/location - if there isn't (or the handset can not access the internet) it simply loads up the xml and images locally.i have seen a few methods of doing this - but am not sure how it all ties together with flash?
View 7 RepliesI have an array of three values.focal[x,y,z]these values change based on user input.however when the change occurs, they are logged into a new array to test for valid changed.A simplified psuedo version of my code:[code]However, when the focal[1]++; focal[0]--; ect, ect, code takes place. It also changed the temp array.and since it changes my temp, it never resets me original code back to its previous nature.I have never seen this behavior and its kinda throwin' me off.
View 2 RepliesI have a rails app that I'm going to host on engineyard and want to store image files on s3.But I don't know if I want all developer machines to beusing s3 for storage of all our test and dev images. Maybe it's not an issue -- but it seems like a waste to have everyone storing all our images in s3.I've heard of some ppl who store images on s3 'hacking' dev environments to store images locally on the file system -- and then using s3 in prod only.
View 2 RepliesI would like to add local storage to an existing Flash webapp that up until now uses a web server to store data (database and media files). What are my options? I'd like to reuse the code of the Flash webapp and run it inside a browser if possible (which, if I'm not mistaken, is not possible with Adobe AIR).
View 1 RepliesHow can I tell from an air app if a USB storage has been plugged in?
View 2 RepliesI'm working on an AIR app that will have a free basic version and a more advanced paid version that's unlocked with a license key. Ideally once a license key is entered I'd like it to unlock the application for all users of the computer. However, I haven't been able to find a suitable system-wide location for storing the license key file. All of the preconfigured locations in the File class (e.g. File.applicationStorageDirectory) are either user-specific or read-only.
Is there a standard system-wide location in AIR where I can store things like this? If not the file system, maybe shared objects, or SQLite, or the encrypted local store? Failing that, are there standard locations on each system (Windows, Mac, Linux) that I could hardcode that are guaranteed to be writable by all users? The last option is made more difficult by the lack of access to any environment variables.
If all else fails I guess I could just require the application to be unlocked per-user, but that doesn't sound like a recipe for happy customers ("What do you mean I have to buy it twice for my wife to use it? We only have one computer!"). (Okay, yes, it it's per-user I'll probably let one key unlock the app 3 or 4 times to be nice about it, but it's still less convenient for the user to activate multiple times).
Presently I'm building an interactive CD-ROM based presentation for stand alone individual machines. I'm using AutoPlay Media Studio 7 to package a flash movie along with a licensed adobe reader and adobe flash player. One of the buttons on the autoplay package will install and create folders and files on a local machine.
I've uploaded a file for you flash gurus out there to look at, it may help to examplify what I'm trying to achieve. What I'd like to do, is to be able to use a file (perhaps XML?) that the flash movie can reference and make changes to. If this is possible then such file would be included in the AutoPlay package (see background info above) and installed on the local machine.Security is an extremely low key issue here and the username password is simply a means for flash to lookup and recognise an existing user (if there is one) and set the states of some variables.
Why? - The project is like an interactive training manual with questions and animated examples split into 8 modules. I would like to be able to provide users a means with the of not having to review previous modules by logging in at the login frame.
Code:
Assigned to 'signInUser' button
on (release) {
if (user_name == storedUserName) {
if (pass_word == storedPassword) {
[code].....
I have a site with an SWF that I can put some metrics into, such as ZIP Code, Weight, etc.. then, it takes that info and gives me shipping rates.
I need to build a front-end site that I can have a forms page that will push data to the backend SWF, and then return the data back from the SWF to the front end.
Front-end -> SWF (Zip Code, Weight, Size) -> *Calculates* -> Front-End
That should be the flow.. So I need to send data to the backend, GET the data that it calculated, and return the results to my front-end.
var dane:Array = new Array();
dane_xml = new XML();
dane_xml.ignoreWhite = true;[code]....
and this last trace gives me undefined while trace(temp) gives me what I want
When using DVR with RTMP streaming the stream could/would be saved as single big file on the server, but when using HTTP streaming the stream will consist of numerous chuncked files; in this case how will the stream get saved, will FMS 4 assemble the chunks? unlikely, will the chunks of stream get saved? in this case I wonder which tool could be used to access it and make VODs of it. What is the exact behaviour of FMS4 when dealing with storage of DVR HTTP streaming?
View 9 RepliesThere is a small feature I have implemented that makes uses of the Local Shared Objects to work properly.
I wish to be able to help the user self-diagnose if he is unable to use the said feature because he refused access for this computer to writing local shared objects and give him instructions to work around the issue if it applies to him.
I'm looking for something similar to the muted property of the Microphone class [URL] or the Camera class.
I'm looking for javascript libraries and code that can simulate localStorage on browsers that do not have native support.Basically, I'd like to code my site using localStorage to store data and know that it will still work on browsers that don't natively support it. This would mean a library would detect if window.localStorage exists and use it if it does. If it doesn't exist, then it would create some sort of fallback method of local storage, by creating its own implementation in the window.localStorage namespace.I understand that Flash and Silverlight can be used for local storage as well, but haven't found anything on using them as a fallback for standard HTML5 localStorage. Perhaps Google Gears has this capability too?Please share any related libraries, resources, or code snippets that you've found! I'd be especially interested in pure javascript or jquery-based solutions, but am guessing that is unlikely.
View 8 RepliesHow would one go about caching / managing many large files (videos) on a user's computer via browser mechanisms (plugins are acceptable solutions). From what I can tell, local storage is about database type data, not files.
View 2 RepliesIs it possible to set the local storage limit for shared objects using action script rather than the Flash Player context menu?
View 2 RepliesI have an actionscript app which needs to use SharedObjects. I see how if the user doesn't allow the Flash Player to access local storage, the security settings panel automatically pops up and asks for user input.
My problem is that my app runs with a 1x1 pixel stage, because it doesn't display anything. So the user will never see that panel and the program will seem to hang.
What I want to do is to somehow detect that the user doesn't allow the Player to access local storage so that I can open a new window large enough to display that panel.
The only way I've been able to detect this so far is to try to call SharedObject.flush() and check the return value, but that displays the settings panel.
Anybody happen to know how I can show the 'Local storage' panel in AS3 from an AIR application?[code]
View 3 RepliesI use third-party encoder to launch RTMP stream to FMS, but there is no way to record thestream, there is no third-party encoder to provide a way to record?
View 2 RepliesDoes an AIR app built with Flex have something similar to a browser cookie? I want the app to remember a simple value, like date when the app was last opened. I'd rather not create a SQlite database just for this.
View 1 Replies