Flash :: Perform File Read Write Operation In Flex Web Application?
May 2, 2011How to perform file read write operation on server in flex web application?
View 2 RepliesHow to perform file read write operation on server in flex web application?
View 2 RepliesNow I set dragEnabled="true", dropEnabled="true" and dragMoveEnabled="true" to archive the ability to reorder my Items via Drag and Drop. But as soon as I start to Drag an Item the whole Application crashes with:
[Code]....
I am trying to build a application which can record sound in Flex 4. I am able to record sound but i am not able to save sound data in a file on web.
How can i save sound data on server in flex web application. FileStream does not work in flex web application.
Another Adobe AIR question for you: Can we write files to the file system and leave them as read-only in Adobe AIR? In the future, we would overwrite these files (or delete them and write a new one).
Update: I tried the following approach, but I was still able to open the file, edit, and save to the file system after the process executed.
[Code].....
I want to make a registration page with Flex. The data will be stored to text file. Is it possible?
View 4 Replieshow to write a file to File.applicationDirectory in flex. i am getting security filewrite resource error.
View 2 RepliesI think it can only access the network but not local file system, but from internet some people said it can in the newest version, can anybody confirm? It can reach arbitrarily file or just a specific location?
View 2 RepliesI am creating an AIR application using Flex. In it I use a file in application directory to store some data in it.Its working very well to read and write data to this file with various OS except windows 7. In windows 7 it is not working. May be its a permission problem.
How can i write file in the application directory with Windows 7 ?
I am working on the Google Calendar API which has been built for Flex/AIR. In the API, for performing a Delete or Update operation, it uses DELETE or PUT methods in the URLRequest. But I think these being REST based calls are supported in AIR. I am using this API in a Flash/AS3 application and have successfully implemented the Update functionality by using X-HTTP-Method-Override method for PUT and instead using POST, which is supported in Flash. But when I try to do the same thing for Delete method, I get a 401 error in the API call.
View 3 RepliesIs it possible to use flash to read and write data on an excel/google documents file?
View 1 RepliesWhat is the best way to open and parse and excell file from a Flex Application built using Adobe Flash Builder 4.5. I have done tons of research, most lead me to external libraries, I could deal with that if that is the best approach, but prefer a built in method.
View 3 RepliesI need to save and later read some info to and from a file... I know i can do that with PHP, but how could i do that WITHOUT PHP ?
View 3 RepliesI was wondering so long that how can people analyze the trait of each file extension (of course open it in notepad is not readable) For example, I want to write a program that can read everything from .fla file like timeline, movie clips, position of each MCs or all the motion tween values. And get the image embeded in it. (I'm planning to use flash as IDE for another project.)
(The reason that I tried to read proprietary format is I want to utilize their awesome editor. What I actually want to do is, I want to make an iOS game with cocos2d. There is a code to move things around in cocos2d but there is no decent editor. So I'd like to use Flash as an editor, then convert the motion to objective-C cocos2D code by reading the .fla file.)
i need to save and later read some info to and from a file... I know i can do that with PHP, but how could i do that WITHOUT PHP ?
View 13 RepliesI need to be able to read an XML file from my flash application. I found this tutorial:
republicofcode.com/tutorials/flash/xml/ But it doesn't seem to work even on their own examples. I can trace whole XML file, but when it comes to childNodes whatever I try to trace I always get "undefined". My XML is like a quiz DB with 25 <question>'s and 4 <answer>'s in each. So I need to operate with XML data as with an array.
How would I go about reading/writing variables to a file? I would like to be able to have my program remember all of its settings from the last run.
View 4 RepliesI have two variables that I would like to store in a remote data file which can be accessed by my Flash file. It is for a voting system, so the first variable would be a counter that is incremented each time a user votes, and the second would be the total rating. The average rating would then be calculated from these.
How would one store, retrieve, and then update these variables from the data file?
I can create the system within a single Flash file for a single session, but obviously I'd like multiple users opening the file simultaneously to be able to access the data and update it.
I have a XML-file, which I want to send to a rails server. To do so I use the following code:
<mx:HTTPService id="dataService"
result="resultHandler(event)"
resultFormat="e4x"/>
[code].....
I am creating a CBT course using Flash CS4 As3. I need to capture progress information from the user as they complete each unit in the course so that the next time they access the course they can pick up where they left off. To do this I need to know how to write and retrieve this information to and from a text file or a cookie so that it can be retrieved re-enters the course.
View 2 RepliesI'm exploring the feasibility of reading data from a local Excel file in a Flash application.
XLSX READER [URL], it's possible to read Excel 2007 files.
It works beautifully.
However, that function doesn't read Excel 97-2003 files.
I found this:
[URL]
Which should read Excel files in Flex, but I'm working on a Flash application, and it looks like as3xls relies on a number of Flex only functions and types (ArrayCollection, NumberFormatter, etc.)
Since I'm not familiar with Flex, I'm having a difficult time making the adjustments myself.
Has anyone built a Flash app that reads Excel 97-2003 files, and is willing to share tips or code?
I'm trying to read a XML file and output the values, but i'm getting a 1120: Access of undefined property URLRequest. error.
[Code]...
So I have a basic application descriptor file for my AIR app. It looks something like this, shortened for sanity:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<version>1.0.10</version>
[code].....
I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
View 1 RepliesI want to write and read cache in flash via AS2. I have two flash/swf files placed at same location. From 1st file, on a button click event, I want to write some variables/ values one by one into cache. Then proceeding to 2nd swf placed in another html, I want to read those variables one bye one.
View 8 Replieshow can build a txt document and write in flex application ?
View 1 RepliesI have below code
[Code]....
I need this application read from exteral xml file not in it.
Recently, I writed a programe about creating a text file and writing data into it in the server application folder. My code is as following:
[Code]...
Supplement: The text file named test.txt doesn't exist before create the fileObj, an instance of File Class.
I am trying to create .txt file dynamically from a Flash projector exe on to the local system for a game, Wherein the score and the players name should be stored.I have tried using the Loadvariable POST method to no avail.
View 1 RepliesI'd like to read or write browser cookies, using a flash client.
Lets say, If I have a website with users... And they can play all sorts of movies (the client). I'd like to have a way to recognize the user. Maybe there's a different alternative?
I'm working on this flash game right now and I need to implement a simple players database...
It needs to be both read and writable . Meaning, when the player register to save his character information , he needs to key in his email and a password and create an account. The account shall store that player's life amount, ammunition etc . All the infos are stored on an external file and retrieved again when the player logins to the game with the email as his login ID. Security issues are not the biggest concern here because its not exactly meant to be an online game and I don't think hacking would be something I need to worry about ^^'''
I've tried Xml with AS, but I realised that, that alone canot allow me to write the player's info into the xml file.
I'm not exactly an mySQL idiot...but I really have very(x2) rusty and limited knowledge of it. All the server topics confuses me and I've had no experience with Microsoft Access.