ActionScript 3.0 :: SharedObject Doesnt Set All Properties?

Feb 3, 2011

I have two classes, ClassA and ClassB extends ClassA.

var objA:ClassA = new ClassA();
var objB:ClassB = new ClassB();

When I use SO.setProperty("myObj", objB)then when onSync happens I can't get all properties of objB, just some of them.

View 0 Replies


Similar Posts:


ActionScript 3.0 :: SharedObject Doesnt Work On Different Computer

Jul 14, 2010

i am developing a game with flash.. the data for this game is saved in sharedobject.. in my computer it runs ok, but when i gave it into my friend, first it run ok, but later after i make some changes (the saving code is the same) it cant save anymore, as if the sharedobject can't be flushed. but it run fine in my computer. later on i check "global storage setting" for my friend flash player, actually it has allocate 100kb for local.

View 1 Replies

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

ActionScript 2.0 :: Set Properties - Get Properties - Change An Mc Name Dynamically?

Sep 14, 2005

Just been playing around with the tutorials, on the Set properties/Get properties. Everything is all cool, except the "instance name" aspect. I dnt really understand that too well. Is it possible to change an Mc Name dynamically? If you look at my FLA when you hit the top left red button you will get a trace of the mcName as "square". Now if you input a new mc Name on the right hand side, you will see it change on the left hand side. But i want to know why it doesnt remain as the new mc Name, it still goes back to square.

View 3 Replies

ActionScript 2.0 :: Trace The Properties Of An Object's Properties?

Jan 30, 2008

I forgot to put it in the title so I'll just place it here; I am using AS 2.0. I know that there are other ways to accomplish the goal that am after, but I was wondering if anyone knows of a way to access the properties of an object's properties?

Here is the code that I thought of, even though it doesn't work

var a:Object = new Object();
a.bproperty = 0; //lowerlevel properties
a.cproperty = 1; // lowerlevel properties

[Code].....

This really just boils down to how I am organizing the code(I have ideas on what do next, and i am 99% sure that I can get them to work), and if there is a way to dynamically access the properties of the objects properties, It will save me from creating yet another large block of code for my project. If you want to see the unfinished project, go to [URL]

View 3 Replies

ActionScript 3.0 :: URLRequest Doesnt Contain Anything?

Oct 20, 2009

I have an xml file which contains multiple products each with their corresponding background image, foreground image, text and website. The LoadXML class loads this xml file and creates an array of each image, text and website. The Main class then loads each image from the array of background images in the method onBackgrLoad(). This is done through the use of a for loop which loops through the array of backgrounds (called hintergrund[]) and loads each one in turn. On tracing hintergrund[] I sucessfully receive a string of all the different background image paths. However when I examine the backgrRequest and backgrLoader they both contain null. The images therefore dont appear on stage but neither does an error message appear! The same thing happens for onImageLoad (this should load the foreground image) and onTextLoad.
 
