<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Generated by NCL Eclipse -->
<ncl id="transicion" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile">
	
	          <!--Botones - Control Remoto-->
	
	
<!--CABECERA-->	
	<head>
        
		<!--REGIîN-->
		<regionBase>
			<region id="rgvideo" width="100%" height="100%" zIndex="1"/>
			<region id="rgblue" width="10%" height="5%" right="5%" top="5%" zIndex="2"/>
			<region id="rgyellow" width="10%" height="5%" right="5%" top="15%" zIndex="2"/>
			<region id="rgred" width="10%" height="5%" right="5%" top="25%" zIndex="2"/>
			<region id="rggreen" width="10%" height="5%" right="5%" top="35%" zIndex="2"/>
			<region id="rgimg" width="20%" height="20%" right="5%" top="50%" zIndex="2"/>
		</regionBase>
		
        <!--DESCRIPTOR-->
		<descriptorBase>
			<descriptor id="descvideo" region="rgvideo"/>
			<descriptor id="desblue" region="rgblue"/>
			<descriptor id="desyellow" region="rgyellow"/>
			<descriptor id="desred" region="rgred"/>
			<descriptor id="desgreen" region="rggreen"/>
			<descriptor id="desimg" region="rgimg">
				<descriptorParam name="transparency" value="50%"/>
			</descriptor>			
		</descriptorBase>
		
		<!--IMPORTAR CONECTORES-->
		<connectorBase>
		<importBase documentURI="../ConnectorBase.ncl" alias="conector"/>
		</connectorBase>
		
	</head>
<!--CUERPO-->
	<body>
		<!--MULTIMEDIA-->
	  	<media id="video" src="../media/video1.mp4" descriptor="descvideo">
		  <area id="areaimg" begin="10s"/>
		  </media>
	  	<media id="imblue" src="../media/blue.jpg" descriptor="desblue"/>
		<media id="imyellow" src="../media/yellow.jpg" descriptor="desyellow"/> 
		<media id="imyred" src="../media/red.jpg" descriptor="desred"/> 
		<media id="imygreen" src="../media/green.jpg" descriptor="desgreen"/> 
		<media id="img1" src="../media/im1.jpg" descriptor="desimg"/>
		<media id="img2" src="../media/im2.jpg" descriptor="desimg"/>
		<media id="img3" src="../media/im3.jpg" descriptor="desimg"/>
		<media id="img" src="../media/photo.png" descriptor="desimg"/>
		
        <!--PUERTAS-->
		<port id="pentrada" component="video"/>
        
        <!--ENLACE-->
        <link xconnector="conector#onBeginStartN" id="limg">
        	<bind role="onBegin" component="video" interface="areaimg"/>
        	<bind role="start" component="imblue"/>
        	<bind role="start" component="imyellow"/>
        	<bind role="start" component="imyred"/>
        	<bind role="start" component="imygreen">
	        </bind>
        </link>
        
        <link xconnector="conector#onKeySelectionNStartNStopN" id="azul">
         <bind role="onSelection" component="imblue"/>
         <linkParam name="keyCode" value="BLUE"/>
          <bind role="start" component="img"/> 
          <bind role="stop" component="img1"/>
          <bind role="stop" component="img2"/>
	      <bind role="stop" component="img3"/>         	       	
        </link>
        
        <link xconnector="conector#onKeySelectionNStartNStopN" id="amarillo">
         <bind role="onSelection" component="imyellow"/>
         <linkParam name="keyCode" value="YELLOW"/>
          <bind role="start" component="img1"/>
          <bind role="stop" component="img"/>
          <bind role="stop" component="img2"/>
	      <bind role="stop" component="img3"/>        	
        </link>
        
        <link xconnector="conector#onKeySelectionNStartNStopN" id="rojo">
         <bind role="onSelection" component="imyred"/>
         <linkParam name="keyCode" value="RED"/>
            <bind role="start" component="img2"/>
            <bind role="stop" component="img"/>
          	<bind role="stop" component="img1"/>
	        <bind role="stop" component="img3"/>       	
        </link>
        
        <link xconnector="conector#onKeySelectionNStartNStopN" id="verde">
         <bind role="onSelection" component="imygreen"/>
         <linkParam name="keyCode" value="GREEN"/>
          <bind role="start" component="img3"/>
          <bind role="stop" component="img"/>
          <bind role="stop" component="img1"/>
	      <bind role="stop" component="img2"/>        	
        </link>
	</body>
</ncl>