Shared object not writing?

I have a client who has a video that is to only play once when a user visits. So I created a shared object to create a param that the video has been played. It works perfect locally and on my live test site. However when the client posts it on his ning website in the header it doesn't work. The strange thing is that live and locally on my server you can see the shared object and it's size through the advanced tab in Flash's privacy settings. When on his server the size just has two dashes? Ideas.

Well they have some crazy system for uploading to the server. When it finishes uploading it works fine except for the writing of the shared object. Does ning.com have the write permissions for flash disabled? Is that possible?
Here is what the client said about the upload process:
"Not yet. Here is what I have done.
1. Click on SWF and then click save to desktop
2.In order to upload SWF to NING platform you have do it through a blog
entry to get its own URL. Once I get that I copy the "http://.... all the
way to .swf" and insert in the script for the flash header in what is called
Analytics. This process has worked fine up until now and appears to load
the new SWF just fine.
3. When I refresh pages or switches tabs it still repeats
4. I have gone into Explorer Internet options and cleared all history but
still no change."
I assumed he was still looking at the old file since it wasn't working but he was looking at the new file with the shared object. Here's a screen shot of the flash privacy settings panel:

Similar Messages

  • Shared object not found.

    Installed Oracle 10g on SUSE 9.2 server. When I reboot, Oracle does not come up. I get the error Shared object not found. The object it is looking for is libhasgen.so. I verified that this library exists on the system.
    Does any one have any ideas?
    Thanks
    Kasu

    publish the one that doesnt work to AS2 and see

  • Shared Objects not imported properly

    I am moving from 6i to 9i.
    I exported my 6i applications.
    I imported them into 9i.
    The one application consists of some tables shared from another. I imported the source of the shares first.
    In the RON the shared objects show correctly under the "Table Definitions", but they are absent in the Design Editor under the "Server Model Tab." Trying to reshare them causes an error (as expected).
    How do I reconcile the database so the shared object show up properly ?
    Help appreciated
    Andrew

    Hi Neeraj,
    first if you did not initialize Task's user and it comes back uninitialized that does not sound like a problem.
    Probably the read only User was cached and not explicitly refreshed by subsequent queries. I.e. if User is changed on the database that change won't necessarily get reflected in the toplink cache.
    Try setting descriptor.alwaysRefreshCache(true);

  • AS3 getRemote shared object not working

    Hey,
    I am having trouble with my shared object. It shows up as a
    SO in the FMS console however the .data does not show up in debug
    mode. I think the problem may be in the object Encoding. The onSync
    event is called only once it connects but is not called again. And
    when I call it, it traces back undefined.
    Any help please?
    Cheers,
    Pablo
    import flash.events.MouseEvent;
    import flash.events.NetStatusEvent;
    import flash.net.SharedObject;
    import flash.net.ObjectEncoding;
    NetConnection.defaultObjectEncoding=ObjectEncoding.AMF0;
    var nc:NetConnection=new NetConnection();
    nc.objectEncoding = ObjectEncoding.AMF0;
    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    netSecurityError);
    nc.connect("rtmp://***.***.**.**/test");
    var mySO:SharedObject= SharedObject.getRemote("mySO", nc.uri,
    false);
    this.mySO.addEventListener(SyncEvent.SYNC, mySync);
    this.mySO.connect(nc);
    //var xPos:Number = ball_mc.x;
    this.mySO.data.xPosD=Number(60);
    status_txt.text="Not Connected";
    function netStatus(e:NetStatusEvent):void {
    var info:Object =e.info;
    if (info.code=="NetConnection.Connect.Success") {
    status_txt.text="Connected";
    function netSecurityError(e:SecurityErrorEvent):void {
    //trace("netSecurityError: "+ e);
    status_txt.text="Security Error";
    var xPos:Number;
    function mySync(e:SyncEvent):void {
    xPos=e.target.data.xPosD;
    trace("Sync xPosD: "+e.target.data.xPosD);
    ball_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseD);
    function mouseD(e:MouseEvent):void {
    e.target.startDrag();
    ball_mc.addEventListener(MouseEvent.MOUSE_UP, mouseU);
    function mouseU(e:MouseEvent):void {
    e.target.stopDrag();
    this.mySO.data.xPosD=ball_mc.x;
    }

    I am using AS3 on FMS 2

  • Local Shared Object not working in Firefox 2

    I'm using a local shared object in my flash animation so that
    the animation plays only once per user visit. It works fine in IE
    6/7, but doesn't work at all in FF (the movie still plays when I
    refresh the homepage, or come back to the homepage from another
    page).
    This is what I'm using:
    var my_so = SharedObject.getLocal("animationPlayed");
    if (my_so.data.played == undefined)
    my_so.data.played = true;
    my_so.flush();
    else
    gotoAndStop(258);
    } // end else if
    clearLSO_btn.onRelease = function ()
    my_so.clear();
    stop ();
    And this is the site:
    http://qualitycateringforkids.com/default.aspx
    Any ideas?
    Thanks
    RK

    Both of these load no problems in my FF3

  • Shared Object not working in FF 2.0

    Hi all,
    anyone with experience with Shared Object finding issues
    getting it to work
    with FireFox?
    var my_so:SharedObject = SharedObject.getLocal("visited",
    if (my_so.data.newVisitor != undefined) {
    //object exists: return user
    _root.gotoAndStop("skip");
    } else {
    //object doesn't exist: new user
    my_so.data.newVisitor = "no";
    my_so.flush();
    _root.play();
    It works fine in IE. Any insight is greatly appreciated.
    -chris
    Adobe Certified Expert
    www.keyframer.com
    www.mudbubble.com
    (if you want to email me, don't look)

    Does your SCC timecode begin at 1 hr or 0 hr? If the former, try the latter.

  • Shared Object - Not retrieving and or saving correctly.

    Hello again,
    I've got big trouble this time using a SharedObject - a weird thing is - the same code / way of doing it - like saving and retrieving data from a SharedObject worked flawlessly in CS3.
    What I try to archive:
    Putting a byte array (screenshot data) in an array (images) and save this one in a SharedObject (data_vault).
    I can see from the size of the SharedObject that something is saved to it - but - everytime I try to load I get errors.
    From what I see when using "trace (images.length)" - the array has the length of X (=screenhots) - but when using the loadscreenshots() function, I just get error #1009 ("attribute of a null object is not possible") back and I cant read out the saved data.
    This problem also occurs with numbers and other saved data like coordinates (Array like [ [x1, y1], [x2, y2] ]).
    As I said, in an earlier version of Flash Player / CS3 with Actionscript 3 this code worked as it was.
    I was even able to load Screenshots from the SharedObject which had been made at another computer.
    Here what my code is looking like:
    Frame 1:
    import flash.net.SharedObject;
    var data_vault:SharedObject = SharedObject.getLocal('ProgramData', '/');
    Frame 3:
    var images:Array = new Array();
    images = data_vault.data.screenshots;
    if (images != null) { loadscreenshots(); }
    else { images = []; }
    ------------ Function makeScreenshots
            images[screen_z] = img_copy_bin;  // img_copy_bin = ByteArray!
            data_vault.data.screenshots = images;
            data_vault.flush();
    ------------ Function loadscreenshots
    function loadscreenshots():void {
        for (screen_z=0;screen_z < images.length; screen_z++) {
            trace(screen_z); show_screenshots();
    ------------ Function show_screenshots
    function show_screenshots():void {
        data_vault = SharedObject("ProgramData", "/");
        images = data_vault.data.screenshots;
        var img_dis_bin:ByteArray =  images[screen_z];
    Please let me know if you need more information / code examples.
    Thank you a lot in advance,
    Jan

    No, I have allowed unlimited diskspace usage by using the settings.sol (Sys and Local).
    Those files permit it.
    Also I see that the data becomes saved, but when I restart the flash file or switch back to the frame, where the loading function becomes executed even when the active session has not been ended, nothing becomes loaded and the error #1009 is raised.
    With the same code, even with activated compression (compress/uncompress routine of the ByteArray Class) the data became perfectly loaded and the screenshots displayed almost instantly without any trouble using CS3 with Flash Player 9.
    Just to mention, I recreated the SharedObject and Im not trying to use the one created in CS3, Flash Player 9.
    Any more ideas? - This problem drives me crazy

  • Storing Dataprovider in shared object

    I'm having trouble storing a dataprovider in a shared object. Writing the dataprovider object to my local shared object seems to work fine, but when I try to read this out of the shared object, it appears to have been transformed into a generic object. When I try to assign a local dataprovider variable to the dataprovider I've read out of the shared object, I get the following error:
    "cannot convert Object@3721e6c9 to fl.data.DataProvider"
    Any ideas?

    you can use:
    var mySo:SharedObject = SharedObject.getLocal("test");
    if (mySo.data.object0==undefined) {
        var obj1:Object = {name:"kg",title:"md, phd"};
        var obj2:Object = {name:"ck",title:"md"};
        var dp:DataProvider = new DataProvider([obj1,obj2]);
        for(var i:uint=0;i<dp.length;i++){
            mySo.data["object"+i.toString()] = dp.getItemAt(i);
        mySo.flush();
    } else {
        var dpA:Array = [];
        for(var s:String in mySo.data){
            dpA.push(mySo.data[s]);
        var dp1:DataProvider = new DataProvider(dpA);

  • Exception handling is not working in GCC compile shared object

    Hello,
    I am facing very strange issue on Solaris x86_64 platform with C++ code compiled usging gcc.3.4.3.
    I have compiled shared object that load into web server process space while initialization. Whenever any exception generate in code base, it is not being caught by exception handler. Even though exception handlers are there. Same code is working fine since long time but on Solaris x86, Sparc arch, Linux platform
    With Dbx, I am getting following stack trace.
    Stack trace is
    dbx: internal error: reference through NULL pointer at line 973 in file symbol.cc
    [1] 0x11335(0x1, 0x1, 0x474e5543432b2b00, 0x59cb60, 0xfffffd7fffdff2b0, 0x11335), at 0x11335
    ---- hidden frames, use 'where -h' to see them all ----
    =>[4] __cxa_throw(obj = (nil), tinfo = (nil), dest = (nil), , line 75 in "eh_throw.cc"
    [5] OBWebGate_Authent(r = 0xfffffd7fff3fb300), line 86 in "apache.cpp"
    [6] ap_run_post_config(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x444624
    [7] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42c39a
    I am using following link options.
    Compile option is
    /usr/sfw/bin/g++ -c -I/scratch/ashishas/view_storage/build/coreid1014/palantir/apache22/solaris-x86_64/include -m64 -fPIC -D_REENTRANT -Wall -g -o apache.o apache.cpp
    Link option is
    /usr/sfw/bin/g++ -shared -m64 -o apache.so apache.o -lsocket -lnsl -ldl -lpthread -lthread
    At line 86, we are just throwing simple exception which have catch handlers in place. Also we do have catch(...) handler as well.
    Surpursing things are..same issue didn't observe if we make it as executable.
    Issue only comes if this is shared object loaded on webserver. If this is plain shared object, opened by anyother exe, it works fine.
    Can someone help me out. This is completly blocking issue for us. Using Solaris Sun Studio compiler is no option as of now.

    shared object that load into web server process space
    ... same issue didn't observe if we make it as executable.When you "inject" your shared object into some other process a well-being of your exception handling depends on that other process.
    Mechanics of x64 stack traversing (unwind) performed when you throw the exception is quite complicated,
    particularly involving a "nearly-standartized" Unwind interface (say, Unwind_RaiseException).
    When we are talking about g++ on Solaris there are two implementations of unwind interface, one in libc and one in libgcc_s.so.
    When you g++-compile the executable you get it directly linked with libgcc_s.so and Unwind stuff resolves into libgccs.
    When g++-compiled shared object is loaded into non-g++-compiled executable's process _Unwind calls are most likely already resolved into Solaris libc.
    Thats why you might see the difference.
    Now, what exactly causes this difference can vary, I can only speculate.
    All that would not be a problem if _Unwind interface was completely standartized and properly implemented.
    However there are two issues currently:
    * gcc (libstdc++ in particular) happens to use additional non-standard _Unwind calls which are not present in Solaris libc
    naturally, implementation details of Unwind implementation in libc differs to that of libgccs, so when all the standard _Unwind
    routines are resolved into Solaris version and one non-standard _Unwind routine is resolved into gcc version you get a problem
    (most likely that is what happens with you)
    * libc Unwind sometimes is unable to decipher the code generated by gcc.
    However that is likely to happen with modern gcc (say, 4.4+) and not that likely with 3.4.3
    Btw, you can check your call frame to see where _Unwind calls come from:
    where -h -lIf you indeed stomped on "mixed _Unwind" problem then the only chance for you is to play with linker
    so it binds Unwind stuff from your library directly into libgccs.
    Not tried it myself though.
    regards,
    __Fedor.

  • Shared Object data not saving?

    I tried adding a "save progress" function to my latest project using the shared object class, yet it's not working. All of the information that should be saved, traces as undefined. I looked through some older projects, and the save functions in those projects are working fine. Any ideas on what might be the issue?

    use:
    import flash.net.SharedObject;
    var saveTest:SharedObject=SharedObject.getLocal("testFile","/");
    saveTest.data.sample="testing"
    trace (saveTest.data.sample)
    and no, you cannot explicitly control where the sharedobject is saved.

  • Reading a writing Shared Objects

    I'm not sure if I'm not getting something here, but I have a
    webservice that gets a string back in the form of XML. I end up
    placing that data in the XMLList in the property of the shared
    object. Is that possible? It seems like it works when I make
    reference to it after the WS has been called
    However, I don't want to call the webservice everytime the
    app runs. When I make reference to the shared object ie:
    <mx:Label text="{storeInfo.data.xmlContent
    .location_url}"/> after the webservice runs - works great.
    However, it seems like the data is not there when the webservice
    doesn't run.

    I haven't tried saving a XMlList object, but the
    documentation says that you can store only simple data types such
    as String, Array and Date. Please find more details in below URL.
    Can you try saving data of simple data types and check out if it is
    working. Please do make sure you are flushing the data.
    http://livedocs.adobe.com/labs/flex3/html/lsos_2.html#132694
    Hope this helps.

  • Shared Object working locally but not online

    My game records your high score using the sharedobject and while testing it locally it works fine, but when the swf is published and played online, it is not recording the hi score. Is there some sort of new security issue with saving shared objects on people's hard drives now?

    In Frame 1 I have this code. The first is for game progress, the second is for the high score which is then passed to the text object
    var Progress:SharedObject = SharedObject.getLocal("progress", "/");
    var OwlHiScore:SharedObject = SharedObject.getLocal("owlhiscore", "/");
    hisc.mainScore.text = (OwlHiScore.data.HiScore).toString();
    Then on the last frame where the game is over I have this code:
    if (score > OwlHiScore.data.HiScore) {
              hiScoreWon = true;
      OwlHiScore.data.HiScore = score;
      OwlHiScore.flush();
              hiScoreHolder.hiScoreEffect.mainScore.text = (OwlHiScore.data.HiScore).toString();
    } else {
              hiScoreWon = false;

  • Problem Assigning Local Shared Object

    I have created a swf that increments a dollar amount every
    five seconds. My clients want this dollar counter to be consistent
    between HTML pages. That is where the local shared object comes in.
    I can create it fine, and even read it (I know this by a trace() I
    used). But for the life of me I can't get the value from the shared
    object passed to the dynamic text field as soon as the swf is
    loaded. It always starts at the beginning increment of 0.192!
    I'm pretty sure what is messing me up is either the function
    that formats the number to a dollar format or the function that
    increments the dollar value up every five seconds and saves that
    value to the shared object.
    Using the code below, you can create a flash file with a
    dynamic text labeled 'money' and the actionscript copied into the
    first frame on the timeline.
    Any help would be great appreciated!

    aasimmomin wrote:
    > Hi,
    >
    > I have 2 files *.swf files. The first one is creating a
    shared object while
    > the second one reads the created shared object.
    > The files works perfectly on my local machine and on my
    server, but the second
    > file is not able to read the shared object on the
    client's server.
    > Although both files work perfectly well on the client's
    local machine.
    >
    > I have checked and found that there is no synchronizing
    problem between the
    > writing and reading of the shared object.
    >
    > Could there be some settings on the client's server
    which may be missing?
    do not post same question to multiple forums, post in one and
    stick to it.
    http://www.adobe.com/support/forums/guidelines.html
    Adobe forums posting guidelines
    When posting messages...
    - in DON'T Section :
    Don't cross-post or double-post. Posting a message to more
    than one forum (i.e "cross-posting" is
    unnecessary, and creates extra traffic for you and others to
    read through. If you've already posted
    a question, please don't repeat your posts in order to get
    more attention- this makes it very
    difficult for others to see if and/or where your question was
    answered.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Local Shared Objects and multiple SWFs: mutexes necessary?

    I will have multiple SWFs on a single web page, each reading
    and writing the same SharedObject, which may be up to 100K in size.
    Will I need to create some sort of mutex scheme to ensure that one
    SWF isn't writing while another is reading, or do all SWFs on a
    page essentially run as a single-threaded application?

    >1) I don't think a SharedObject.flush is synchronous.
    I believe it is, as long as you're not attempting to write
    more data than the user has set for the Local Storage limit.
    http://livedocs.adobe.com/flex/3/langref/flash/net/SharedObject.html#flush()
    You'll note that flush is described this way: "Immediately
    writes a locally persistent shared object to a local file", and if
    it returns "SharedObjectFlushStatus.FLUSHED" that means that "The
    shared object has been successfully written to a file on the local
    disk". So I'd say that the normal operation of flush() is
    synchronous. However, the SharedObjectFlushStatus.PENDING state
    means that we've exceeded the limit set by the user, and are
    waiting for them to allow or disallow it. I believe (strongly) that
    that's the only case in which a netStatus event is sent.
    Do you read this differently?
    As far as multiple SWFs running as cooperative or preemptive
    multitasking processes, I'd really like to know the answer, but it
    probably doesn't matter. The more I read and think about this, the
    more it seems to me that Adobe has to prevent simultaneous reads
    and writes to a single Shared Object from taking place, as one use
    of it that I've read about is to share data between SWFs. For
    example:
    http://www.devarticles.com/c/a/Flash/Communication-and-Security-with-the-Flash-Communicati on-Server/1/

  • How to Get property values from Shared Object in client's load event - Very urgent

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

Maybe you are looking for

  • Weblogic 9.1, EJB 2.0, Oracle 9i: Cascade delete Error

    Hi All, I am facing an error with the cascade-delete facility in ejb2.0 with weblogic 9.1 Assume that I have the following relation: <ejb-relation> <ejb-relation-name>TeacherEJB-StudentEJB</ejb-relation-name> <ejb-relationship-role> <ejb-relationship

  • (rare?) Error while trying to synchronize Audio and MIDI.

    Hello there, My problem: Until today, I've been working with all my projects without any problems with my configuration, but today I've turned on the computer and when I play any project (including a new project with one or two audio tracks or the SA

  • Firefox 6 has high cpu consumption

    Hi, I have just upgraded from Firefox 5.x to 6.0. I am using Windows 7 32-bit on a Dell Laptop, Core 2 duo, 4 GB RAM. I have observed that FF seems to consume a lot more CPU than before. Also, the memory footprint keeps changing rapidly. I don't have

  • Initializing BPEL instance ID

    HI, Is there way to initialize SOA instance id to a specific number? I have tried to find out any database sequence presents or not in SOA infrastructure database but there is no database sequence for instance id.Please let me know any body has some

  • Some user Accounts have no "status" string when using Get-ADUser command.

    Hello! I encountered a problem. When I tryed to get list of all disabled accounts in the AD, I used the command Get-ADUser -Filter 'Enabled -eq $false' .  But i recieved a list of users which is not full. So I checked again and compared 2 accounts,