SVC Horizontal Layout



  • Hi There,

    I am wanting to put the videos in Horizontal format.

    What do I need to edit to get this?

    Thanks, Kyle



  • In VideoChat.mxml change the layout:

    if you don't have the vertical layouts, here it is (below). You may need to remove the drawing-related parts until the latest SVC libraries will be published.

    
     <s:group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:ns="components_single.*" xmlns:svc="components.SingleRandom.*" xmlns:draw="components_single.drawing.*" preinitialize="preinit()" verticalcenter="0" horizontalcenter="0"><fx:declarations></fx:declarations> 
    
    	 <fx:script source="crcController.as"><s:bordercontainer stylename="svcContainer" verticalcenter="0" horizontalcenter="0" width="760"><s:vgroup width="100%" height="100%" gap="0"><s:bordercontainer stylename="statusContainer" width="100%" height="25"><s:hgroup paddingleft="6"><ns:automatedlocalconnection id="local_connection"><mx:label text="►"><mx:label id="statusLabel" link="Common.linkHandler(event);" selectable="true"></mx:label></mx:label></ns:automatedlocalconnection></s:hgroup></s:bordercontainer> 
    
    			 <s:hgroup width="100%" gap="0"><s:bordercontainer stylename="videoContainer"><s:vgroup horizontalcenter="0" verticalcenter="0" paddingleft="4" paddingright="4" paddingtop="4" paddingbottom="4"><s:bordercontainer backgroundcolor="0x000000" borderalpha="0" borderweight="0"></s:bordercontainer> 
    
    						 <svc:localcamera id="local_camera"></svc:localcamera></s:vgroup></s:bordercontainer> 
    
    				 <s:bordercontainer stylename="chatContainer" width="100%" height="100%"><s:vgroup width="100%" height="100%" paddingleft="4" paddingright="4" paddingtop="4" paddingbottom="4"><mx:textarea id="chatOutput" valuecommit="chatOutput.verticalScrollPosition = chatOutput.maxVerticalScrollPosition" link="Common.linkHandler(event);" verticalscrollpolicy="auto" editable="false" stylename="chatOutput" width="100%" height="100%"></mx:textarea></s:vgroup></s:bordercontainer></s:hgroup> 
    
    			 <s:bordercontainer stylename="statusContainer" width="100%" minheight="25"></s:bordercontainer></s:vgroup></s:bordercontainer> 
    
    	 <mx:image id="loader" stylename="loader" source="@Embed(source='style/common/media/animations/loading.swf')" width="80" height="80"><draw:remotedrawingarea id="remoteDrawingArea" stylename="drawingArea" width="400" height="370" x="350" y="110"><draw:localdrawingarea id="localDrawingArea" stylename="drawingArea" width="400" height="370" x="350" y="110"></draw:localdrawingarea></draw:remotedrawingarea></mx:image></fx:script></s:group> 
    
    

 

Looks like your connection to H7 was lost, please wait while we try to reconnect.