Actionscript 3 :: Delete SharedObject Preferences?
Jul 22, 2011
I've developed an ActionScript 3.0 for Adobe Air application (it will run on Blackberry Playbook).
This app has some bugs and I've made an update.
When user install the new version I want to delete previous user data.
How can I do that?
View 1 Replies
Similar Posts:
Jul 14, 2009
I'm having a very weird problem, I cannot flash CS3 on my mac, I tried uninstalling, manual uninstall,deleting all prefernces, installing under new user, everything that was mentioned in this document
[code]...
I have no idea why this is happening, I have a valid licence and I did everything as its supposed to be done, when I try to open Flash it gives me the error illustrated in the attched image.
View 1 Replies
Feb 18, 2012
I've installed developer version of Flash Media Server 4.5 and trying to get remote object, but no matter how I call my object all i get is this error .I've rad configuration guide and it told me that I should set StorageDir for shared objects, enable RPC (<RPC enabled="true">) and allow shared object (<Allow>users</Allow> in <RPC> - <SharedObject> tags)
View 1 Replies
Aug 10, 2009
Why i can not get "Apply" to activate? I have done something (likely to .actionScriptProperties) that has messed up my entire projects profile in flex...i can't even reset the default application class.
View 1 Replies
Mar 25, 2011
Does it happen to anyone else when you edit anything in the preferences window that Flash CS5 crashes? I've reinstalled the program as well.. any tips I can try?
View 2 Replies
Aug 19, 2010
I have to run Flash Builder as administrator to install an xml formatter that I want to use.I found that it has removed all my preferences like hot keys that I setup and my perspectives etc.If I switch back to just running not as administrator I get them back but now I don't have the xml formatter anymore.
View 1 Replies
Jul 17, 2010
- I create a new fla file in Flash CS5 Professional,- I go to publish settings and select AIR2 as the target- I click the Settings button on the rightThese settings are supposed to be saved with the fla file, since all of them are related to the project.Application name, icons, files to include, etc, are all preferences related to the fla file of which you are editing the settings.However, when you go to the "Signature" tab and select a digital certificate to sign the air application with, this setting will NOT be saved into the file.Instead, whenever you publish ANY air application, it will use by default the lastcertificate you have used, even if you used it to publish _another_ application.That is absurd, because this is a tab within the "publish settings" and all publish settings are specific to a fla file.
View 2 Replies
Sep 25, 2010
Now, I have a file, prefs.elf, that contains my preferences in the following formatlocation:USAaccountID:48996151894Now, what I'm hoping to be able to do is create an object with the labels as the object.So, I have an object, preferences, which I'd like to be able to get at these values through - like this: preferences.email or preferences.location. can read the file and toss these in an array really easily, but I'd like to do it a little more eleganty with objects.My main question is, how do I create the sub-objects to hold the value? In other words, how would I create preferences.location, or preferences.accountID without explicity specifying them in my code
View 2 Replies
May 9, 2011
Gives me this error:
Error: Error #2134: Cannot create SharedObject.
at flash.net::SharedObject$/getLocal()
at as3_shared_objects/showVar()
[code]....
View 2 Replies
Nov 12, 2010
I got these four errors when I tried to create a button on the stage that would delete the text I inputted in the inputtext(ti). Based on the scripts I have and the errors, what should I write to create the delete button?
[Code]....
View 2 Replies
Mar 26, 2010
I am implementing a flex auto-suggest combobox - as the user types in each character: Consider the string 'Stackoverflow' and user input = 'st'
1) the data provider is filtered to show all items starting with 'st'
2) text is set to auto-suggest string such that the un-typed part is highlighted.
So for instance, the combobox text may contain st'ackoverflow', where 'ackoverflow' is highlighted using setSelectedIndex()When I hit back-space or delete, and check the 'this.text' value, I expect that the last un-highlighted character ('t' in the above case) gets deleted and the data provider is filtered to show all items starting with 's'. However the text property contains 'st', as before
View 2 Replies
May 7, 2010
This isn't strictly a Flash-specific problem but I didn't really know the proper place to post so I went here.At any rate, we are trying to figure out how to remap Adobe's default preference folder to a non-local location.Does anyone know if there is some way to remap the Adobe preferences from the default location of "C:Documents and Settings\ %currentuser% Application DataAdobe" to something else, say "H:Adobe"?
View 3 Replies
Jun 13, 2011
What's the standard way of storing user preferences in a Flex application for AIR? I need to store simple parameters like lists of recently opened files, window positions and sizes etc.
View 3 Replies
Mar 15, 2012
I need to create and read a user preferences XML file with Adobe Air. It will contain around 30 nodes.
<id>18981</id>
<firstrun>false</firstrun>
<background>green</background>
<username>stacker</username>
...
What's a good method to do this?
View 1 Replies
Oct 4, 2011
I run a school lab with a few users on each machine. One students came up with a problem. She is always in outline view, even when the outline button in the layers panels is not punched. When I log in to the same machine, I do not have the problem. I assume the problem is in the user preferences file. We are on Windows 7. I went into AppData and deleted what I thought was the preferences file, but it continues to return.
View 1 Replies
Jan 17, 2011
I am using Flash builder 4 to both build and manage (via cvs) projects. In recent days my designer has been having trouble committing to CVS, leaving a project blocked. I have troubleshooted troubleshot tested CVS and it is working fine (others can commit and retrieve without a hitch).
in an effort to start from scratch - I have removed the flash builder application (dragging it to the trash, its a Mac) as well as using the uninstaller (which does not work as well as I would have thought), but on reinstall - all preferences are still there - CVS connection and all.
is there a file or set of files I can delete to reset all of the prefs for Flash Builder (built on eclipse if that helps)?
View 1 Replies
Jul 30, 2009
i have ade moultiple textbox at run time now i want to delete a textbox by delete key how it is possible .
View 4 Replies
Feb 9, 2011
I'm trying to use the delete keyword to remove nodes from an xml file and it just plain won't work.Here's a stripped down example of what I'm working with. Every node has a child named "deleteme". If its value is equal to 1 I want to remove it from the xml file. If its anything else I want to leave it be. The delete method is deffinately gettig call but it's having no effect.
<?xml version="1.0" encoding="utf-8"?>
<stuff>
<i>
[code]......
View 1 Replies
Sep 17, 2009
i have A,B,C,D moveiclip
now i want to delete a mc with delete key .if i select A then press delete key it will delete .
View 4 Replies
Feb 16, 2009
i need to stop a flv from playing again until the next day ( needs to be AS3).
View 2 Replies
May 12, 2011
Im trying to get Flash to rember if the logo_mc has been hitTested with the holder, and if it has when the movie is played again it appears in the box and not the original spot
var mySO:SharedObject = SharedObject.getLocal("ObjectPlace");
var logo_mc:Sticker = new Sticker ;
addChild(logo_mc);
[code]....
View 1 Replies
Nov 27, 2009
I have searched all of the engines to find out why my SharedObject code is not working. It works when I publish from flash but not when live? I have this code in the first frame and the movie starts on the second. I only want the user to have to view the swf every other time they land on the page containing the movie. I am using AS2.
var replay = SharedObject.getLocal("save");
if (replay.data.name == undefined){
gotoAndPlay(2);
[code]....
View 1 Replies
Feb 4, 2011
I have a slideshow that everytime you press a button show a new slide. Every slide is an external swf's that is being loaded in to the main swf. Inside every external swf there is a button that redirects you to another web page.What i would like to do is use SharedObject (or something like it) to remember wich external swf that was last shown when the user pressed the button redirecting them to an other page.How do i set the SharedObject in the external swf and then read it from the main swf?
View 1 Replies
Jan 25, 2011
According to the AS3 API the 'name' parameter in the 'getlocal' method is actually the name of the object. I have a bit of diffculty understanding this. Have alook at the following code:
[Code]...
If I were to access the attributes or methods of the shared object, can I use the 'name' instead of the variable, since the name is the 'name of the shared object'?
If the following code were used:
[Code]...
Why am I getting this error, if 'UserName' is the name of the shared object, than why can't I use it to refer to it's methods and other attributes? What is the meaning of it being a 'name' than?
View 1 Replies
Jun 22, 2009
I am working on a project that uses SharedObject and I have a question. I've made a button that downloads a flash screensaver and at the same time also creates a SharedObject which stores a specific id for each screensaver being downloaded. When later the screensaver is installed and run, it should get the SharedObject and read the id from it. When tested locally it works perfect since both the buttons´ and the screensavers´Sharedobject are stored in the same localPath. But when the button is online and the screensaver is local the SharedObject paths don't match.
Is there a way to solve this and make the local screensaver swf read the SharedObject from the same path as the online download button has stored it's SharedObject in?
This is the relevant code in both my swfs:
var _mySo:SharedObject = SharedObject.getLocal("name", "/");
If this won't work, does anybody have another solution to my remote to local screensaver thingy??
View 1 Replies
Jan 12, 2005
I have a normal XML menu, when I click in an item open the sub-item, my problem is the following one, when I click in an item DVD he goes to open an sub-item, and later I click en adventure, when I click in adventure I go for the next page, my problem is this, in this new page that I will be, my menu come back to normal the sub-item adventure is not selected in the screen, and I need that be selected, I already I tried to read the SharedObject in the F1, already I tried to find some tutorial to try to understand, but nothing,
View 2 Replies
May 27, 2005
with the code below, I can change the colour of the movie clip.I need the colour of that movie clip to stay the same also afternext time visiting the page. I think it's made by the action SharedObject.
function changeColor(code, obj) {
var ColorSet = new Color(obj);
ColorSet.setRGB(parseInt(code, 16));
[code]....
View 10 Replies
Jan 21, 2007
got my code working, and all information i enter in to my sharedObjects is working correctly as it should but isn't saving so when I close and then re-open the flash file the data isn't there? Admittedly I'm new to sharedObjects I'm using the [.data.] when entering info and then [.flush()] at the end of the function - is there anything I've missed?
View 5 Replies
Dec 21, 2007
this is just a simple question. Is it possible to set a sharedObject in a swf (say from www.A.com) , and then read that sharedObject from www.B.com , or even through the desktop (if the swf is playing directly on the desktop) ?
View 3 Replies
Jan 12, 2005
I have a normal XML menu, when I click in an item open the sub-item, my problem is the following one, when I click in an item DVD he goes to open an sub-item, and later I click en adventure, when I click in adventure I go for the next page, my problem is this, in this new page that I will be, my menu come back to normal the sub-item adventure is not selected in the screen, and I need that be selected, I already I tried to read the SharedObject in the F1, already I tried to find some tutorial to try to understand, but nothing, I need some help, this menu is for work.I am put the files.
View 2 Replies