Flash And Remote Data Storage

Apr 8, 2011

A 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 Replies


Similar Posts:


ActionScript 3.0 :: Best Practices For Data Storage

Feb 27, 2010

I'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 Replies

Professional :: Temp Data Storage?

Apr 1, 2012

I'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 Replies

Actionscript 3 :: Single Massive Class For All Data Storage?

Nov 14, 2011

I 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]...

View 1 Replies

Actionscript 3.0 :: CS4 Flash Remote Access To FTP Server Data

Feb 22, 2010

I am trying to access a FTP server that allows anonymous access to the data files stored on the server.. they are stored as txt files... I want to display some of the files in a flash CS4 Movie... It is also on a HTTP server directory...

I have accomplished it within the CS4 Flash development application using the HTTP Server but when I publish the document it gives me a blank stage the data that shows in the Test Movie swf is not showing when the SWF is on its own... I am thinking it has something to do with crossdomain security that is built in... is there a way I can accomplish this? I prefer the FTP access but will use the HTTP access...

Here is the AS3 I am using...

import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;

[Code].....

View 13 Replies

Data Integration :: Load XML Data From Remote Server?

May 8, 2006

I am trying to have a PHP page load some variables into aFlash banner ad that will be running on 8 different websites...I need to have one central location for the PHP page andallow 8 other domains access this data...I am finding that when everything is on one server... noissues... data reads just fine...But when the PHP page is on one server and the SWF file onanother... the data never gets through...I am assuming this is some issue with security within

View 1 Replies

Flex :: Delete Application Storage Directory Instance / Data When Uninstalling Any Air Application?

Dec 22, 2011

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.

View 1 Replies

Flex ::get Adobe® Stratus 2 Examples On "Swarming", Live Application-Level Multicast, Distributed Data Storage?

Jan 25, 2010

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 Replies

Actionscript 3 :: Debugging Swf Locally With Remote Data?

Apr 3, 2012

I'm trying to debug a swf in Flash Professional CS5.5, by running the debug-> Debug Movie -> In Flash Professional. When I do I get teh Adobe Flash Player Security window. It says you are trying to connect to and the I.P. address of the server (e.g. 203.22.35.101). I've opened the settings and added that I.P. under Advanced->Trusted Location Settings... that doesn't help. btw: If I run -> Control -> Test Movie -> In Flash Professional it works fine, but then I can't debug.

View 1 Replies

ActionScript 2.0 :: Requesting Data From A Remote Domain?

Sep 3, 2009

developing an e-card system in AC2. The system mainly consists of two flash movies and is supported by PHP scripts and a mysql database for data storage.The first part is the create/edit screen where the users can upload a photo, mask any desired area and apply some simple transformations such as size, rotation, brightness. They can also select a card (an animated flash movie) and preview the animation and finally type a message for the recipient.The other part is the result screen where the finalised card is presented and the user can then email a link to it to other people or grab some code to embed it on another site. The link will point exactly to this page. An example of the embed code is the following:

Code:
<div style="width:444px">
<object width="444" height="493">

[code]......

View 1 Replies

IDE :: Security Sandbox Data Grid With Remote Xml

Feb 18, 2010

I have a problem with the security sandbox in my site. I want to use a data grid with a xml coming from another domain.I have prepared a crossdomain.xml file with this structure:[code]I have put this file in the public_html folder of my host, and also inside the same folder of my app but still not working..

View 2 Replies

ActionScript 3.0 :: Data Capture Form With Remote ASP Server?

Aug 17, 2009

I'm making a small flash app that's going to have a data capture form at the end. The problem is that it's going to be hosted on someone else's server and we need to capture the data ourselves. Our server is ASP and I really need the data from the form to be sent to us where it will be written to a database. - Is this possible at all? I've been looking into URLLoader and URLVariables but our tests aren't working so far.

Here is the AS3 code I'm using in the flash file..

ActionScript Code:

Code:
contact_name.text = contact_email.text = contact_subject.text =
contact_message.text = message_status.text = "";
send_button.addEventListener(MouseEvent.CLICK, submit);

[Code].....

View 1 Replies

Professional :: Read From And Write To Remote Data File?

Sep 27, 2010

I 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.

View 4 Replies

Flex List-controls - Maintain Remote Data?

Aug 29, 2009

I have a TileList which represents some remote data. I also have a form which allows me to change the data. And the data may be changed by someone else too.

What is the best way to maintain data in the list in an up-to-date state? The simplest option I see is the following:

Select an item in the list Edit it in the form Save it. The form submits the data to the server When the server reports success the list re-fetches it's data The very bad thing about this workflow is that the list loses selection (a tree would also loose the nodes' expanded/collapsed state). I would really love to find out another option which would enable the list to maintain it's selection state.

