0 Replies Latest reply on Sep 20, 2008 7:00 AM by ekaratas

    Dynamic Objects & RSO’s

    ekaratas
      Hi, I'm new on Flex

      I want to create a dynamic image/images and send to all clients with Remote Shared Objects.

      My image creator Function like this.

      public function add_image():void
      {
      var s_image:Image = new Image;
      s_image.source = "assets/ai_appicon.jpg"; (this source attached to XML file)
      s_image.x=10;
      s_image.y=10;
      s_image.width = 250;
      s_image.height = 250;
      s_image.maintainAspectRatio=true;
      container.addChild(s_image);
      }

      Question 1.

      How can i save this image to Remote Shared Object with so.setProperty(); command.

      Question 2.

      How can i send to this image to other clients with handleSync( event:SyncEvent ) function.

      thanks