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


Similar Posts:


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

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

ActionScript 2.0 :: Local Shared Objects / Flash Cookies

Jun 4, 2010

case: user clicks button and flash goes frame 2 what I want is that flash knows, that user has pressed the button once earlier. So flash goes straight to frame 2 if th user refresh the page. I ques I have to do this with local shared objects? How do I do it? Or should I use php/javascript?

View 8 Replies

ActionScript 3.0 :: Loading A Different Image Each Time Using Local Shared Objects?

Mar 17, 2011

This is the accompanying thread for the tutorial "Loading a different image each time using Local Shared Objects".Here you can post comments, questions and suggestions related to the tutorial.If it's not completely related to the tutorial, please start a new thread.You may subscribe to this thread (in the "Thread Tools" dropdown menu) in order to receive a notification when the tutorial goes live.

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

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

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

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

ActionScript 1/2 :: Local Connection Limit?

Oct 12, 2010

i have a very complex object, i wanted to pass on the object from AS2 to AS3 through Local connection. Looks like it doesnt accept more than 40k. Right now i am splitting the object and merging from AS3. i knew this is not so efficient enough. Is there any way i can share the object without splitting or any efficient way to achieve this.

View 3 Replies

IDE :: Local Shared Object (LSO) On A CD-ROM?

Jan 28, 2010

Does anyone know if it's possible to save and access a LSO from an EXE projector on a CD?

Obviously the LSO couldn't be saved on the CD itself - would it be able to save the LSO somewhere on the users hard drive?

View 4 Replies

ActionScript 3.0 :: Refreshing A Local Shared Object

Oct 13, 2010

I am building an application that uses a Shared Object that is shared (ironically) between 3 separate applications. 1 application listens for updates, and the others update the app. The problem I am having is that I need the main application to be able to detect changes to the Shared Object. Unfortunately there seems to be no events to listen for that are not for 'remote objects'. Because of this I created a timer that gets a new local instance of the shared object every X seconds.I just call the following before I read or write to the sharedObject:[code]This is causing a CPU Hiccup every 3 seconds and bogging down the system. so all this being said, does anyone know of a clean way to refresh a copy of the sharedobject without creating a brand new instance of it

View 2 Replies

Read Local Shared Object With A Servlet?

Sep 16, 2009

read a local shared object with a servlet even if there is no flash present on a page? I want to set a local shared object like a cookie, and then access it again from a page that doesn't have a flash movie.If I can't do this, is it standard to have the initial flash movie call an external javascript to set a traditional cookie that can later be read?

View 1 Replies

Flash :: Local Shared Object Path?

May 10, 2011

I have a Flash.exe projector that stores data in a Shared Object. Anything works fine if I launch it from my desktop. The Flash.exe will be recorded and used from a CD-rom. Will the path of the Shared Object change? Say, will it try to record itself on the cd?!

View 1 Replies

ActionScript 2.0 :: Local Shared Object (LSO) In IFRAME

Dec 2, 2009

What are some possible reasons that an LSO will not update/store information when nested within an IFRAME nested in another IFRAME?The mark-up structure was not determined/dictated by me.

View 0 Replies

ActionScript 2.0 :: Local Shared Object OnRelease?

Oct 3, 2010

I have begun to use Local Shared Objects in my projects but i appear to have got a bit stuck. To be more specific, i have two input fields, first and last names, the user enters his/her first and last names into these fields, the user clicks the "Save details" button and the Local Shared Objects are then set to remember the two names. The text above the first and last name fields change from "Welcome guest" to "Welcome, First Last!". So at this point the whole system works.

The point at which the code fails to work is when the user navigates away from the page where he/she entered the first and last names. The user then returns back to that page and the Local Shared Object has been set to the two input fields which are now blank because of the scene change. The Local Shared Object is set to nothing but is still accepted as a variable and thus makes the text above the two text fields display "Welcome, !".

I understand that what i just wrote may appear a bit compicated, but what i am essentially needing to find out is how to set the Local Shared Objects to the two input values only once when the "Save Details" button is clicked, instead of constantly checking the values of the inputs and changing the Local Shared Objects.

In code:

Code:
save.onRelease //only do this once// = function() {
first_name_txt.text = name_details.data.first_name
last_name_txt.text = name_details.data.last_name
}

View 2 Replies

ActionScript 2.0 :: Shared Object Local/server?

Oct 4, 2007

Alright, so I have a projector application running, and an SWF on a server. The projector loads the SWF on the server.The projector will save all of the sharedobjects it creates in the local-host folder, whereas the swf on the server will store it in it's own folder "or example. I want to be able to have them both store shared objects in the same folder, so that they can interact with each other through shared objects. Even if I load the SWF from the projector, it still creates it's own folder.

I need to have this because it stores level data for a game I'm making, where all the levels are on the server, and you can download each one individually, and make your own levels, and upload them, so others can play. The data would be loaded from a swf on the server, and then create the S/O on the users computer. Then, the actual game would load this SO and then create the map, based on the data.

View 1 Replies

ActionScript 3.0 :: Local Shared Object Corrupt?

May 3, 2011

Do you see anything wrong with this?

PHP Code:
package import flash.net.SharedObject; import flash.display.MovieClip; public class Example extends MovieClip var currentStage:int;var SOData:SharedObject; public function Example

[code].....

View 3 Replies

Flash :: Editing .sol-files (LSO / Local Shared Object)

Jan 18, 2011

I am looking for a way to edit .sol-files (LSO/Local Shared Object). I have tried searching quite a bit, but I have not been able to find any program that can edit AS3-files properly. Is there a solution for me out there?

View 4 Replies

Flash :: Dictionary In Sync With A Local Shared Object?

Mar 22, 2011

In one of the classes in my Flex application I have a dictionary, which is periodically updated from other parts of the application. It contains some sort of user preferences and I want to keep it in sync with a local shared object - the dictionary needs to be read during the class initialization and saved to the local storage when an element is changed, added or deleted.

The "Dictionary" object inherits only "Object" and does not have a change event - like the "collectionChange" in ArrayCollection. So I can't sync the dictionary just by listening for an event and manipulating the shared object in the event handler. The other possible solution would be to make the dictionary private and manipulate it using special methods in my class. Something like:

public function setValue(key:String, value:String):void
public function getValue(key:String):String
public function delValue(key:String):void

But using bindings will become a real nightmare and I will have to make changes in many other parts of the application.

View 2 Replies

ActionScript 2.0 :: Game Scoreboard Using Local Shared Object?

Oct 10, 2003

I would like to know how to save more than 1 score into the text file and not overwriting the previous score so that it can be displayed in the high score list...I'm not sure how to write the array and where to write itwrite a sample code of for example getting 3 scores, saving it and displaying it in the high score board ?

View 2 Replies

IDE :: Accessing Local Shared Object From Diff SWFs

Jan 19, 2009

I am facing a problem in accessing Local shared object from 2 diff. swfs. Let me explain the scenario clearly.I am developing a radio widget (in maindomain.com for ex)which has a button to open a html page (placed in contentserver.com) as a popup with specific wt and ht. The html page loads the same SWF file of radio widget from "maindomain.com", means whatever changes we do for the SWF in maindomain will be reflected automatically in the popup also.Here where the problem is:

1. Say I am playing radio station "A" in main window and added this station to favourite list (which is done by storing in Share object). So when i open the popup its reflect there.

2. Now when i change radio station "A" to "B" in the popup and added "B" to favourites and closed the popup.

3. When I refresh the main window, I can get both "A" and "B" in fav, as expected.

4. But if without refreshing in main window when I changed to some new station "C" and then open the popup, it has got only radio station "A" in the fav list.

I am pretty sure this is because of Sharedobject.flush(). The thing I am wondering is, why the station "B" which is also pushed to sharedobject when added to favourite is getting deleted when I flush() the SO.?I googled many forums but not satisfied solution for this. Even I tried to get the Sharedobject.getLocal("SO","/") every time before using data in it. but no use.Is it a Flash limitation accessing LSO from diff SWF?

View 4 Replies

Flash :: Retrieve The Actual Shared Object Local Path?

May 12, 2011

i have prepared a login screee. using shared object i have saved username and password, now i want to know the sol path. Is there any way to actually retrieve the shared object local path.like C:Documents and Settings[userName]Application DataMacromediaFlash Player#SharedObjectsXXXXXlocalhost ext.sol

View 1 Replies

ActionScript 2.0 :: Local Shared Object Or Cookie To Track Time

Jan 28, 2010

I need to make a local shared object (or javascript cookie function- below) that I can use to calculate the time since an ad was last loaded. It's an expanding ad, and I only want it to expand once every 2 hours. (Trying to keep the expanding-annoyance to a minimum!) I understand the basics of creating an "lso" but the action script for retrieving the time, placing it as a variable in the lso, and later retrieving it to figure the time is well beyond me. I considered a normal browser cookie, set to delete after the session, bypassing all time calculations... Forcing javascript to create a cookie ONLY when flash tells it to (after the ad has expanded) is tripping me up and creating a function to check for the cookie on the first frame to decide whether or not to continue is also beyond my simple animation skills.

View 0 Replies

ActionScript 2.0 :: Can A Shared Local Object (.sol) Store Nested Arrays

Oct 30, 2005

can a shared local object (.sol) store nested arrays? like:

myArray = new Array([a, b, c], [1, 2, 3]);

View 5 Replies







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