Flash :: Persist Application Data Via Javascript Between Browsers?

Feb 23, 2012

I'd like to persist a list of favorited items for all browsers on the user's machine.

Cookies are too volatile, and localStorage, while useful, does not move between browsers.

Are Flash's Local Session Objects my best bet?

View 1 Replies


Similar Posts:


Flash :: Flex - Adobe Player Cache: Does Data Persist Across Different Users Of A System

Sep 16, 2009

Does anyone know if adobe flash player cache data is available to other users on a system? For example: A user logs onto Windows XP, then uses my adobe flex application... and in the process of doing so downloads the signed flex lib... He then decides to mow the lawn and log off. At about 3pm the same day, his Mum can't hear the TV over the sound of the mower, so she decides to log in using a different XP user account. She proceeds to use the very same flex application. Does she also need to download the flex lib again, or would the data already be cached in the flash player?

View 2 Replies

Javascript :: Event Not Bubbling In Some Browsers When Clicked On Flash

Jul 21, 2010

Environment:
Windows 7,
Internet Explorer 8,
Flash ActiveX 10.1.53.64,
wmode=transparent

Just wrote a small test page that you can load in IE and Firefox or any other Browser.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

[Code].....

So clicking any colored shape should produce an alert (except for the green one in IE, not sure why but I hope that's off topic and not related to my issue).

Clicking the Flash container in Firefox will work Perfectly fine. You should get alert boxes in this order containing: span, div and body. Flash bubbles the event to the HTML. But this is not happening in IE.

So why is Flash in IE not bubbling events to HTML?

Edit: As mentioned by Andy E this behavior can also bee seen in Google Chrome which to my knowledge is not using ActiveX to embed the flash movie into the page.

View 3 Replies

Iphone :: Flex - RIA Flash Apps On The IPhone Store Persist Data Until An Internet Connection Is Available?

Oct 8, 2009

I'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development.

However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these apps can persist any data. Data entered by the user should eventually be transmitted to the web service, but until then I want it to persist even if the Iphone should run out of power.

Is this possible? Or does the Iphone flash wrapper make it impossible to access the hard disk?

View 2 Replies

Actionscript 3 :: Flex Mobile Persist View Data?

Sep 18, 2011

I built a simple hello world app to check out the Flash Builder 4.5 mobile capabilities.Here's how it works:The Default View asks for name in an textinput and has a continue button.When you click the continue button it pushes a new view in the viewNavigator which just displays "Hello " + name in a label.When you click anywhere in this view, it pops a view (i.e. itself) from the viewNavigator, to go back to the default view

I see only 1 issue with this:When I get back to the default view, it is in its initial state, i.e. the textInput is blank. It seems as if the viewNavigator created a new view of the default view's class and pushed this, instead of just removing the top view and displaying the previous one.I see this being especially problematic for programs which display data in a grid and you can click the data to view the detail...when you get back, the grid will be empty.

EDIT:
Project name: HelloWorld
Code below:[code]....

Clicking on screen 2 gets us back to initial screen. Notice the blank textInput

View 2 Replies

Jquery :: Display The Javascript Navigation Menu On The Top Of The Flash In All Major Browsers?

Oct 12, 2010

My site has a jQuery drop-down navigation menu and that is displayed beneath the Flash. How can I display the navigation menu above the Flash object? I tried with setting wmode="transparent" but it is not work.

View 1 Replies

ActionScript 3.0 :: Flash - Make A Standard Background Resize On Different Browsers Using Javascript

Oct 8, 2009

I'd like to create an animated background for my latest gig using Flash. My only issue (as of right now) is different browser sizes. I know a way to make a standard background resize (meaning no nasty scroll bars) using Javascript, but it's not working with the embedded movie.

View 2 Replies

Javascript :: Use HTML/JavaScript And Flash To Build An Desktop AIR Application And Publish It From Flash?

Feb 16, 2011

Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?

View 1 Replies

Data Integration :: Flash Movie Acts Differently On Different Browsers?

Jan 24, 2007

i have created an online calendar, you can see it on this link this application uses php as well which is called through the actionscript it works fine on firefox browsers, and some versions of IE, the version i have is explorer 7 (which i really dont like), and it doesnt work well at all. dont know if it works on safari or other browsers, i havent checked it out yet (the main problem is trying to write more than one message, it isnt displayed on the messageboard on IE).

View 1 Replies

ActionScript 2.0 :: Flash Audio File Works On Mac Browsers But Not Windows Browsers

Jan 13, 2011

I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:

[URL]

When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..

this is the code called sound control

onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);

[Code]....

then there's the stop() that's used when the music is toggled off..

I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..

View 3 Replies

Javascript :: Web Browsers Interacting With Desktop?

Aug 29, 2010

What languages/techniques are used for letting the web browser interact with the desktop, e.g. dragging files to the web browser, dragging files from web browser to desktop, and maybe more features that I'm not aware of.

View 2 Replies

Javascript :: Get ExternalInterface Working With All Browsers?

Apr 12, 2011

I want to call a function inside a Flash movie from javascript, using the ExternalInterface class. The problem is that to get it to work with Firefox I need to use the embed element and with the rest I have to get the object element. To solve it, I gave different ids to that two elements and depending on the user agent I select one or the other:

function getMovie(movieName) {
alert(navigator.userAgent);
if (navigator.userAgent.indexOf("Firefox") != -1) {

[Code].....

This works, but it is not very elegant and it may not work with other browsers..

View 1 Replies

Javascript ::Relative Positioning At Bottom Of The Screen Issue With Flex And Different Browsers?

Jul 4, 2010

I have a flex component like this:

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
...
width="100%"

[code].....

View 4 Replies

Javascript :: Protecting Websites From Outdated Browsers / Plugins Via Whitelist / Blacklist Combination?

Feb 6, 2011

Aside from using browser headers, I want to blacklist/whitelist browser and plugins from my site so that I can prevent these older unpatched systems from (1) being a general user of my site (2) removing those 'targets' from would-be-attackers reach.Is there a standard way to use Whitelisting or Blacklisting to control browser access to my site? For example, I want to prevent any browser that has outdated Flash, but I want to permit them if they have no Flash at all.

View 1 Replies

Javascript :: Best HTML/JavaScript Framework For A Flex Application?

Oct 23, 2009

We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.Two questions:What would be a good framework to dynamically load the Flex components and allow the modules to communicate between each other?Would dynamically loading/unloading the modules via JavaScript take care of the typical memory problems associated with Flex/Flash applications?

View 1 Replies

Javascript :: Srollbars For A Flex4.5 Application In Application And Browser?

Nov 8, 2011

I'm developing a Application in Flash Builder 4.5 to control an server application, also not a classical Website. All is Spark and I set the minHeight and minWidth-Properties for the , because i have an Image and Navigators, and there becomes a strange effect, when the browserwindow is sliding smaller that the min-Properties.The content and there scrollbars are already controlled over the parent containers, thats not the probelm.

Summary: What i expect from a upToDate-Application is:When the Browserwindow is larger than the min-Properties, but too small for the content, the Application respectively the container should control the scroll bars.If is the Browser-Window smaller than the min-Properties, i expecting scollbars from the browser. I think, in this case, the html-wrapper needs knowledge about the min-properties.

View 2 Replies

Javascript :: Load A Flash Before Application Starts?

Sep 4, 2011

I want to load a little flash video before my application starts, so people can see my website logo before using my application. btw I make my apps with Javascript, HTML5 and CSS

View 1 Replies

ActionScript 3.0 :: XML Data Read By AS3 Being Cached By Browsers

Sep 29, 2008

We have a flash app (AS3) that reads some data from a local XML file and displays it in a cool way. The problem is that the browser(s) seem to cache this XML data, i.e. when we revisit the page containing the flash, it is rendered using out of date data (the XML file is updated regularly). We find we must visit the URL of the actual XML file and hit refresh (CTRL+F5) to get the new XML to load, and then go back to the page with the flash to see it rendered with the up-to-date data. Is there a way to remedy this? Perhaps the solution is like the one used to prevent caching of Javascript, i.e. appending a random GET param to the URL?

View 5 Replies

Javascript :: Using Greasemonkey Script To Automate Flash Application?

Dec 10, 2010

Is there way to simulate click on a flash application using Greasemonkey script? I need to test a flash app with lot of permutations and combinations. Traditional approach of using ExternalInterface wont work because it is too cumbersome to add the callback.

View 1 Replies

Html :: Persist Flash Animation On Page Browsing?

Jan 27, 2012

Is it possible to have flash animation work uninterrupted on my site (in some overlay at the border of the browser) while user browses my site pages?The only way I see is to put animation onto <frame> but the geometry of such layout is very limited.

View 1 Replies

Flash :: Jquery - Application Losing State After Displaced To Another Div By JavaScript

Jul 29, 2010

I've a simple flash application that does counting on button click. I load it in a page and a javaScript code does some DOM manipulation to move it from one div tag to another. Problem: the state of the count is not preserved as the swf node is moved from one node to another. What I did:

I simply get the node using javascript getElementbyId function and then once I get the source and destination div nodes then I use destinationNode.appendChild(sourceNode); //javascript This works well in Internet explorer, but it doesn't work in Chrome and Firefox. So then I tried prototype library.

[Code]...

View 2 Replies

Javascript :: Create A Multiple File Upload Flash Application?

Dec 30, 2011

I am trying to create a multiple file upload flash application to be called from an External Interface, but it isn't working.

AS3:

var fileRef:FileReferenceList;
ExternalInterface.addCallback('selectFiles', showDialog);
function showDialog()

[Code].....

When I run the script and comment out the fileRef parts and uncomment the alert call, it shows the alert, also when I comment out the ExternalInterface call, leaving only the fileRef parts, it shows the file upload dialog.

When I run it as intended, I get the following error:

Error calling method on NPObject

View 2 Replies

ActionScript 3.0 :: Calling Flash Application With Javascript For Batch Processing?

Oct 8, 2010

I'm working on a cartoon series in the uk and we use flash, 3d and after effects. I'm building a little pipeline tool to help us compositors do your job (there's hundreds if not thousands of files to be comped for a great number of shows)anyhow, we use flash for the 2d animation and we need to extract pngs. Right now it's a process I can't streamline (ie compers still have to have flash opened to choose which layers to export manually) but I'd like to be able to open flash and launch a specific javascript file ('command')

View 4 Replies

Javascript :: Put Silverlight Application Inside Flash File(swf - Browser Independet Which Run With Flash Player)

Sep 30, 2010

i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need of browser) or any other way that i can embed my Silverlight application inside Flash.

View 1 Replies

Javascript :: Detect When Key And Mouse Events Occur Inside Of A Flash Application?

Mar 5, 2012

I've some very old Flash applications, which we don't want to rebuild to add a new feature. We simply need to detect when the user has become idle. So, if the Flash application receives no key or mouse events after 3 minutes, we want to track that time till the user interacts with the application again.

We've considered wrapping the applications in newer Flash applications to include the key/mouse event tracking; however, early research shows that some of our apps are so old that they use event systems or AVM's (ActionScript Virtual Machines) that are incompatible. Also, it seems that mouse events on the inner application don't bubble up to the outer application. (I think the direction of event processing is backwards in versions of Flash prior to 8)

Anyhow, the next idea on the table is to see if we can determine when the user stops interacting with the old Flash applications using JavaScript. Can anyone confirm whether or not it is possible to detect, using JavaScript only, when a swf in an HTML document loses focus or key and mouse events stop and start occurring on the swf?

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

Actionscript 3 :: Using External Xml Data In A Flex Application Without Compiling The Source Into The Application?

Jul 15, 2011

I want to read xml data to a mxml application from a xml file on my filesystem. The example I found was for AIR,link2, link3. But I want to target the Flash Player runtime. If I use the the tag, I can do it; however the xml compiles into my swf. How can I retain the xml file in my release build?

View 2 Replies

ActionScript 2.0 :: Getting Data From Javascript To Flash

Sep 19, 2005

I've built a little test setup that uses ajax to get my data from flash->javascript->php->mysql and back to javascript. I'm hoping to port my poor little web based role playing game into a more effective GUI with drag+drop, animations and all that other good stuff that flash allows. Using fscommand() I can send the stuff to my Ajax client no problems. Works a real treat. But fscommand() returns nothing.

My question is... Am I stuck having to send of a LoadVars request to another php script that's generating XML or formatted vars, or is there a way to tell javascript to pass data directly back to the flash movie?

View 3 Replies

ActionScript 3.0 :: Sending Data From JavaScript To Flash

Jan 14, 2010

I've got a piece of JavaScript code in an HTML file which detects the height and width of the browser. What I'd like to do is pass the height and width values to Flash. I've followed the Adobe documentation for this using the ExternalInterface class but can't get it to work. For some reason the sendDataToFlash(); function in my JS isn't being called. Here's my code (NB. I'm only trying to pass the height value at the moment as a test):

HTML file with JS:
<script src="Scripts/swfobject_modified.js" type="text/javascript">
</script><script type="text/javascript">
var myWidth = 0, myHeight = 0;
function getDimensions() {
if( typeof( window.innerWidth
[Code] .....

View 3 Replies

ActionScript 3.0 :: Store Data For Flash Application?

Mar 14, 2010

Know how to we store data for flash application? As im not using any server-side script, it is not possible to connect to database right? 2 things i managed to found by google it are SharedObject and XML. But later i found that it is not possible to modify data in XML using flash without any server-side script. For sharedobject, it seems not possible if i want to store the information of a list of users, as the instance of shared object can only hold the latest data.

View 4 Replies







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