Media Server :: SharedObject.NoAccess Error When Trying To SharedObject.getRemote?
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
Similar Posts:
Mar 10, 2011
what is SharedObject.getRemote() and its usage?if it work just like a SharedObject.getLocal() , saved data will be in the path called 'C:Documents and SettingsusernameApplication DataMacromediaFlash Player#SharedObjects'if i using 'SharedObject.getRemote() ' means, where the data will stored? can any one explain or tell me the stored path.
View 1 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
Aug 7, 2009
I am searching for the syntax to call an OnSync event on the server-side. I tried this one but there is neither a compiling error nor anything that is traced.
application.onAppStart = function(){
trace("onAppstart");
userList_so = SharedObject.get("userList", false);
[Code].....
View 2 Replies
Aug 21, 2009
Is it possible to set just one property of a remote SharedObject to clear itself? I understand that calling "clear" on an RSO will cause ALL properties to fire the "clear" event and clear out; however, what I want to do is clear out the data in a specific property so that the "clear" event/message is fired (and not the "change" one since I already have some actions in that).
I suppose I could just set the property to an empty string and put guard code inside my handling of the "change" event/message, but, I'd rather not do that.
View 7 Replies
Apr 8, 2011
I'm somewhat new to FMS. We're creating a chat application and using s remote SharedObject to keep everyone in sync about who is in the room. But despite the fact that I use the following:
_sharedObject.setProperty("groupList", groupList);_sharedObject.setDirty("groupList"); to force the shared object to update the list of who's in the room, for some reason it does not always update correctly when someone enters the room and adds themselves to the shared object. The problem seems to be that the SyncEvent.SYNC event does not always get sent all the time.
More troubling it that if the user closes the browser window or navigates to another page, NetStatusEvent NetGroup.Neighbor.Disconnect and NetGroup.MulticastStream.UnpublishNotify are not reliable to use to remove user's from the list. My assumption is that remote shared objects are just not that reliable in some cases. Should I use server side scripts to keep track of users and what groups they are in?
View 9 Replies
Aug 18, 2011
Need to know how to calculate bandwidth for fms shared object used in a text chat application..
View 1 Replies
Nov 23, 2011
How to flush SharedObject in a separate thread? FMS is blocking the program during write, and to save more than 2,000SharedObject takes about 15 seconds.
View 2 Replies
Feb 15, 2012
I can't seem to get setProperty to affect any change detectable by getProperty, or any other means.
* Can you please help me find and fix the problems in my code? Also, it would be great if you could provide a snippet of code to both read/write to the SO from the Flash swf client, and changes required in the FMS server-side code to receive events onSync from another FMS server (also sending to another FMS server.. I know it should be very similar in theory).
[Code]...
View 2 Replies
Mar 2, 2010
I'm attempting to view Shared Object data in my FMS Administration Console, but I consistently get the error:Object encoding error; terminating connection.I'm using Flex 3 with FMS 3.5, I'm positive that everything is using AMF3. The Shared Objects do seem to work. I can connect to the shared object through another instance of the app and pull saved data but they are not inspectable in the administration console. Also,very often when a new instance connects to the server I get a RangeError and all of my Flash Player instances crash.
View 9 Replies
Feb 8, 2011
I'm trying to create a FMS application that is broadcasting some data across connected clients using SharedObject. I want only the Application to be granted to set SharedObject properties.
[Code]...
View 4 Replies
Feb 20, 2009
I've been designing a SharedObject-based Cookie system for a while, everything works fine in my Flash authoring tool and my localhost (I used a dummy domain) But after I committed the swf file to server, the SharedObject stopped to working. Here is the code: The only difference is that, on the server, the SWF stored on another domain. I'm not sure whether this caused the issue.
[Code]....
View 1 Replies
Apr 8, 2009
On this website [URL] you will find a big flash applet at the top of the page. It has a sharedobject built in. Every time the applet goes to a new slide/scene (which it automatically does after x seconds), it updates the SharedObject so that once you refresh the page you end up at the same slide/scene again. Now the thing is that it does this only correctly in Internet Explorer.
Code:
var so=SharedObject.getLocal("pagehit");
if(so.data.pagehit != undefined){
/* Er bestaat al een cookie */
if(so.data.pagehit == "Scene 1"){
gotoAndPlay("Scene 1", 1);
};
[Code] .....
This is the code of Scene 1. Where you get forwarded to another scene if the cookie exist.
Code:
so.clear();
var so=SharedObject.getLocal("pagehit");
so.data.pagehit="Scene 2";
so.flush();
This is the code of the other scenes, ofcourse with a different scene number for each. It doesn't depend on the browser but on flash alone.
View 3 Replies
Oct 7, 2011
I'm making a game. The game will have a save file. There are no compiler errors but when I run it, it throws the title error. I've isoalted the error to be from this line:
ActionScript Code:
var savegame:SharedObject = SharedObject.getLocal("New Atlantis: Project Phoenix");
When I export the SWF from Flash CS5, all I get is dots and this error message. Why can't I create a SharedObject on my own computer? I've tried on two different machines and ran it on Flash Pro, Flash Player and IE9. Nothing works.
View 3 Replies
Apr 22, 2010
I cant flush the shared object in my project. What can I do for that problem?
View 4 Replies
Mar 5, 2012
The player buys engines these are added to an array called _model.purchasedEngines. During save i'm trying:
[Code]...
View 14 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
Feb 22, 2009
I didn't think using sharedObject was complicated, but no matter what, my variables aren't saving. I also checked the size attribute and it returns 0 (zero) even though I have my Flash Player settings set to 1 mb.
Code:
var localSaved:SharedObject = SharedObject.getLocal("widget");
if(localSaved.data.firstRun == undefined){
firstRun = true;
[Code]...
PS: I'm testing this in Flash CS3, and in FireFox 3 with same results.
View 3 Replies
May 12, 2009
Im trying to setup a scoreboard type deal.I'm using SharedObjects.(CS3)I can make it WRITE to the .sol without any problems but I cant seem to make it READ from the .sol to re-display the data once the user opens the swf again.[code]
View 4 Replies
Jul 3, 2009
I am actually trying to add user's input name into a sharedobject.
for example: This is code from frame44 and the movie loops back to frame 1 after students input other minor data.
var newstudent:String = NewFishInput.text;
var so:SharedObject = SharedObject.getLocal("studentlist");
so.data.name = newstudent;
so.flush();
The code that i have is there. However, i can't figure out how do i add additional instance of newstudent after the movie loops back to frame 1 and play til frame 44, prompting another student to add in his name....
View 4 Replies