ActionScript 2.0 :: CS3 SharedObject Just Wont Read

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


Similar Posts:


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

ActionScript 3.0 :: SharedObject Error: Error #2134: Cannot Create SharedObject?

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

Xml :: Flash - What Does Get Read From An Nonexistent XML Tag Read By Action Script 3

Aug 4, 2011

As the title says, suppose I have an hypothetical XML containing this:

[Code]....

I can check if a certain speech has a bg change by simply doing this:

if(bgs[i])
{
//true!
}

what should I compare in the case of sounds, I've tried many, like:

[Code]....

View 2 Replies

Linux :: Intercept A Request To Read A Particular File And Instead Generate The Apparent Output Of That File Read Programatically

Mar 31, 2010

A friend of mine has a Flash Action script running on a LAMP server that currently reads an xml config file. He's asked me if it's possible to remove the xml file, and replace it somehow with a system (lets call it an 'auto xml generator') that intercepts the request to read that file and generates an output, so it appears to all intents and purposes as if the file still exists and contains the contents that has actually been returned from our auto xml generator'

View 3 Replies

Flash :: Read A Http Response Body When Tyring To Read Http Via Tcp Socket?

Feb 19, 2011

So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?

View 1 Replies

ActionScript 3.0 :: Sharedobject To Remember For The Day?

Feb 16, 2009

i need to stop a flv from playing again until the next day ( needs to be AS3).

View 2 Replies

ActionScript 3.0 :: SharedObject And HitTestObject?

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

AS2 :: SharedObject Code Not Working?

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

Flash - Use SharedObject From An External Swf?

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

ActionScript 3.0 :: SharedObject - 'Name' Parameter

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

Actionscript 3.0 :: SharedObject Over Different Domains

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

ActionScript 2.0 :: XML Menu With SharedObject?

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

ActionScript 2.0 :: SharedObject And Mc Color?

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

ActionScript 2.0 :: SharedObject Not Saving?

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

ActionScript 2.0 :: Using The Same SharedObject From Different Sites

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

ActionScript 2.0 :: XML Menu With SharedObject

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

ActionScript 2.0 :: SharedObject Not Working And Size Is 0?

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

ActionScript 3.0 :: Adding Item To SharedObject?

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

ActionScript 3.0 :: Looping Entry Into SharedObject?

Jul 4, 2009

This is my flow chart for the project:

Frame 1;

1. User enter in a textinput named "studentname"

2. username is stored in a sharedobject (studentlist)

3. Show data of what previous students entered by evoking studentlist

Frame 2:

3. Current user enter other details, then movie loops back to Frame 1..

How do i store the a list of all students who entered their names in studentlist?

View 2 Replies

Actionscript 2.0 :: Referencing Sharedobject From Another Movie?

Aug 18, 2009

I created a movie, which is some form of a a code generator. In that movie i save a a generated code using sharedobject.

(code in code generator movie)
var myaccess:SharedObject = SharedObject.getLocal("Lesson1");
myaccess.data.mycode = pass.text;
myaccess.flush();

Here is my problem, i want to use this created sharedobject on another, separate movie clip, is that possible?Or are sharedobjects just work on their original movie clips?

(code in separate movie)
var myaccess2:SharedObject = SharedObject.getLocal("Lesson1"); // declared a variable for holding the data from
sharedobject to see if it will load the data
txt.text = myaccess2.data.mycode // Load failed, txt.text displays undefined

View 3 Replies

[AS2] :: Using SharedObject For Achievements System In Games

Oct 23, 2010

i tried to learn about SharedObjects from here: [URL] ...=00001504.html but i dont really get it In a code like this:

var so:SharedObject = SharedObject.getLocal("userHighScore");
so.data.highScore = new Number();
so.flush();

which variable is actually flushed, the userHighScore or highScore? and how to use the shared objects on boolean variables?

View 1 Replies

ActionScript 3.0 :: SharedObject Not Saving Data?

Aug 29, 2009

I'm working with AS3 with timeline code. I would like to save date and time a user took a quiz. This information will help check when a user took a quiz. I can see the date and time as I want, but it isn't saved. SharedObject is not saving date and time. Here is my code. How can I do this?

var mySharedObject:SharedObject = SharedObject.getLocal("sampleCode", "/");
var today_date:Date = new Date();var thismonth:uint = today_date.getMonth();var thishour:uint = today_date.getHours();var thisminute:uint =

[Code].....

View 1 Replies

Flash :: Set SharedObject Maximum Size?

Mar 8, 2011

Is there a way to set a (large) maximum size for SharedObject on my domain so that I can ask the user to allocate a size greater than 100k one time and not need to ask again, even if data is added?

View 1 Replies

Flex :: Enumerating Keys In SharedObject?

Mar 21, 2011

in my code i get SharedObject instance:

_so=SharedObject.getRemote("streamSO",_soConnection.uri,true);

is it possible to enumerate everything under _so.data without prior knowledge of property names?

View 1 Replies

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

Flash :: Sharedobject Don't Remember Data?

Sep 27, 2011

I have this code for sharedobject:

var mySharedObject = SharedObject.getLocal("republicofcode");
mySharedObject.data.clientID = my_vars.clientID;
mySharedObject.data.question = my_vars.question;

[code].....

View 1 Replies

ActionScript 3.0 :: SharedObject Not Saving Data

Aug 30, 2009

I'm working with AS3 with timeline code. I would like to save date and time a user took a quiz. This information will help check when a user took a quiz. I can see the date and time as I want, but it isn't saved.[code]...

View 1 Replies

ActionScript 3.0 :: Signal To Download Via SharedObject

Dec 29, 2009

After file was uploaded to a server (via Filereference) I want to pass a signal and a file link to a client using the same SharedObject. What should I use? SharedObject.send()?

View 0 Replies

ActionScript 2.0 :: SharedObject To Associative Array?

Jan 19, 2010

I am able to save file using a local sharedObject.

Code:
note_so = SharedObject.getLocal("notes");
note = note_mc.notetitle_txt.text +"~"+ note_mc.note_txt.text;

[code].....

View 9 Replies







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