Flex :: Save Data Into External Files In AS3, With Out Server?

Dec 10, 2010

How can I save some text information in local hard-disk with out the server support. I know shared object, but i dont use this. I need to save all these function in anther external file as text.

Is there any way to do that in AS3.0.

I don't prefer Flex, am working in Action Script 3.0 & Flash IDE

EDIT:

My swf is saved in a local machine. So no server interaction or browser interaction. the swf is running a local folder and read txt files from local folder, and save once press the save button.

View 3 Replies


Similar Posts:


Flex :: Save Data Into Flash Media Server Like Rdbms?

May 17, 2010

im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose??

View 1 Replies

ActionScript 3.0 :: Save XML Files With PHP To A Server?

May 29, 2007

I am loading an xml file into flash then modifying it. Now how can I save it to an xml file on a server. I how found many examples but most of them are in flash AS2 and I would rather use AS3.

View 14 Replies

ActionScript 3.0 :: Save Data To Text Files (Flash & Amp)

Dec 7, 2008

I'm working in AS3 using Flash CS3 in the Mac OSX Leopard environment and would like to save data, to be later retrieved, in text files (probably xml). The data will be the result of the user interaction with the swf and the ideal location will be the directory (local or website) in which the swf file is located.

I know I could achieve the same effect using a database backend but want to make the swf file more portable, and don't really want to dedicate a database to this function. I've read a bundle of website comments on this but none seem to tidily do what I want, and I am not a whole lot wiser on the subject. The data will be user details and variables (e.g. scores) to carryover to when the user next accesses the game. What are my options (FileReference.save, SharedObjects, URLLoader, other )

View 2 Replies

ActionScript 3 :: Flash - Save Binary Data To Files?

Nov 14, 2010

im doing a level editor for my game and i need to save the tilemap data (120x120 uint array) and character data (character type, position, rotation, stats, etc) to a .bin file. How can i do it? I know i can do it by using XMLs but it is not good for saving tilemaps...

View 2 Replies

ActionScript 3.0 :: Save And Get Data To/from Server?

Sep 20, 2009

I plan to create a level editor for the game I currenty work on. Thats no problem at all, but I have no idea, how i could save data for the maps into a server from the .swf and get them back at a later point.And I also would like to know, what kind of a server I would need. Are free ftp servers enough for stuff like this, or are they useless?

View 6 Replies

ActionScript 3.0 :: Save Data To Server?

Nov 4, 2008

I create an area within the site where a user can manually create something from a list of objects, if I, say, wanted to save this data as a number of variables to the server ie- a new row containing all the data unique to that saved item, does anyone know the best method of doing this, I'd figure it'd be XML but resource seems a bit sparse in this area.

View 4 Replies

ActionScript 2.0 :: How To Data Save In Server

Dec 20, 2009

I want to save my data in online how to it in flash as2.0ex; i will give data in on line the data is saved in my site its possible

View 1 Replies

Xml :: (Flex 3) Get Data From A File Using HTTPservice And Save The Return Data As An Array?

Oct 15, 2009

I have an xml file (externally saved) that is similar to the following:

[root]
[main]
[title]...[/title]

[Code]....

What I like to do is to get what's in [title] tag using HTTPservice, import it into Flex, and save it as array objects, and do the same thing for [content]. This way I can later refer the array object saying title[0] or content[2].

View 1 Replies

ActionScript 3.0 :: Record Camera Data From Flash And Save To Server?

Feb 11, 2010

I have a camera attached to a video object that is displayed on stage. When a user comes to the site they see themselves, but I want to be able to save the video and take a snapshot. How would I go about getting the data out of flash to the server?

View 1 Replies

ActionScript 3.0 :: Flash - Save Data To Server When User Navigates New Page?

Sep 24, 2011

I have a Flash AS 3.0 swf-based browser game. It's hosted on my site and communicates with a MySQL database via PHP using Flash's URLVariables. Everything works fine. The problem is, I want to be able to save the player's game after he leaves the webpage or closes his browser. How is this usually handled?

