0 Replies Latest reply on Apr 24, 2010 2:22 AM by dakasadakasadaka

    SpriteVisualElement

    dakasadakasadaka

      ok,

      I have all cams maded but not seeing all in spritevisualelement only the last one:

      public function broadCastMeNow(event:Event):void
        {
         camId = comments.selectedItem["o_id"];
          broadCastMe = new broadcastNow(camId);
          connn[camId].addChild(broadCastMe);
        }

       

      and

      <s:Panel includeIn="indexObjectState" id="camPanel" width="100%" height="150" title="Live Webcams">
        <s:layout>
                  <s:HorizontalLayout paddingLeft="1" paddingRight="1" paddingTop="1" paddingBottom="1" gap="1" />
              </s:layout>
         <s:Group width="290">
         <s:SpriteVisualElement x="100" id="connn" />
        </s:Group>
      </s:Panel>

       

      every time someone clicks on start webcam it fires the function  broadCastMeNow.

      but each time it is other value of camId.

      so how could I add it to the panel with  <s:SpriteVisualElement x="100" id="connn" /> next to each other?

      I suppose I need to do something with connn but what?