Help with shared objects

Is it possible to code shared objects in Actions Script 2?  If so, does anyone know of a good tutorial on how to do this?  I haven't had much luck in finding any thus far, but then again I haven't really had the time to do an indepth search yet.

Do you really need to use AS2? If yes here a good starting tutorial:
http://www.kirupa.com/developer/actionscript/shared_objects.htm
If rather prefer using AS3:
http://blog.six4rty.ch/2010/07/24/as3-quick-hint-shared-objects/

Similar Messages

  • Help with shared objects...again...

    Okay, I've been looking at a really good tutorial for shared objects in AS2, and I think I've gotten the basic concept down of how they work... now the problem lies in just integrating it into what I already have, which is making my brain hurt.  Basically its for a quiz game, which will have a dynamic scoreboard.  I want the scores in the shared object to update when the submit button is pressed, and then have the new values loaded into text boxes.  Displaying the values is going to be the easy part, its just updating them is what my brain doesnt want to wrap itself around.  Here is the array I have at the moment (yes, horribly inefficient, but the last time I actually did any coding before this was over 2 years ago when I was still a computer science major... with all of 4 actual Comp Sci courses under my belt -_-)
    scores= new Array();
    names= new Array();
    insert=function() {
         var newscore;
         var newname;
         newscore=0
         newscore=_global.correct;
         if (newscore > scores[0]) {
             scores[14]=scores[13];
             scores[13]=scores[12];
             scores[12]=scores[11];
             scores[11]=scores[10];
             scores[10]=scores[9];
             scores[9]=scores[8];
             scores[8]=scores[7];
             scores[7]=scores[6];
             scores[6]=scores[5];
             scores[5]=scores[4];
             scores[4]=scores[3];
             scores[3]=scores[2];
             scores[2]=scores[1];
             scores[1]=scores[0];
             scores[0]=newscore;
             names[14]=names[13];
             names[13]=names[12];
             names[12]=names[11];
             names[11]=names[10];
             names[10]=names[9];
             names[9]=names[8];
             names[8]=names[7];
             names[7]=names[6];
             names[6]=names[5];
             names[5]=names[4];
             names[4]=names[3];
             names[3]=names[2];
             names[2]=names[1];
             names[1]=names[0];
             names[0]=newname;
             else if (newscore > scores[1]) {
             scores[14]=scores[13];
             scores[13]=scores[12];
             scores[12]=scores[11];
             scores[11]=scores[10];
             scores[10]=scores[9];
             scores[9]=scores[8];
             scores[8]=scores[7];
             scores[7]=scores[6];
             scores[6]=scores[5];
             scores[5]=scores[4];
             scores[4]=scores[3];
             scores[3]=scores[2];
             scores[2]=scores[1];
             scores[1]=newscore
             names[14]=names[13];
             names[13]=names[12];
             names[12]=names[11];
             names[11]=names[10];
             names[10]=names[9];
             names[9]=names[8];
             names[8]=names[7];
             names[7]=names[6];
             names[6]=names[5];
             names[5]=names[4];
             names[4]=names[3];
             names[3]=names[2];
             names[2]=names[1];
             names[1]=newname;
    Continues all the way down to scores[14]
    Now, if I wanted this to pull data from the shared object, would I just put user_so.score[3]=user_so.score[2] for instance?  Or would I run the array and just update the new valued individually once the array insertion function completes?  THe problem with the latter is that it's not directly accessing the shared object so I'd need to find a way to pull them out into other variables first, and this is about the point where my brain just decides to short out on me and stop working alltogether...yay...
    So yea, any help on this would be much appreciated.
    also, would the array have to be declared within the shared object as well?  If so, how would I do that exactly?  Probably something so simple but the fact that it's shared objects is throwing me off...

    Ok, the shared object WAS working just fine until I had the banner start referencing it.  Then the quiz began giving me syntax errors like crazy, and even when the banner isnt runnit it gives me issues.
    user_so.data.soArray[0]=scores[0];
    user_so.data.soArray[1]=scores[1];
    user_so.data.soArray[2]=scores[2];
    user_so.data.soArray[3]=scores[3];
    user_so.data.soArray[4]=scores[4];
    user_so.data.soArray[5]=scores[5];
    user_so.data.soArray[6]=scores[6];
    user_so.data.soArray[7]=scores[7];
    user_so.data.soArray[8]=scores[8];
    user_so.data.soArray[9]=scores[9];
    user_so.data.soArray[10]=scores[10];
    user_so.data.soArray[11]=scores[11];
    user_so.data.soArray[12]=scores12];
    user_so.data.soArray[13]=scores[13];
    user_so.data.soArray[14]=scores[14];
        _global.player= "Input Name";
        player.text=_global.player;
        _global.correct= 0;
        phrase=" ";
    gotoAndStop (1);
    these are the lines it's telling me I need an on handler for, which I do have, at the very start of the entire code.
    Ive counted the brackets and those seem to line up, but I'll double check again.  The code is on the submit button itself (yes I know it's poor coding form, but this is how I learned it and what I'm used to, and since I'm on a bit of a time schedule now isn't the time to completely re-learn the proper conventions and etiquite of coding in flash).
    on (release) {
        if (user_so.data.tname!=undefined){
            user_so.data.tname = _global.player;
            user_so.data.newscore = _global.correct;
            insert=function() {
        var newscore;
        var newname;
        newscore=0
        newscore=_global.correct;
        if (newscore > scores[0]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=scores[2];
            scores[2]=scores[1];
            scores[1]=scores[0];
            scores[0]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=names[2];
            names[2]=names[1];
            names[1]=names[0];
            names[0]=newname;
            else if (newscore > scores[1]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=scores[2];
            scores[2]=scores[1];
            scores[1]=newscore
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=names[2];
            names[2]=names[1];
            names[1]=newname;
        else if (newscore > scores[2]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=scores[2];
            scores[2]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=names[2];
            names[2]=newname;
            else if (newscore > scores[3]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=scores[3];
            scores[3]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=names[3];
            names[3]=newname;
            else if (newscore > scores[4]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=scores[4];
            scores[4]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=names[4];
            names[4]=newname;
            else if (newscore > scores[5]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=scores[5];
            scores[5]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=names[5];
            names[5]=newname;
            else if (newscore > scores[6]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=scores[6];
            scores[6]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=names[6];
            names[6]=newname;
                else if (newscore > scores[7]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=scores[7];
            scores[7]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=names[7];
            names[7]=newname;
                    else if (newscore > scores[8]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=scores[8];
            scores[8]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=names[8];
            names[8]=newname;
                        else if (newscore > scores[9]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=scores[9];
            scores[9]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=names[9];
            names[9]=newname;
                            else if (newscore > scores[10]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=scores[10];
            scores[10]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=names[10];
            names[10]=newname;
                                else if (newscore > scores[11]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=scores[11];
            scores[11]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=names[11];
            names[11]=newname;
                                    else if (newscore > scores[12]) {
            scores[14]=scores[13];
            scores[13]=scores[12];
            scores[12]=newscore;
            names[14]=names[13];
            names[13]=names[12];
            names[12]=newname;
                                    else if (newscore > scores[13]) {
            scores[14]=scores[13];
            scores[13]=newscore;
            names[14]=names[13];
            names[13]=newname;
                                        else if (newscore > scores[14]) {
            scores[14]=newscore;
            names[14]=newname;
        else {
            user_so.data.tname = _global.player;
            user_so.data.newscore = _global.correct;
            scores[0]=user_so.data.newscore;
            names[0]=user_so.data.tname;
    user_so.data.soArray[0]=scores[0];
    user_so.data.soArray[1]=scores[1];
    user_so.data.soArray[2]=scores[2];
    user_so.data.soArray[3]=scores[3];
    user_so.data.soArray[4]=scores[4];
    user_so.data.soArray[5]=scores[5];
    user_so.data.soArray[6]=scores[6];
    user_so.data.soArray[7]=scores[7];
    user_so.data.soArray[8]=scores[8];
    user_so.data.soArray[9]=scores[9];
    user_so.data.soArray[10]=scores[10];
    user_so.data.soArray[11]=scores[11];
    user_so.data.soArray[12]=scores12];
    user_so.data.soArray[13]=scores[13];
    user_so.data.soArray[14]=scores[14];
        _global.player= "Input Name";
        player.text=_global.player;
        _global.correct= 0;
        phrase=" ";
    gotoAndStop (1);

  • Problem with shared objects synchoronization.

    I encountered a small problem with shared objects.
    I'm working on a program that creates chat rooms of a fixed
    size of 30 users. When the 31th user comes, a new room is created.
    The idea is that the client first connects to the first room
    and checks if it's full by connecting to shared objects. If it is
    full, connection is closed and process is reapeated on a new
    instance of the application.
    I use a function to connect to an instance, which takes as a
    parameter a number (1 for instance room_1, 2 for room_2, etc). The
    function itself creates the necessary Netconnection and
    sharedObject objects.
    If a room is full, Netconnections and sharedObjects are
    closed and function is called again with another number.
    I have no problem for connecting to the first room, but after
    closing the first connection and connecting to the new room, there
    seem to be some problems with the shared objects (especially,
    OnSync doesn't seem to execute again after the connection to the
    shared objects of the new instance).
    I was wondering if you had any ideas what could cause this.
    Is it the use of the same variable names for connecting at two
    different shared objects?
    Here is the function :
    function initStreams(room) {
    client_nc = new NetConnection();
    client_nc.connect("rtmp://192.168.0.4/Elearning/room_"+room);
    in_ns = new NetStream(client_nc);
    in_ns2 = new NetStream(client_nc);
    Replay_video.attachVideo(in_ns);
    out_ns = new NetStream(client_nc);
    out_ns2 = new NetStream(client_nc);
    in_ns.play("my_recorded_stream");
    users_name = SharedObject.getRemote("users_name",
    _root.client_nc.uri, false);
    users_name.connect(_root.client_nc);
    users_language = SharedObject.getRemote("users_language",
    _root.client_nc.uri, false);
    users_language.connect(_root.client_nc);
    users_picture = SharedObject.getRemote("users_picture",
    _root.client_nc.uri, false);
    users_picture.connect(_root.client_nc);
    users_finger = SharedObject.getRemote("users_finger",
    _root.client_nc.uri, false);
    users_finger.connect(_root.client_nc);
    I you need more info, I can post more of the code on the
    forum.
    Any help would be really appreciated

    I don't see any onStatus events in the code you posted above.
    If you're defining the onstatus event outside the function, that's
    the problem. When you define the shared object, you also need to
    define it's onStatus event handler.
    Also, you really should wait for the onStatus event of the
    netConnection before you connect your sharedObjects. If you try to
    connect the SO before the netConnection is established, the SO will
    never connect.

  • Can anyone help with sharing my MacBook Pro with my smart tv.

    Can anyone help with sharing my mac with a smart tv

    I have just bought a new smart LG tv with wireless which can share with other products ie iPad , iPhone, computer using there smart share app, however this app is not compatable with a mac. I wondered if anyone could recommend a suitable app.
    Thanks

  • Problems with Shared Objects - WIERD (or i'm just plain o'l stupid)

    Using F8, AS2.0
    What I am trying to do is to store an array inside of a slot
    in a Local
    Shared Object.
    (snippet from function)
    // leaderboardShare is the Local Shared Object
    // the variable scores is passed through this function
    // if no array exists, create one
    if (this.leaderboardShare.data[this.userId] == null) {
    trace("{SharedLearning.setLeaderboardScore} no score data
    for this user
    exists, creating scores array");
    // create a new array to hold scores for this userId
    var myScores = new Array();
    myScores.push(score);
    this.leaderboardShare.data[this.userId] = myScores;
    // traces out the newly added score, (325)
    trace("{SharedLearning.setLeaderboardScore} scores in userId
    array: " +
    this.leaderboardShare.data[this.userId]);
    } else {
    trace("{SharedLearning.setLeaderboardScore} score data
    exists, adding
    current score to array ");
    // traces out existing data in userId slot (325)
    trace("{SharedLearning.setLeaderboardScore} scores in userId
    array: " +
    this.leaderboardShare.data[this.userId]);
    // traces out Number
    trace("score is type: " + typeof(score));
    // temp array to hold data from existing LSO scores
    var myScores:Array =
    this.leaderboardShare.data[this.userId];
    // traces 325
    trace("myScores (before): " + myScores);
    // temp variable to hold latest score passed through (dont'
    really need
    this)
    var newScore:Number = score;
    // add latest score to current score array
    myScores.push(newScore);
    // TRACES 325, NaN
    trace("myScores (after): " + myScores);
    // overwrite existing scores array in LSO with new set of
    scores
    this.leaderboardShare.data[this.userId] = myScores;
    I know I can do this with any other object, what gives? why
    would the LSO
    even care what i'm passing to it. Who cares that it's not a
    number, the
    array doesn't care what you stick into it.
    I'm truly confused.
    Any help will help me drink less tonight after i'm finished

    Nevermind....
    I found a block of code above it that was making it crap out.

  • Device testing with Shared Objects are failing: Error #2130

    This is new for me. I've made a bunch of apps with Flash Pro CC and Air. After the last CC update I can't run my builds on an iPad. They hang as soon as I try to flush a shared object. Any ideas? Is there a new permission setting I need to define? Here is what the debugger says:
    Waiting for Player to connect...
    Error: Error #2130: Unable to flush SharedObject.
              at Error$/throwError()
              at flash.net::SharedObject/flush()
              at CleverClimbers_fla::MainTimeline/frame1()[MyFile_fla.MainTimeline::frame1:133]
              at CleverClimbers_fla::MainTimeline/frame1()
    Cannot display source code at this location.
    Debug session terminated.

    Hi,
    I am not able to reproduce the issue.
    I tried with the latest AIR 4.0 build on iPad version 7.0 and Flash Pro CC version 13.1.0.217.
    Could you please share the Flash Pro version you are using?
    Also if possible, please share the sample app as it would help us in investigating the issue.
    Thanks,
    Pranali

  • Need help with shared hyperlinks

    I need help understanding the shared hyperlink option when creating hyperlinks in InDesign CS5 (Mac) and how to change a shared hyperlink destination.
    I want to build a document that contains hyperlinks to files on the client’s server. The end use is to make a PDF in which the client can click on a hyperlink and it opens (for example) a Word document or another PDF on their server. When I started the project, I thought I would create shared hyperlinks because a single server document would be referred to by several links scattered through the InDesign document I was building.
    From the Hyperlink palette fly-out menu I chose New Hyperlink, then Link To: File from the dropdown, and I clicked the Shared Hyperlink option, and then OK to close the window. I export the InDesign file as a print PDF, and the hyperlinks work.
    Now I need to change the file paths, because the client moved their files to a new location. When I re-open the hyperlink in the Hyperlink palette by double clicking on it, the Edit Hyperlink window opens but it shows my link as:
    Link To: Shared Destination (rather than File)
    And the destination box underneath shows:
    Document: [my document name]
    Name [the file path I put in]
    However, this link is not editable. I don’t understand why InDesign does this on its own.
    I realize now that it was not necessary to tick the shared option when I built the hyperlink. Is there a way (a script? another method?) that I can remove the shared nature of the hyperlinks so that when I go to edit them they show as links to files (Link to: File, not Link to: Shared Destination) with a live Destination Path box where I can edit the link?
    (If anyone tries to help with a script, note that my document also contains other hyperlinks to internet URLs and emails that I don’t want to disturb.)
    Thanks for your consideration.

    Well. I do feel sort of bait-and-switched, but...
    I want to get the links back to the point where double clicking on the hyperlink name (number) in the Hyperlink palette opens an Edit Hyperlink dialog where the destination is Link to: File and the file path shows up in the File Path box as an editable string. Just the way I made them in the first place.
    It's good that you're comfortable editing the IDML.
    If you compare links made both ways in the IDML, the only distinction between the Shared and the not Shared seems to be the hidden attribute of the <HyperlinkURLDestination/> tag.
    Allegedly you cannot edit this in Javascript (though you could, I suppose, create a new HyperlinkURLDestination with all the same properties and then chang eeach hyperlink to point to it).
    But editing it in the IDML works fine. Open designmap.xml and change the Hidden="false" to Hidden="true". Of course, you only want to do that in the <HyerplinkURLDestination/> tags...
    Something about this seems fishy to me, so you might want to verify it yourself in a single case before you put too much effort in. But I think it's right.

  • Issue with Shared Objects

    Hi all,
    I've a problem with a program working on Shared Objects technology.
    We have a Job, scheduled in 18 parallelism, and each one writes into the SHM controlled by a SHMA Class.
    At jobs ending, a program reads content from the area and sends an automatic e-mail with the results.
    Everything works well if the writer program is executed on-line.
    Otherwise, in background, seems that nothing is stored in the SHM.
    Here's the code executed by the writer program:
    FORM shared_memory_access  TABLES  it_fehler STRUCTURE rpfausg.
      DATA: errors_reference TYPE REF TO data.
      DATA: lx_pterl00       TYPE REF TO zcx_pterl00_collector.
      TRY.
    * --> Get SHM Access
          CALL METHOD zcl_pterl00_collector_root=>build
            EXPORTING
              invocation_mode = cl_shm_area=>invocation_mode_explicit.
    * --> It's ok?
          IF zcl_pterl00_collector_root=>area_exists EQ 'X'.
    * --> Fill Data:
            GET REFERENCE OF it_fehler[] INTO errors_reference.
            CALL METHOD zcl_pterl00_collector_root=>fill_area_with_data
              EXPORTING
                error_messages_dref = errors_reference.
          ENDIF.
        CATCH zcx_pterl00_collector INTO lx_pterl00.
          MESSAGE lx_pterl00 TYPE 'S' DISPLAY LIKE 'E'. "Non-blocking -> JOBS
      ENDTRY.
    ENDFORM.                    " SHARED_MEMORY_ACCESS
    Here is the section from the class handling the attachment to the SHMA:
    METHOD if_shm_build_instance~build.
      DATA: lx_collector TYPE REF TO zcx_pterl00_collector.
    * --> Automatic building of instance:
      TRY.
          CALL METHOD get_handle_for_update( inst_name ).
        CATCH zcx_pterl00_collector INTO lx_collector.
          MESSAGE lx_collector TYPE 'X'.
        CATCH: cx_shm_no_active_version.
          TRY.
              CALL METHOD get_handle_for_write( inst_name ).
            CATCH zcx_pterl00_collector INTO lx_collector.
              MESSAGE lx_collector TYPE 'X'.
          ENDTRY.
        CATCH: cx_shm_inconsistent.
          zcl_pterl00_collector=>free_area( ).
          TRY.
              CALL METHOD get_handle_for_write( inst_name ).
            CATCH zcx_pterl00_collector INTO lx_collector.
              MESSAGE lx_collector TYPE 'X'.
          ENDTRY.
      ENDTRY.
    ENDMETHOD.
    I cannot explain why multiple jobs do not populate the area...

    Hi Rob,
    if your requirement is to have many (18) active processes all updating the shared object, and very few simply reading the shared object, then versioning is probably not what you require.
    Versioning allows readers to continue to attach and read the active shared object instance while the updater gets their own instance of the shared object. When the updater does a detach_commit the old instance becomes obsolete and all new requests to attach will be diected to the new instance. The old instance will be cleaned up by garbage collection once all of its readers have detached.
    If your programs primarily attach for update then you will decrease performance with versioning because a new instance needs to be created at every attach for update.
    Perhaps you should just retry the attach for update after a small period of time has passed?
    If, on the other hand, you do have lots of other readers of the shared object you may well still find that it is more efficient not to have versioning. I build a web shop catalogue using shared objects and found that versioning severly hampered performance. This was because, once the catalogue was initialised, updaters were pretty rare but readers were constant.
    BTW make sure you keep the locks on the object as short as possible. Do all your preparation work first, then attach for update, update, detach as quick as possible.
    Cheers
    Graham Robbo

  • Help with Shared Photostream

    Hi guys!
    I could need some help with the shared Photostream function.
    I read the Q&amp;A about it and i'm sure now that my shared Photostream albums wont delete by apple at anytime.
    Also i read about the Limits of Upload 1000 an Hour, 10.000 a Day.
    My idea is to use the Shared Photostream Album function as an online Backup before selling my old iPhone.
    Here is my Problem:
    I got a lot of pictures on my Old iPhone, and i experienced a Lot of Memory usage through the new Albums i created so far,
    So my Memory space is totally Full... I thought it's mainly online space used?
    Next Problem is that the Upload wont work correct. It's only working with a 100-200 pictures After that i Can select other pictures
    But These wont upload anymore...
    And If i erase my old iPhone the iCloud Shared Photoalbum wont be affected?
    Thank you very much for your help!

    No, the data is deleted from your device but not from iCloud.  The only thing you won't be able to access after signing back in is my photo stream photos older than 30 days (which is why you should save them to your camera roll before deleting the account).
    The other thing you might want to review are shared photo stream limits, in case you might have exceeded these: http://support.apple.com/kb/HT4858.  These include a maximum of 5000 photos & videos per shared stream (combined), and 1000 photos & videos per hour (from all contributors).

  • Help with layered objects

    I am new to Pages and struggling to layer objects. I am working with opacity, but unable to move one object on top of another.
    thanks for any help,
    Kim

    Welcome to Apple Discussions Kim
    When you insert any object in a Pages document & have it "fixed on page," by default wrap is turned on with a 12 point gutter. This results in objects "pushing" other objects out of the way. With your object(s) selected, go to the wrap inspector & uncheck "object causes wrap." Unfortunately, there is no way to change this default setting, it will have to be done manually for any object inserted. You may wish to leave feedback for the Pages team asking that the ability to have wrap apply to all objects or not be added as a preference in future versions of Pages.

  • Flash Log In From with Shared Objects

    So i want to create a flash log in and registration form for my flash game. THis game is played on your local PC not in the internet and i am using AS 2.0. So on the registration from i want to have two input text fileds: username and password. When you click on register the data from those fields to be saved as Shared Object and then on the log in when you type something in the log in fields (again two fields : username and password) the data that you wrote in those fields to pass trough the saved data as shared objects and if those two are the same then the log in is successfull if i want the movie to go on a certain frame whare it says access denied. pls help

    if you use the obviously named textfields:
    var so:SharedObject = SharedObject.getLocal("login","/");
    if(so.data.username==undefined){
    //need to register and assign:
    so.data.username=usernameTF.text
    so.data.password=passwordTF.text
    loginBtn.onRelease=function(){
    if(so.data.username==usernameTF.text && so.data.password==passwordTF.text){
    //successful login
    } else {
    //login failure

  • Help with Sharing iPhoto 9.5.1 library between users on same computer

    Hi,
    I have upgraded operating systems to Maverick on my macbookpro which also upgraded iphoto to 9.5.1.  Previously in IPhoto I could choose to share the library in each of three user accounts.  The third account was used only for gathering photos to make books, calendars etc.  There does not appear to be a way to do this now.  How do I share libraries on the same computer without creating a library on a separate device?
    So frustrating....I was right in the middle of creating a book.
    Thanks for any help.

    That particular feature has been discontinued with iPhoto 9.5.1.  However, you  can use iCloud to share photos via  Shared Photo Streams. Each user account will need their own iCloud account and each user can create Shared Photo Streams to be shared with the other accounts.  The photos in the SFSs can be downloaded by any account with access to the stream.
    Anbother option would be to create a Dropbox account and when the 2 accouts come across photos to be used in a project they can export the original file to the Dropbox in the account so they can be downloaded into the 3rd account and imported into the project library.
    If you have an external HD you could put the project library on it and access it from each of the other 2 accounts. Project photos could be added to that library directly by the other 2 accounts by exporting to the desktop and importing into the projects library with an easy library switch.  Or one can use the paid version of  iPhoto Library Manager to copy selected albums between libraries.
    OT

  • Help with Dynamic Objects

    Hi All,
    New to Flex and wanted to get some help from the public.
    Basically, here's what I want to do.
    I have a tab navigator with multiple tabs. Each tab has a
    datagrid on it. When you click the tab, the grid should update to
    new data based on the tab clicked. That's no problem. The problem
    I'm running into is that because the data is taking a while to
    retreive from the server, users are getting the previous's tabs
    datagrid until the information is updated. I wanted to do two
    things:
    1) Change the cursor to a "thinking" or "processing" icon
    where clicks can't be done until the full data has been retreived
    and updated. This is a nice to have; i haven't the slightlest clue
    on how to accomplish this.
    2) In lieu/addition to #1, i wanted the datagrid to be
    dynamic. Meaning, if you go to the tab, it'll add dynamically the
    datagrid to the tab and then show the data.
    Here's my code, but it doesn't work very well. Any help i can
    get from you guys would be great:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="horizontal" initialize="createDataGrid()">
    <mx:Script>
    <![CDATA[
    import mx.controls.DataGrid;
    import mx.managers.PopUpManager;
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.containers.HBox;
    import mx.containers.TabNavigator;
    [Bindable]
    private var infoDataGrid:ArrayCollection;
    [Bindable]
    private var currentID:String;
    [Bindable]
    private var dynDataGrid:DataGrid;
    private function createDataGrid():void {
    dynDataGrid = new DataGrid;
    dynDataGrid.dataProvider=infoDataGrid;
    dynDataGrid.width=80;
    private function getDataFromServer(event:ResultEvent):void {
    var numOfRecords:int = event.result.result_set.num_rows;
    if (numOfRecords > 0 ) {
    infoDataGrid = event.result.result_set.results.result as
    ArrayCollection;
    } else {
    // no information retrieved worry about this later
    private function mainBuilder( event:Event ):void {
    var tabNavigator:TabNavigator = TabNavigator( event.target
    var pattern:RegExp = /\D/gi;
    if (tabNavigator.selectedChild.id != "NewTab") {
    // Remove all non-digits from LID
    var str:String = tabNavigator.selectedChild.id;
    currentID=(str.replace(pattern, ""));
    phpHTTPService.send();
    // loop through all children and remove any datagrids while
    adding to the current one
    for (y=0; y<tabNavigator.numChildren; y++) {
    var tmpNavID:String = tabNavigator.childDescriptors[y].id
    if ((tmpNavID == tabNavigator.selectedChild.id) &&
    (tmpNavID != "")) {
    // this does not work as intended...
    tabNavigator.selectedChild.addChild(dynDataGrid);
    } else {
    // this does not work.
    //How do you access something directly with an ID but
    represented by a variable?
    // tmpNavID.removeChildAt(0);
    } else {
    // New Tab selected, do something here
    ]]>
    </mx:Script>
    <mx:HTTPService id="phpHTTPService"
    url="/flex/php/AssetsInLocation.php" useProxy="false" method="GET"
    result="getDataFromServer(event)">
    <mx:request xmlns="">
    <lid>{currentID}</lid>
    </mx:request>
    </mx:HTTPService>
    <mx:TabNavigator id="tabNav"
    creationComplete="tabNav.selectedIndex=0;mainBuilder(event)"
    width="100%" change="mainBuilder(event);">
    <mx:HBox id="LID2345" label="Tab 1" width="100%"
    height="100%" horizontalAlign="center">
    <!-- <mx:DataGrid dataProvider="{infoDataGrid}"
    width="80%"/> -->
    </mx:HBox>
    <mx:HBox id="LID1111" label="Tab 2" width="100%"
    height="100%" horizontalAlign="center">
    <!-- <mx:DataGrid dataProvider="{infoDataGrid}"
    width="80%"/> -->
    </mx:HBox>
    <mx:HBox id="LID1234" label="Tab 3" width="100%"
    height="100%" horizontalAlign="center">
    <!-- <mx:DataGrid dataProvider="{infoDataGrid}"
    width="80%"/> -->
    </mx:HBox>
    <mx:Canvas id="NewTab" label="New..." width="100%"
    height="100%">
    </mx:Canvas>
    </mx:TabNavigator>
    </mx:Application>
    Thanks all for your assistance.

    I think Ned is on the right track, but the specific form of
    the command may be off. If the ProgressEvent handler is defined on
    MC_Holder_Image, then the command to get the
    MC_Holder_Preload_TextField object should be something like:
    var oTextField:TextField =
    this.parent.parent.MC_Holder_Preload.getChildByName(childname);
    oTextField.text = "some text";
    The first "parent" references MC_Holder_Sprite, the second
    MC_Holder. If there are several instances of MC_Holder_Preload,
    then the above would have to be modified to account for that by
    first using the getChildByName method to acquire the appropriate
    instance like so:
    var oMC:MovieClip =
    this.parent.parent.getChildByName(HolderPreloadName);
    var oTextField:TextField = oMC.getChildByName(TextFieldName);
    Hope this (a) makes sense, (b) helps and (c) actually works.
    Regards
    Dave Spaar

  • Help with Combining Objects

    I've been thinking of submiting some of my Illustrator designs to iStock and I want clean up the files and perhaps combine some of the objects so there isn't this bigg mess of layers. The problem I'm having is that some objects need to be on top of other objects - for example a shadow on a foot needs to be above the layer with the foot's primary color. So if I wanted to combine objects that are in this kind of order would anyone have any tips or suggestions? I also want to combine layers that have just lines I've drawn on them, like movement lines which are just open paths with strokes. If I could get these types of objects all merged into one object then I could cut down not only on the size of the file but also the number of layers involved. This way when someone buys it from iStock they're not faced with this huge file with hundreds of layers.
    Any help would be appreciated.
    Thank you.

    Fully familiarize yourself with these topics:
    Combining paths. These are functions common in vector programs which union, punch, and intersect multiple paths. In Illustrator, they are called Pathfinders.
    Outlining Srokes. Creates unstroked filled paths around the edges of stroked paths. Understanding this is integral to using path combination functions in Illustrator especially, because Illustrator is so poor at cutting and dealing with open unfilled paths.
    Transparency and other Raster Effects. You need to understand which effects and transparency settings result in rasterization, and what that portends regarding the scaleability of your artwork.
    Color Model. Are you going to deliver CMYK or RGB files? Do you know why?
    What format do you intend to provide to the clipart reseller? Native AI files? If so, what version?
    Merely having Layers in your AI file does not significantly affect file size. An AI file is a stack of objects. That's true whether the whole stack of objects resides on a single Layer or a hundred Layers. Layers are nothing but another way of "grouping" subsets of the object stack for organization purposes. You seem to be thinking of Layers in AI as similar to Layers in Photoshop. That is a very common and very basic misunderstanding of the nature of vector artwork.
    It's the object constructs that you need to concern yourself with when creating clean, efficient, reliable, versatile, and easy-to-work-with vector artwork. "Normalize" things to their simplest constructs. Avoid unnecessary anchorpoints, clipping paths, masking, so-called "transparency" and "live effects."
    I very much applaud your desire to build clean files. (There is far too much sloppy, convoluted crap floating around out there nowadays.) Not meaning to discourage, but the fact of your concern about Layers frankly suggests that you may not really be ready to be delivering ready-made and problem-free artwork for widespread use as clipart. You need to fully understand the items mentioned above, and alot more. Asking questions in a user forum will be a very slow method of learning that stuff--there are too many variables and specific situations.
    JET

  • Need help with Shared Services Role

    Hello,
    I am trying to create a Native Directory group which will allow the users extract all the Application Elements, but restrict them from loading anything to the system. This group should only have the ability to view the objects and not edit them. It should also have the extract functionality.
    By removing the role 'Load System', we can restrict the users from loading the artifacts, but once this role is removed, the users are not able to extract the Application Elements (Security, Memberlists and Rules file).
    Can you please let me know if there is any other way/setup that would allow the users to perform the required functinalities with out the 'Load System' role?
    Any help would be appreciated.
    Thanks,

    Sorry but I have the same issue and I cannot do anything...
    We have to ask from the admin team to extract and send us the metadata....
    Regards,
    Thanos

Maybe you are looking for

  • Previewer not working in Outlook 2010

    I have a windows xp machine that is unable to preview pdf files in outlook.  I get the error adobe pdf previewer failed to start.  I can prefiew other files like excel and word documents.  and when other users log onto the machine they have the same

  • What are the various ports used by OLT?

    Having recently had 'fun' getting a load agent working in our secure LAN, I was wondering if someone could clarify what the various ports are used by/for? I am aware of the following: 9001 - Actually mentioned when setting up a load agent 1099 - Ment

  • In BADI - CRM_COPY_BADI, i need to modify Partner No

    Hi Experts, I have a requirement like - in Copy Control Quote to Quote in CRM, i need to Copy all Custom fields and modify Partner No based on some condition. For that I have implemented BADI - CRM_COPY_BADI and now for Custom field copy to the Targe

  • I stupidly signed up for a dumb application ... my bad ... now how do I stop it from printing?

    I have the B210, and wish HP had put more effort into better design and printing function that useless stuff. Anyway, I signed up for an app not realizing that it would print whether I wanted it to or not. I deleted the app from the printer, and cann

  • Having Problems with iphones syncing with iTunes

    First off, I restored my old iphone 3gs so that i can use just for music purposes, after restoring it would not show up onto itunes. I also have a iphone 4g which is always synced with cloud.  I ejected my Iphone on accident trying to figure out the