Is there a reliable event that fires when a swf is terminated? Is so, what is it? If not, what's the solution? Should I simply save the player's data every x seconds? That seems like it will bog down my server. I could have 10,000 people playing and I don't want to save each of their games every x seconds.

View 2 Replies

Flex :: Save Files With ActionScript In Flash Builder?

Jul 30, 2010

I've read that it is not possible to save files using Flash CS5.

Later I've read that it is possible using Adobe Flex.

Now, what about using Flash Builder?

I'm talking about save data files at runtime, such as user usage data..

View 2 Replies

Flex :: 4 - Download Files - Make The Save Asynchronous From The Dialog

Jan 15, 2012

I want to download a file in flex. Here is my desired flow User clicks "view" Code goes to backend and get the file as an array of bytes bytes sent from java to flex via a callback flex then opens dialog and user decides where to save the file Unfortunately the last part is not on a user event but on the callback from the server. When I call new FileReference().save(...) it tells me this. An alternative could be

User clicks "view" Flex shows user the dialog and user chooses where to save file Flex goes to backend requesting bytes of file bytes sent to flex and data is saved. For this approach I am unsure how I can make the save asynchronous from the dialog. I want the user to save a file but the data but come from an array of bytes from the backend

View 2 Replies

ActionScript 2.0 :: External Files Don't Loads On The FTP Server?

Jul 8, 2004

just working on a website. Trying to load a simple swf movie into my mc holder. Problem is:When I preview the page on my desktop the external files loads. On the FTP server it doesn't. Why?I tried 2 scripts for an "onClipeEvent" on the empty mc holder but nothing workes.

[code]...

Then I got recommended to use this script on an empty keyframe. It works but again, only offline. targetMc.loadMovie("floorplans/301.swf");

View 3 Replies

Flex :: Air - VideoDisplay Record/Save To Disk/server

Aug 1, 2011

I want to also add cuepoints to a live recording video as it is incoming.

I have a live feed incoming from a VideoDisplay object in my Flex Air app, and I would like to be able to record the video/audio of this and save it to disk and/or upload to server.

Is this possible? If so, would it be possible to add CuePoints to the video as it is being streamed live? Right now I am just trying to record a live stream from my VideoDisplay.

View 2 Replies

Flex :: Make VideoDisplay Not To Save All Data It Played?

Nov 27, 2010

How to make s:VideoDisplay not to save all data it played?

View 1 Replies

Flex :: Unable To Save Data From JSP Which Is Printing In The XML Format?

Feb 22, 2011

I am retrieving the details from the database and printing them in the XML format. It's working pretty good and can even display the same XML format in the Flex. However, I am not sure, how to save this XML file to give it as a data provider for datagrid.

Here is my JSP code :

<%
ps1 = conn.prepareStatement("select file from file where status='P'");
rs1=ps1.executeQuery();

[Code]....

I am using the following thing to get the details

event.result.body.people.toXMLString();

View 1 Replies

Flex :: Remote Call To Save Data And Wait For Answer

Jul 8, 2009

My Flex application does a remote call to weborb to save some data from Flex. When this data is saved, a service is called on another server. All this time Flex is waiting for an answer. Is it possible to call this service (on the other server) and not wait for an answer. I have tried to call the service asynchronous but all this does is calling the service in a different thread. Flex still has to wait for both threads to be finished... So when the data is saved, flex should get its answer. (while the thread handling the service is still running).

View 2 Replies

Flex :: Passing Object To Save Back To Server Freezes Application

Jan 24, 2012

I have a NavigatorContent which is displayed when the user selects an item in a DataGrid. This NavigatorContent contains a form and an accordion displaying the related objects.

When the user presses the Save button in the NavigatorContent the form and the children should be saved to the database by calling the server through BlazeDS:

saveObjectToDB()
{
//Map the form values to the object
object.field1 = object_field1.text;

[Code]....

The object that i pass to the accordion children is public and [Bindable] in the NavigatorContent and in the accordion children and is initially passed from the main DataGrid. May this be a problem relating to this issue?

View 1 Replies

Actionscript :: POST Data To External Server?

Jun 14, 2011

I need flash to POST some data to an external server is this possible in AS2? Can't get an answer on google and want to know before I implement it.

View 1 Replies

Actionscript 3 :: Game Development - Embed External Data Files For Run-time Retrieval?

Jul 30, 2011

I'm writing a Flash game where the game levels are saved in small plain-text files, which I want to embed in the swf file. My current solution has a distinct code smell in its repetition, and I'm certain that there is a better way. My code is basically: In a LevelLoader class, embed all the levels

[Embed( source="levels/1.dat", mimeType="application/octet-stream" )]
protected var level1:Class;
[Embed( source="levels/2.dat", mimeType="application/octet-stream" )][code].......

There are a couple of problems with this approach: I have to add a line for embedding each level. Optimally, all files in a folder would be automatically embedded.A level can't be "prepared" from a string. I'd like to be able to pass LevelLoader a level number or level name as a string.I think that all strings are stored in memory rather than on disk.How could I program this "correctly"?

View 1 Replies

Media Server :: Notify FMS Of External Data Change?

Jan 23, 2012

We have an application that so far uses AS3/AMFPHP, but we are finding this "request-response" model limited and feel we could make better use of sockets to deliver a more streamlined experience.The application is primarily a data-application containing no media streams.We want to open a socket to FMIS and use this as a pipe in which to stream data to and from the application.Consider this situation however, when values can be adapted externally outside of the FMS application: Example:A user who connects with $0.00 at the start of a Flash Client session, may topup money, via paypal externally. At this successful point, the users database value has $10.00, but FMS is still $0.00.How can FMS be informed of an external event such as this and update the client accordingly in real time?

View 1 Replies

Media Server :: Recording Video/audio Files Using Flash Media Server Through Rmtp, And Allow Users To Access The Recorded Files Through Http?

May 25, 2009

As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?

View 1 Replies

ActionScript 2.0 :: Save Files With "Save As Window" From A CD To User Choice?

Jan 19, 2006

I need to open a popup(html) form a Flash projector.

And I need save Files with "Save as window" from a CD to user choice...

View 1 Replies

Media Server :: Save To File Live Video Stream In Server?

Apr 27, 2009

I use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?

View 1 Replies

Media Server :: Stream Data Instead Of Media Files?

Nov 29, 2009

Is there a way to stream data instead of media files? In particular I'm interested to stream swf files that will be dinamically loaded by another swf client. I see this interesting message talking about how to do this on Wowza but I prefer to find a solution also in FMS to use the SWF Verification feature.

View 1 Replies

ActionScript 3.0 :: Result Data From Url Which I Uploaded Files In Flex 2?

Sep 14, 2006

How I get result data from url which I uploaded files in flex 2?

for example I need to know if thats file valid from server side.

The better ways if flash.net.FileReference have behavior like URLLoader on complete event.

View 1 Replies

Data Integration :: Load Data Into Form - Edit Then Save

Jan 14, 2008

I have an Access Database (doesn't need to be Access, I can phpAdmin or mysql, whatever will work) that has a list of names. I want the user to open a Flash form and have the names load up into seperate input boxes for each name. The user can then change the names, move them, whatever, and then save the record. I want it to just overwrite the record. I donlt want create a new record. I cannot, for the life of me, figure this out. I have tried to find some tutorials but nothing makes sense. Is ASP a good way to go? I have been struggling with this for a week now.

View 3 Replies

Media Server :: Record Audio From A Mic And Save It To A Fms Server?

Mar 27, 2012

im looking for a script that can record audio from a mic and save it to a fms server i came across a video email script but would like to have just a audio one that can do the samething as the video email with out the video part.

View 2 Replies

Flex :: Insert Data Into A SQL Server?

Apr 5, 2010

I want to insert data into a SQL Server, but I keep getting this error RPC Fault faultString="SOAP Response cannot be decoded. Raw response:faultCode="DecodingError" faultDetail="null"]

I can get data all day, but why can't I input any?

<mx:WebService id="ws" wsdl="http://localhost:/AService01.asmx?wsdl"
fault="onFault(event)">
<mx:operation
name="GetEmployees"

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved