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


Similar Posts:


Flash :: Interact With Local PC From WebApp

Apr 28, 2010

I'm currently working on a corporate intranet application. Part of the requirements are to have the application start a program on the users local PC (Minitab) and then have the webapp communicate with it via it's COM interface.

What are my options for doing something like this?

A signed Java applet and Jacob ActiveX and .NET (this will only work in IE, correct?) Flash? (can flash be given permission to the local PC?) Silverlight???

I'm leaning towards trying the java approach (all users will have Java and flash installed) but am wondering what's the path of least resistance.

The application runs from Apache2/Python/modwsgi on Gentoo Linux. All users will be running WinXP or Win7 with Firefox or IE6/7/8.

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

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

Flex :: Know If The User Allows Storage Of Local Shared Objects (LSO)

Nov 25, 2010

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

View 1 Replies

Javascript :: HTML5 Local Storage Fallback Solutions

Jan 14, 2011

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 Replies

Javascript :: Use HTML5 Local Storage To Store A File?

Feb 9, 2011

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

ActionScript 2.0 :: Set The Local Storage Limit For Shared Objects?

Jul 23, 2006

Is it possible to set the local storage limit for shared objects using action script rather than the Flash Player context menu?

View 2 Replies

ActionScript 3.0 :: Detect If User Doesn't Allow Local Storage?

Mar 18, 2009

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

View 2 Replies

ActionScript 3.0 :: Can Show 'Local Storage' Panel From AIR Application

Jan 15, 2010

Anybody happen to know how I can show the 'Local storage' panel in AS3 from an AIR application?[code]

View 3 Replies

ActionScript 3.0 :: Avoid Showing Local Storage Dialoge Box For SharedObject?

Nov 17, 2010

I'm doing a small webapp where I want to use a fairly small amount of Local Storage for SharedObjects.The challenge is to cater to all visitors, including those that might have turned down their local storage allowance to 0 bytes (inactivated).Now, what happens is that the first flush method call triggers the local storage dialog box.In the case that the user has inactivated local storage, I don't want to ask them to raise it - instead I want to avoid using SharedObjects for the remainder of the session.I haven't found a way to test for the capacity of the local storage. What I can find is the size property of the SharedObject class. This doesn't work however as it only reports a size greater than 0 if there has already been an object written to this application domain.

View 0 Replies

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

ActionScript 3.0 :: Error #2148: Only Local-with-filesystem And Trusted Local SWF Files May Access Local Resources

Jul 4, 2010

I'm trying to load a local xml file:

xmlLoader.load(new URLRequest("../xml/xmlData.xml"));

But I'm getting this security sandbox violation:

#2148: Only local-with-filesystem and trusted local SWF files may access local resources.

I don't get this error when I embed the XML file directly with the EMBED metadata tag.

View 3 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

Professional :: Swf In A Webapp Not Rendering?

Jan 6, 2010

I used FalshDevelop to compile PanoSalado opensource ".as" files to produce corresponding ".swf" files.it works great and my movie shows.However, when I run it via a webapp under Tomcat, it just sits there. The url is:Note that I'm running the same file (.swf) from the same place in the filesystem.And I even tried to embed the swf in an html page (actually a jsp page) to see if it would work.. but no dice... same issue.FWIW the html that is used to invoke the swf is :

<div id="flashbanner">this will be replaced by the SWF.</div>
<script type="text/javascript"> alert('0'); var so = new SWFObject('maps/ModuleLoader.swf','mpl','555','416','9', '#336699');  alert('1'); 

[code].......

View 1 Replies

Flash :: Execute An External .exe From A Local .swf Using A Local XML Socket Server (C#)

Jan 7, 2012

I'm developing a game add-on/plugin which replaces a built in feature of an online game. The game loads an .swf therefore, my solution also has to be an swf for it to work 'in-game'.

I would like to be able to have the user press a button in the custom .swf I am making - and this would open an external application (amongst other things). I.e. if there was a button that said Notepad, it would open Notepad.exe on the machine.

My initial thinking was that i could have a XML Socket server 'daemon' runnning (c#) , which i could connect to with flash - however, as both the swf and the daemon are local, flash complained and gave this error: "Error #2010: Local-with-filesystem SWF files are not permitted to use sockets."

The only way i know to fix this - is to change the security settings of flash - not very user friendly!

So! Any thoughts on how I could otherwise go about this? I was thinking a custom http server could do the trick (connected with URLRequest) although i'm not too sure.

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

Free Web-based Map API Recommendations For A Future Webapp?

Dec 18, 2009

I'm doing some research for a Maps project I'll be starting soon, and I'm trying to evaluate which of the Map APIs will be best-suited to this project. I've worked pretty extensively with the Google Maps Javascript API, but no others. My basic requirements are, in no particular order[code]...

Flexible: the Google Maps JS API is a good example of this. Basically this leads to lots of good things like numerous third-party plugins/extensions, and puts a lot of power in the devs' hands.
Well-documented and supported: again, the GMap JS API is a good example. If I'm going to start working with a new, rich API, I'm going to need to be able to find answers.

As of now, I'm inclined to use the Google Map Javascript API since I am familiar with it. However, the question of whether or not the Flash API might be able to handle many points more efficiently and gracefully prompted this SO question.

View 5 Replies

ActionScript 3.0 :: File Manipulation In Flex4 Webapp?

Jul 26, 2011

I need to do file manipulation such as create,write and delete in flex4 webapplication.

View 0 Replies

Java :: Technology To Use To Write Systray Front-end To Webapp?

Jun 16, 2009

we have an internal webapplication running on tomcat, build on Spring. The webapplication front-end is build with Flex.I would like to create a cross-platform systray application that allows to go the home page of the application and displays alerts when certain things happen in the server.

What would you think is the best technology for:The systray itself? Java Swing?Communication between the server and the systray? Webservice? RSS feed? Spring remoting? JMX Notifications?

View 4 Replies

Html :: Build A Webapp That Requires The Use Of A Special Font?

Feb 16, 2010

I'm planning a webapp. I have all the wireframes defined, the interfaces designed in photoshop, data structures etc. It will be built on php and mysql however I've been unable to decide on which technology to use as a GUI. All your insights are welcome.

The problem with going the html way is that the GUI makes use of a special font that is crucial to the visual aspect of the app. So this font is required. For headers and fixed sections I could do sfir or use images but being a webapp, the amount of dynamically generated content makes it imposible to use image replacements. Enter flash. Flash solves the font problem easily, it even adds font antialiasing and animations which makes it look even sexier. Another pro is being able to deploy as an air app to use local storage for users that have troublesome connections. This way when internet access is restored the app can sync with the main servers. BUT... flash is being ignored by major developers, this would mean the app wouldn't be accessible to mobile devices, ipads,search engines, etc and requires the installation of the flash plugin which is not that big a deal but should be considered.

View 4 Replies

Media Server :: Using Of (mx) VideoDisplay.attachCamera(camera) In Flex Webapp?

Oct 18, 2011

i have encountered a problem last night. my code looks like the following:

[Code]...

View 1 Replies

WebKit Browsers :: Error In Flex Webapp With TabNavigator Loaded Using SWFLoader?

May 19, 2011

I use a flex app (A) to load another flex app (B) using SWFLoader (both built using Flex Builder 3 sometime ago).Everything works fine as expected across all (IE, FF, Chrome, Safari) desktop browsers.However, if I use a TabNavigator within the flex app (B) then when you click on any of the tabs it unloads the flex app (B) and re-starts flex app (A). This behaviour appears to be limited to Webkit based browsers (Chrome & Safari) the rest of the browsers (IE, FF) work fine.

View 1 Replies

Flash :: Adding A Folder On The Local Network To The List Of "local-trusted" Places

Jul 22, 2011

I have a SWF file located at the local network in the public shared folder that I do not control over trying to read the external file on the local network.

I am currently hitting instead an security violation

Error #2148: SWF file file://....mySWF.swf cannot access local resource file://...config.xml"

I've added the network path where SWF an XML file resides to "trusted locations" via Flash Player Global Settings.

The added network path is successfully displayed at the list of "trusted locations" within Global Settings Manager, but it does not look like Flash Player is able to really parse the local network path as a "trusted location"

FP 10.3.181.23, Win XP

View 1 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

Flex :: Debugging - Running A Webapp Base Flex Client In IntelliJ?

May 10, 2011

Is it possible to run a Flex client in IntelliJ internally and have it talk to a separately deployed server instance? The server's a java webapp. This will make developing, especially debugging, much easier. What I'm trying to avoid is having to rebuild and redeploy the webapp to get the updated Flex code in it. I want to just build flex and run it against the server.

The flex client is embedded in an HTML page on the server, so in production the users access the client by going to a web page. We're using GraniteDS if that's important.

Update

I'm managed to cobble something together, but it's ugly.I made a copy of our wrapper HTML page and fixed the links to refer to the SWF in target.I setup the IntelliJ run config to point to that HTML page.I set the 'Place SWF file in a local-trusted sandbox' to true

Hardcoded the {server.name}, {server.port}, and {context.root} values in the service-config.xml GraniteDS config file to localhost, etc.

I can mavenize #1, but #3's isn't really a permanent solution. That part is still a problem because I can't check this in.

View 1 Replies

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

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







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