Professional :: Deleteing All Local SharedObjects

Sep 15, 2010

is there any way to delete all shared object data for a domain?  We used generated names for our swfs and over time it has created enough to reach the 100kb limit for our domain, creating the user prompt.  AFAIK, I cannot access the path above catOrgan_3342.swf to clear the other dirs catOrgan_3341.swf catOrgan_3340.swf etc, nor is there a global clear, or a way of enumerating the subdirectories.
  
Application DataMacromediaFlash Player#SharedObjectsQBX3423www.fluffycats.comcatOrgan_3342.swf<m y files>

View 2 Replies


Similar Posts:


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

Unable To Sync SharedObjects

Nov 18, 2009

Ive tried converting the SharedObject tutorial [url...] provided by Adobe from AS2 to AS3. When one client moves the ball, the other client should be able to see the ball moving on another swf, and vice versa.The AS2 one worked fine with my flash media server 3.5 and wampp server on.  When I tried the AS3 one, the sharedObject cannot sync, even though the connection was successful and the sharedObject "position" was created in the server.[code]...

View 9 Replies

Actionscript :: Iterate Through Each Of SharedObjects?

Aug 14, 2009

Is it possible to execute a "foreach" through each of my SharedObjects?

Something like this . . .
_so = SharedObject.getLocal("test","/");
foreach (var item:Object in _so)
{
// print key name and value
}

View 1 Replies

ActionScript 2.0 :: Log In Form With SharedObjects

Jun 22, 2009

how to make a simple log in and registration form for my game let say the user downloads the game then he craeates an acc on his local PC and then uses it to play the game that is all i want so can anone make me a sample.fla to see how this type of log in form works?

View 1 Replies

ActionScript 2.0 :: How To Use Variables With SharedObjects

May 25, 2005

[URL]. Click options, and in the resulting panel you will notice that there is a bunch of different options you can turn on/off/change. How can I use these variables with sharedObjects so that anything the user saves will get saved for the next time they come to visit my site?

View 3 Replies

ActionScript 3.0 :: Reading The Remote SharedObjects?

Aug 1, 2008

