Estou com um problema na ferramenta composer:
Eu crio meus nós no modo visual(structural view, mas quando faço uma alteração no codigo(textual view) não roda mais nada, só carrega o controle remoto. Tenho que começar tudo denovo.
Se alguém sabe a solução ficarei grato.
Autor: Thiago Borborema
99 comentários
<ncl id="exemplo12" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile">
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! CABEÇALHO DO PROGRAMA
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <head> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! BASE DE REGIÕES:
! define as regiões na tela onde as mídias são apresentadas
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <regionBase>
<region id="rgTV" width="1080" height="768">
<region id="rgVideo1" left="448" top="100" width="1024" height="768" zIndex="1"/>
<region id="rgOpcao1" left="200" top="100" width="200" height="50" zIndex="2"/>
<region id="rgOpcao2" left="200" top="150" width="200" height="50" zIndex="2"/>
<region id="rgOpcao3" left="200" top="200" width="200" height="50" zIndex="2"/>
<region id="rgOpcao4" left="200" top="250" width="200" height="50" zIndex="2"/>
<region id="rgOpcao5" left="200" top="300" width="200" height="50" zIndex="2"/>
<region id="rgOpcao6" left="200" top="350" width="200" height="50" zIndex="2"/>
<region id="rgResultado" left="150" top="100" width="200" height="100" zIndex="2"/>
</region>
</regionBase> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! BASE DE DESCRITORES:
! define como as mídias são apresentadas
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <descriptorBase> <descriptor id="dOpcao3" region="rgOpcao3" focusIndex="3" moveDown="4" moveUp="2" focusBorderWidth="-2" focusBorderColor="blue"/>
<descriptor id="dOpcao2" region="rgOpcao2" focusIndex="2" moveDown="3" moveUp="1" focusBorderWidth="-2" ocusBorderColor="blue"/>
<descriptor id="dOpcao1" region="rgOpcao1" focusIndex="1" moveDown="2" focusBorderWidth="-2" focusBorderColor="blue"/> <descriptor id="dOpcao4" region="rgOpcao4" focusIndex="4" moveDown="5" moveUp="3" focusBorderWidth="-2" focusBorderColor="blue"/>
<descriptor id="dOpcao5" region="rgOpcao5" focusIndex="5" moveDown="6" moveUp="4" focusBorderWidth="-2" focusBorderColor="blue"/>
<descriptor id="dOpcao6" region="rgOpcao6" focusIndex="6" moveUp="5" focusBorderWidth="-2" focusBorderColor="blue"/> <descriptor id="dResultado" region="rgResultado"/>
<descriptor id="dVideo1" region="rgVideo1"/>
</descriptorBase> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! BASE DE REGRAS:
! definem regras utilizadas em switches para a seleção de nós
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <ruleBase>
<rule id="r1" var="opcao" comparator="eq" value="1"/>
<rule id="r2" var="opcao" comparator="eq" value="2"/>
<rule id="r3" var="opcao" comparator="eq" value="3"/>
<rule id="r4" var="opcao" comparator="eq" value="4"/>
<rule id="r5" var="opcao" comparator="eq" value="5"/>
<rule id="r6" var="opcao" comparator="eq" value="6"/>
</ruleBase> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! CABEÇALHO DO PROGRAMA
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! BASE DE CONECTORES:
! definem o comportamento dos elos
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <connectorBase>
<importBase alias="connBase" documentURI="c:/Program Files/Composer/Files/connectors/composerConnectorBase.conn"/> <causalConnector id="onSelectionSetNStartNStopN">
<connectorParam name="var"/> <simpleCondition role="onSelection"/>
<compoundAction operator="seq">
<simpleAction role="set" value="$var" max="unbounded" qualifier="par"/>
<simpleAction role="stop" max="unbounded" qualifier="par"/>
<simpleAction role="start" max="unbounded" qualifier="par"/>
</compoundAction>
</causalConnector> </connectorBase> </head> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! CORPO DO PROGRAMA:
! define as mídias e estrutura do programa
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <body> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! PONTO DE ENTRADA:
! indica o componente onde o programa inicia
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <media type="application/x-ginga-settings" id="nodeSettings">
<property name="opcao"/>
</media> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! MÍDIAS:
! define o local dos arquivos de mídia e as associa com seus descritores
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <media type="video/mpeg" id="video1" src="media/video1.mpg" descriptor="dVideo1"/>
<media type="image/gif" id="opcao1" src="media/opcao1.gif" descriptor="dOpcao1"/>
<media type="image/gif" id="opcao2" src="media/opcao2.gif" descriptor="dOpcao2"/>
<media type="image/gif" id="opcao3" src="media/opcao3.gif" descriptor="dOpcao3"/>
<media type="image/gif" id="opcao4" src="media/opcao4.gif" descriptor="dOpcao4"/>
<media type="image/gif" id="opcao5" src="media/opcao5.gif" descriptor="dOpcao5"/>
<media type="image/gif" id="opcao6" src="media/opcao6.gif" descriptor="dOpcao6"/> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! SWITCH:
! contém os nós dentre os quais um será selecionado
! com base nas regras definidas por bindRule
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<switch id="switchOpcao">
<!-- caso a regra ri seja válida, dispara o nó selecaoi --> <bindRule rule="r1" constituent="selecao1"/>
<bindRule rule="r2" constituent="selecao2"/>
<bindRule rule="r3" constituent="selecao3"/>
<bindRule rule="r4" constituent="selecao4"/>
<bindRule rule="r5" constituent="selecao5"/>
<bindRule rule="r6" constituent="selecao6"/> <media type="text/html" id="selecao1" src="media/selecao1.html" descriptor="dResultado"/>
<media type="text/html" id="selecao2" src="media/selecao2.html" descriptor="dResultado"/>
<media type="text/html" id="selecao3" src="media/selecao3.html" descriptor="dResultado"/>
<media type="text/html" id="selecao4" src="media/selecao4.html" descriptor="dResultado"/>
<media type="text/html" id="selecao5" src="media/selecao5.html" descriptor="dResultado"/>
<media type="text/html" id="selecao6" src="media/selecao6.html" descriptor="dResultado"/> </switch> <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! ELOS
! define os elos que regem o sincronismo entre as mídias
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--> <!-- início do vídeo 1 deve iniciar a exibição das opções --> <link id="Video1Start" xconnector="connBase#onBeginStartN">
<bind component="video1" role="onBegin"/>
<bind component="opcao1" role="start"/>
<bind component="opcao2" role="start"/>
<bind component="opcao3" role="start"/>
<bind component="opcao4" role="start"/>
<bind component="opcao5" role="start"/>
<bind component="opcao6" role="start"/>
</link> <link id="Selecao_OK1" xconnector="onSelectionSetNStartNStopN"> <bind role="onSelection" component="opcao1"/>
<bind role="set" interface="opcao" component="nodeSettings"/>
<bind role="start" component="switchOpcao"/>
<bind role="stop" component="video1"/>
<bind role="stop" component="opcao1"/>
<bind role="stop" component="opcao2"/>
<bind role="stop" component="opcao3"/>
<bind role="stop" component="opcao4"/>
<bind role="stop" component="opcao5"/>
<bind role="stop" component="opcao6"/>
</link> <link id="Selecao_OK2" xconnector="onSelectionSetNStartNStopN">
<bind component="opcao2" role="onSelection"/>
<bind component="nodeSettings" interface="opcao" role="set">
<bindParam name="var" value="2"/>
</bind>
<bind component="switchOpcao" role="start"/>
<bind component="video1" role="stop"/>
<bind component="opcao1" role="stop"/>
<bind component="opcao2" role="stop"/> <bind component="opcao3" role="stop"/>
<bind component="opcao4" role="stop"/>
<bind component="opcao5" role="stop"/>
<bind component="opcao6" role="stop"/>
</link> <link id="Selecao_OK3" xconnector="onSelectionSetNStartNStopN">
<bind component="opcao3" role="onSelection"/>
<bind component="nodeSettings" interface="opcao" role="set">
<bindParam name="var" value="3"/>
</bind>
<bind component="switchOpcao" role="start"/>
<bind component="video1" role="stop"/>
<bind component="opcao1" role="stop"/>
<bind component="opcao2" role="stop"/>
<bind component="opcao3" role="stop"/>
<bind component="opcao4" role="stop"/>
<bind component="opcao5" role="stop"/>
<bind component="opcao6" role="stop"/>
</link> <link id="Selecao_OK4" xconnector="onSelectionSetNStartNStopN">
<bind component="opcao4" role="onSelection"/>
<bind component="nodeSettings" interface="opcao" role="set">
<bindParam name="var" value="4"/>
</bind>
<bind component="switchOpcao" role="start"/>
<bind component="video1" role="stop"/>
<bind component="opcao1" role="stop"/>
<bind component="opcao2" role="stop"/>
<bind component="opcao3" role="stop"/>
<bind component="opcao4" role="stop"/>
<bind component="opcao5" role="stop"/>
<bind component="opcao6" role="stop"/>
</link> <link id="Selecao_OK5" xconnector="onSelectionSetNStartNStopN">
<bind component="opcao5" role="onSelection"/>
<bind component="nodeSettings" interface="opcao" role="set">
<bindParam name="var" value="5"/>
</bind>
<bind component="switchOpcao" role="start"/>
<bind component="video1" role="stop"/>
<bind component="opcao1" role="stop"/>
<bind component="opcao2" role="stop"/>
<bind component="opcao3" role="stop"/>
<bind component="opcao4" role="stop"/>
<bind component="opcao5" role="stop"/>
<bind component="opcao6" role="stop"/>
</link> <link id="Selecao_OK6" xconnector="onSelectionSetNStartNStopN">
<bind component="opcao6" role="onSelection"/>
<bind component="nodeSettings" interface="opcao" role="set">
<bindParam name="var" value="6"/>
</bind>
<bind component="switchOpcao" role="start"/>
<bind component="video1" role="stop"/>
<bind component="opcao1" role="stop"/>
<bind component="opcao2" role="stop"/> <bind component="opcao3" role="stop"/>
<bind component="opcao4" role="stop"/>
<bind component="opcao5" role="stop"/>
<bind component="opcao6" role="stop"/>
</link>
<port component="video1" id="port_exemplo12_video1"/>
</body> </ncl> Atenciosamente, Thiago