creating a remote sharedObject using amazon cloudFront

42 views Asked by At

I am trying to create a remote sharedObject on amazon cloudFront using Flash (AS2). I tried to find the url for the rmtp connection and I think it is correct. But I get netConnection Failed and other times netConnection Rejected trace messages.

This is my code

    nc = new NetConnection();
    nc.onStatus = function(info) {
        trace("Level: "+info.level+"  "+info.code+" ");
    };
    nc.connect("rtmp:/somecodesfromamazon.cloudfront.net");
    mySO = SharedObject.getRemote("mySO", nc.uri, true);
    mySO.connect(nc);

I am new to Amazon cloudfront. I looked online and I read that I have to have a bucket and a folder for my application. But my application resides on the machine, my machine. I am basically the client and I need this sharedObject to update the values from an application that I have on several computers. In other words,the sharedObject just helps me keep track of the data on several machines.

Any help will be appreciated. Thank you

0

There are 0 answers