I'm having trouble reading a sharedObject. I know it's written to the server because I can open it with wordpad and read it and the proper values are there. However, mySO.data.visitDate is always null or the size is 0.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initApp()">
<mx:Script><![CDATA[
[Bindable]
public var welcomeMessage:String;

[code]...

View 3 Replies

ActionScript 3 :: SharedObjects Don't Persist Across Different Swfs?

Oct 20, 2010

I am serving two different swfs that read and write to the same SharedObject variable. The SharedObject variable is a number, and each swf checks that number to make sure it isn't using the same number twice. It then stores the last number it selects. In this way both swfs should never use the same number twice, no matter which order they're loaded.

If I repeatedly load one of the swfs, the never-twice rotation works. However, when switching back and forth between swfs, sometimes the number is repeated. SharedObjects are supposed to be global to the Flash Player, so why would this happen?

View 2 Replies

ActionScript 2.0 :: Flash Cookies And SharedObjects?

May 6, 2003

So I did the tutorial about SharedObjects, and I created a login movie which works fine.

My questions are as follows: Can i use a shared object I created in one movie (call it "mycookie") in a separate movie on another page, similar to an HTML cookie? If so, what is the syntax?

I tried reusing the mycookie = SharedObject.getLocal("user_profile")and it didn't seem to work. =(

Also, I know that alternatively I can pass flash variables to the URL with the POST method, but I forget the syntax. Time is of the essence here (project due tomorrow) so I'd really like some help if somebody knows the answer..

View 2 Replies

ActionScript 2.0 :: Everything Dealing With SharedObjects In The First Frame ?

Jul 1, 2009

Everything dealing with sharedObjects in the first frame is this:

[AS]
var PlannerData:SharedObject = SharedObject.getLocal("PlannerData");
SubjectChoices = PlannerData.data.subjectChoices;
if (SubjectChoices == undefined) {[code]....

Going to the second frame from the first frame, the data is perfect. Going back to the first frame from the second, I'll trace the data many times throughout the code without an onEnterFrame, and it'll tell me that the Array is good...But when I trace the onEnterFrame, it shows the Array is [undefined, undefined, ...] like..undefined 17 times.

View 1 Replies

ActionScript 3.0 :: Store The Items In SharedObjects?

Oct 9, 2009

I am trying to make a little picture store for my website.I want to store the items in sharedObjects, so the next time people come to my site the selected pictures are there for them.I learned a little bit of sharedObjects and make it work for me with Strings but I can't make it work with and Array.

View 3 Replies

ActionScript 3.0 :: Can SharedObjects Store Custom Classes?

Jun 13, 2009

I have a an array of a custom class that I'm trying to store in a SharedObject.Storing is working fine, but when I recall the SO next compile it only returns an array of generic Objects instead of my custom class. This only happens with custom classes.Code excerpt below, this may be way too cut out, but it seems it's what I've narrowed the problem down too.[code]

View 2 Replies

ActionScript 3.0 :: Sharing SharedObjects Between Multiple .swfs?

Jun 2, 2011

I have a project that I think may be more manageable if I break it up into multiple small .swf files rather than having a gargantuan mega .swf.Now, I know that I could use a root .swf and load data from the others, but I think that it'll be a lot easier to debug and update if I'm using separate self-contained .swfs, so this is the direction I'm currently investigating.

However, the .swfs won't really work unless I can have user-data persist between them, so I'm wondering if I can load a SharedObject saved by another .swf file? Are there any important caveats that I need to be aware of?In particular, can anyone give me sample code that would allow me to do this with both an online and offline copy of the files; i.e - if I run the same set of .swfs from haravikk.com, and locally, I want them to still be able to share data with one-another. In this case though I won't need to worry about sharing data between a local copy and [url]..., just so long as the files themselves can pass data within whatever domain they're loaded it should be fine.

View 4 Replies

ActionScript 2.0 :: Use SharedObjects In Detecting FLV Movie In Flash?

Jan 27, 2011

There are 3 flv movie in my flash page. Is there a way to indicate in my flash page if the flv movie is already viewed on user's browser? I need to put a mark on the movie if one of them is already viewed? Am I to use Shared Object?

View 1 Replies

ActionScript 3.0 :: Using SharedObjects To Save Resume Data?

Sep 11, 2011

So, I'm creating a quiz, and I'm using shared objects to save their resume data. So far so good. MOST of the various things I put into myso.data work fine. But oddly, two bits of information, specifically a String and an Array of Strings come out as [object][Object] when they are reloaded later. Now, at first I thought that maybe they just weren't getting written correctly, so I thought to trace them out before and after I put them in the SO.

When I do trace(myso.data.sectionName) or even trace(myso.data.sectionNamesArray) the first time (i.e. immediately after they get written, but before closing the window) everything works as expected. But if I trace those same things out upon the reopening of the swf, those things become [object][Object] for the String, and an array of [object][Object]s for the Array. So I thought maybe it was Strings in general, but other pieces of information, also Strings or Arrays of Strings trace out fine before and after. It's just these two pieces.

View 2 Replies

ActionScript 3 :: Not Receiving OnSync Delete Events For SharedObjects In SWF

Feb 27, 2011

I have an application that uses Remote SharedObjects and I am seeing some strange behaviour. I am writing an ActionScript application in AS3 using Flash Builder and connecting to Wowza Media Server 2. My application is working just fine but I am now trying to write unit tests for it using FlexUnit. My unit tests involve creating multiple connections to the same remote SharedObject and making sure that I am getting updates correctly. Everything seems to be working well except that I am not getting any of the SyncEvent.SYNC events with an info.code of "delete".

When I run my applications independently in separate tabs or even separate swfs embedded in the same page it works fine. For some reason though it does not work when inside a unit test. I have also found that if I load the swfs using a Loader inside the same SWF then I get the same behaviour. It seems to me to be something strange about the way multiples of the same SharedObject behave within the same SWF. I have had to work around other strange behaviour in the unit tests such as oldValues not being set properly in the onSync events too.

View 1 Replies

ActionScript 2.0 :: Creating Class That Switch SharedObjects In Game?

Nov 27, 2010

I have been working on a game (Pokemon haha) since around the beginning of June. I just started experimenting with Classes today and I've run into some big problems (as expected). I have many SharedObjects in my game and I started the game when I barely understood any code. But I've worked on it a lot and learned so much. Right now, I'm trying to create Classes so that I can save time and be more efficient with my code. But... With my first major attempt, I failed.

This is what I want to do:
Create a Class that will switch a bunch of SharedObjects in my game. I don't need the switching part (because that worked before when the code wasn't in a class), just the creating the class part that involves SharedObjects.

This is basically what I have:
ActionScript Code:
import flash.net.SharedObject;
class GrassLife {
so = SharedObject.getLocal("so_file");
function Life() {
so.data.variable7 = so.data.variable2;
so.data.variable2 = so.data.variable1;
so.data.variable1 = so.data.variable7;
//The variables switch at this part
}}

View 1 Replies

ActionScript 2.0 :: Are SharedObjects Flushed Or Deleted When The Browser Is Closed

Oct 26, 2008

I've been working on something of late that will display text the first time the user views it, and the second time, say something different. I've accomplished this using haredObjects. However, it seems that the information (the shared object) isn't removed when the user leaves of closes the browser. I there a workaround for this?

View 2 Replies

Actionscript 3 :: Flex Using Sharedobjects To Store Information On Server - Crash

Aug 26, 2011

I am working on a flex project using sharedobjects to store information on my server. I am not 100% sure how to do this, so I was looking up tutorials and came across this bit of code:

[Code]...

But when it gets to the 3rd line, it crashes. I don't know how to use the debugger for flex sadly enough

View 1 Replies

Professional :: Flash Files Don't Work On Local Pc?

Oct 14, 2009

i have the problem of local files of flash not working in any browser. to explain further i have html pages with headers in flash in my hard disk with links of the connecting pages. when i open such pages in any browser the links dont work. the page just stays as it is. when i click on the links only the state of the rollover changes when clicked on a link. the links when clicked dont go to the linked page. but when i upload these files to the server, they open and work perfectly in any browser.

View 8 Replies

Professional :: Saving Local Data In Flash?

Jan 20, 2010

I'm using Flash CS4 & Actionscript 3.0 to create a grid with different objects that a user can move with the mouse. This is a standalone application meant to be used on a Windows machine. Is there a way to download and save the user's responses (viz. location of mouse, type of object clicked, etc.) onto the local computer without using the Flash Debugger?

I came across an article [URL] which states that it is possible to save local data onto a user's computer without a backend script (e.g. php) in Flash Player 10 but the article doesn't really say how this is done.

View 3 Replies

Professional :: Record Video To Local Directory

May 26, 2010

Is there still really no way to use the Flash Player, whether embedded in a web page or as a projector, to record video files to a local directory on a user's computer?I understand that this is potentially a security nightmare, but I thought Adobe had worked around those issues.

View 2 Replies

Professional :: Local Sandbox Versus ExternalInterface

Aug 19, 2010

So I wrote a CS4 Illustrator plugin that loads a SWF as its user interface.  Works great on the mac, but I am having a problem on Windows:The .swf needs to be compiled with the "-use-network=false" option set in order to access some files on the local machine.  HOWEVER when that option is set, all of my "Externalinterface" calls break down.  When "-use-network=false" is not set, then I can't access the local files, BUT my "externalinterface" calls (which communicate with the plug-in) work just fine.
The SUPER frustrating part is that

A) it works fine on the mac, and

B) on window, I don't even need to set the "-use-network=false" option for the swf to access the files IF the .swf is loaded in explorer.I'm not sure if using AIR is possible, but I'm trying that next since AIR can access both local and network files without all the sand box hokey-pokey.Also CS5 is not an option for me for this project.