View 1 Replies

Flash :: Add Local Storage To Webapp

Jan 5, 2011

I 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 Replies

Flex :: Cannot Create Project Using Remote Or LiveCycle Data Services

Jun 28, 2009

I'm trying out the FlasBuilder ide with ColdFusion 8 on OS X. When I try to create a new project, I get stuck at the server setup screen that forces you to validate your paths for your ColdFusion root folder and your webroot. Every combination I try says either "LiveCycle Data Services is not installed at the specified location" or "Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml." The flex-config.xml file is sitting in that directory. Is there some trick to getting this to work?

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

Java :: Send Data From Red5 To Flex Using Remote Sharedobject

Jul 3, 2011

I want to send data from Red5 to Flex using remote sharedobject.

my Red5 code :

this.addScheduledJob(5000,new IScheduledJob() {
@Override
public void execute(ISchedulingService jobs0)

[Code].....

it doesn't shows error or warning, but my flex function doesn't work, even Alert in my function not working.

View 2 Replies

IDE :: Flash Pro 8 - Local File For Variable Storage?

Mar 28, 2009

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].....

View 4 Replies

Flash :: DAM Solutions And Handle Storage Of Both Common Movie Types And Flash Movies?

Dec 8, 2009

Does anyone know of a DAM (Digital Asset Management) solution, preferably ASP.net that can handle storage of both common movie types and flash movies?

View 2 Replies

ActionScript 3.0 :: Write A Simple Application Which Passes Data Between Two Remote Computers Over The Internet

Sep 23, 2008

I want to write a simple application which passes data between two remote computers over the internet. The application I really have in a game where moves are passed between two remote clients. what server can I use to my game moves to my friend boris?how can i communicate with this server in actionscript?

View 3 Replies

Flex :: Pass Data Retrieved From A Remote Object Service To A Modules Interface?

Jun 9, 2010

I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use?

I could put the RemoteService/RemoteObject in the modules, but (in my opinion- and I could be wrong) the best design seems to be using the remote calls in the main app and passing the data along to the modules.

View 1 Replies

Flex :: Flash Shared Objects Storage Location Changing Occasionally?

Feb 15, 2011

When running a flash application that I run locallyie I get to it from a browser but with a file pathNow, most of the time the shared objects are stored in%APPDATA%MacromediaFlash Player#SharedObjectsXXXX#localWithNetBut occasionally, it reverts and thinks this application is running on localhost%APPDATA%MacromediaFlash Player#SharedObjectsXXXXlocalhostwhich means all previous saved settings are gone.I'm wondering if anyone knows how flash decides if the application is infact localhost or localWithNet (local with Network access)

View 4 Replies

Flex :: Flash Shared Objects Storage Location Changing Occasionally

Jul 3, 2011

When running a flash application that I run locally i.e., I get to it from a browser but with a file path
file:///C:/Projects/test/bin-debug/Main.html#

Now, most of the time the shared objects are stored in
%APPDATA%MacromediaFlash Player#SharedObjectsXXXX#localWithNet

But occasionally, it reverts and thinks this application is running on localhost
%APPDATA%MacromediaFlash Player#SharedObjectsXXXXlocalhost
Which means all previous saved settings are gone.

How flash decides if the application is infact localhost or localWithNet (local with Network access). Rebooting can sometimes make it revert, but I've also had it stay localhost for a few days then revert.

View 1 Replies

Data Integration :: Loading Remote XML File Into SWF File?

Jan 28, 2007

I have a problem loading remote XML file into SWF file. Im doing a banner for a client with adds that is supose to load constantly updated XML file from my clients server and load some images into flash form it. Everything works fine when i test the movie (CTRL+ENTER), but when i publish it and test it from explorer, XML file is just not loading into flash.

View 7 Replies

Flash :: Adding New Files To Application Storage Directory With AIR Application Installer

Feb 4, 2011

I have an AIR app that gets bundled with XML files that the app needs. These get put into the APP Storage Directory, of course. Works great. But when I install a new version ( which includes new XML files) , the new files don't get added or overwrite the ones from the previous version. It seems that if that directory is there from a previous install, the installer will ignore the part where it moves included files.

View 1 Replies

ActionScript 3.0 :: Xml Local Storage From Url?

Jun 27, 2011

i 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 Replies

Ruby On Rails :: Use The Fleximage Gem And S3 For Storage?

Mar 17, 2010

I 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 Replies

Actionscript 3 :: Can AIR Tell If A USB Storage Device Has Been Plugged In

Apr 26, 2011

How can I tell from an air app if a USB storage has been plugged in?

View 2 Replies

Actionscript 3 :: Adobe AIR System-wide Storage

Jun 30, 2011

I'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).

View 1 Replies







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