public class Main extends Sprite
{
//____________________________________________________________________________Vars : Newly

[code].....

View 6 Replies

IDE :: Play() Doesnt Work?

Mar 29, 2009

i made a slider that can slide the main timeline while running the swf.the first function slides scales the bar and moves the handle along the path:

Code:
sliderF = function () {
this.onEnterFrame = function() {

[code]....

View 3 Replies

ActionScript 3.0 :: External Swf Doesnt Replay?

Apr 19, 2010

I have a gallery of sorts and some images have a button that loads an external swf in a 3d tilting window. The problem that Im experiencing is that one of the external swfs does not replay upon pressing the button again--It loads but does not play--it was written in as2 and has some _global variables set. I was thinking that if I unloaded the the loader content and removed the loader from the display list that when it reloaded it would play again but it doesnt--This is the code Im using to unload and remove the child:

Code:
imgLoader.unload();
//imgLoader is the Loader

[code].....

View 5 Replies

Preloader Doesnt Work After Cacheing?

Jun 30, 2009

I have an app with a preloader - works fine until the content gets cached, then for some reason wont progress to the next slide - Fullscreen mode is set to full (if that makes a difference). It doesnt seem to happen consistently either.

[Code]...

View 1 Replies

Flash Doesnt Work On Nfl.com Video

Jul 12, 2009

ok flash doesnt work on nfl.com video.i got the new player 10 point whatever.tried it in mozilla all i keep it video loading.NEVER LOADS tried it in IE says i need to download the newest player from adobe already done.i took down my firewall setting took adblock plus off.

View 1 Replies

ActionScript 3.0 :: RemoveaddEventListener Doesnt Work?

Jun 8, 2011

here is the code

gotoAndStop(2);
stage.addEventListener(Event.ENTER_FRAME,une1);stage.addEventListener(Event.ENTER_FRAME,une2);

[code]....

View 1 Replies

Actionscript 3 :: Stopdrag Doesnt Work As It Should?

Aug 23, 2010

i'm trying to drag something, and on stopdrag it should start a function if certain requirements are fullfilled. My code looks like this.if(e.target.dropTarget.parent == targetName || e.target.dropTarget.parent.parent.parent.getChildByName("cloud").getChildByName("itemPlacer").getChildAt(1) == targetName){

I got 2 questions, first, this works good when i drag and stopdrag correctly(the requirements in the if are fullfilled). but if the requirements are not fullfilled i get an error saying that the place i'm referring to cant be null. I know that the problem lies after the || part but dont know how to resolve it. 2nd, isnt there a shorter way of doing these checks? Atm i'm going through alot of parents and getchildats and was wondering if there was another way.

View 1 Replies

ActionScript 2.0 :: Enter Key Doesnt Seem To Work

Jul 7, 2009

my enter key doesnt seem to work,but other keys do work..[code]

View 1 Replies

ActionScript 3.0 :: Doesnt Working In The Next Frame?

Sep 7, 2011

I have my code in 1st frame. It contains many functions. 2nd frame has only stop(); code. when My movie goes to 2nd frame, i get many errors from functions of 1st frame. Well, that error is caused by one function which is ENTER_FRAME based, but that makes no difference. Why doesnt it stop working in next frame?

View 3 Replies

ActionScript 2.0 :: Xml Gallery Doesnt Work?

Aug 15, 2006

i got an image gallery that reads data from an xml file. this xml formatted data is from a php file. when i open the gallery it loads the 1st image; when i click next it loads the 2nd and so forth... but as soon as it has loaded all the images once, it gets stuck. i dont know what to do. when i had the gallery read directly from an .xml file things were working fine but as soon as it was data from a php file that was xml formatted this problem started to occur.

View 1 Replies

IDE :: Navigation File Just Doesnt Seem To Work

May 9, 2009

i am having a serious problem with my navigation my file just doesnt seem to work heres the code:[code]ill upload the FLA in a sec if anyone could please take a peek this is for a project at uni i need to have it handed in by monday and ive been stuck with this problem since 15:00 in the afternoon uk time and its now 22:15.url...

View 3 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 :: RemoveMovieClip Doesnt Work OnRollOut?

Oct 6, 2009

My removeMovieClip doesn't work onRollOut...Also if somebody can tell me how to change the color of the movie clip onRollover.I have two MC with instance name as loc1, loc2 (stored inside mainMap.map.pan), now when i rollover to these, there is a toolTipMC which displays with title on dynamic text box with instance name "tip" (toolTipMC.tip) and image attached to movie clip with instance name "imgHolder" (toolTipMC.img.imgHolder) and some details showing on dynamic text box with instance name "detail" (toolTipMC.detail).Here is the code:-

locs = {loc1:{tip:" Canada ", detail:" Canada is Canada :P", img: "loc2"}, loc2:{tip:" North America ", detail:" North America is North America, llalalalala, hahahha", img: "loc3"}};
mc = mainMap.map.pan;[code].....

View 2 Replies

ActionScript 2.0 :: Flash8 OnRelease Doesnt Work?

Nov 16, 2009

I have a mc that you should drag to the right mc.The mc that you have to choose from are sometimes a little close so I made a code that the mc that you drag will xscale so it will be smaller.But then if I press on the end of the mc before dragging the mc is outside the mouse and you cant use the OnRelease code.How to avoid that.Enclose a small fla, and the code is:

function god ( t,t1,t2){
t.onPress = function(){
this._xscale = 20;[code].......

View 2 Replies







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