View 3 Replies

Professional :: Links Are Only Working On Local Computer

Nov 21, 2010

I created a flash movie and published it to get the html file and the swf.  The html file works fine on my local computer that I created it on but I went to email the html file with the swf file, the links within the movie are not working?

View 7 Replies

Professional :: Using External Interface On Local Content?

Jul 17, 2007

We're using External Interface for interfacing between Flash and JavaScript on the HTML page. All works fine online. When we
try to localize the pages though (so that a Salesperson can have a CD full of demos), none of them seem to work.Is this an over-sensitive Flash security issue? We already have allowscriptaccess='always' and swliveconnect=true in the object/embed tags.

What can we do that doesn't require changes on each individual machine to set trust paths or any other kind of browser configuration? Not only do we want to have this content working on the machine of a salesperson, we may get clients that want to deploy content offline (kiosks, machines without any network access).

View 3 Replies

Professional :: Request A Local File In ActionScript 3.0?

Mar 30, 2011

How do I request a local file in ActionScript 3.0? I am using [URL] tutorial to create a light box and I would like to know how I can replace the URL in the tutorial with a local file.

View 4 Replies

Professional :: Standalone App (AIR) For Playing Local FLV Files?

Apr 29, 2011

Can someone point me to a desktop app (Windows and Mac) that can play local FLV files?

View 4 Replies

Professional :: GetURL To Link To A Local Htm File?

Sep 23, 2011

Trying to set up a getURL to link to a local htm file, NOT a page on the internet. All the tutorials I have read tell me how to link to a file on the internet I'm trying to set up an intranet site for my training college where students can access training resources etc on the local network. Therefore my getURL needs to point to a local file, not one on the internet. I'm trying to link to a .htm file that resides on my computer. Does the htm file have to be in the same folder as the .fla file?? How do I do this?? I'm working on a Mac, Os X, MX 2004, if that makes any difference.

View 1 Replies

Professional :: Can't See Flash Video On Server, Just On Local Computer

Oct 28, 2010

I am having trouble seeing my flash video on the server.  I just see it in my local computer. I save everything and then preview it, copy the code and insert on the bottom site, and no video. Just the skin appears when you roll over the code. [URL]
 
I have everything in the same folder, I have added the mime types on the server, and it still don't work.

View 1 Replies

Professional :: Can't See Flash Google Map On Server - Just On Local Computer

May 1, 2011

I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, upload the file to server, but it just don't show at my website.

View 5 Replies







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