<div dir="ltr">Leo, estoy de acuerdo con lo que dice el log. Lo que necesito es que me den una mano de como hacer que se produzcan dos eventos con NCL. <div><br></div><div>Esto es lo que quiero hacer: cuando mueva el foco de una imagen a otra, se cambie el texto. Pensé en captar un evento desde Lua enviado por NCL y que este le envíe algo a NCL para decirle para este Texto y que arranque el otro.</div>
<div><br></div><div style>Con respecto a lo que dice el log, es increible. El ejemplo lo saque de las filminas del Lifia. </div><div style><br></div><div style>Debería volver a la versión 1.3 o seguir con la 2.0?</div><div style>
<br></div><div style>Saludos y muchas gracias,</div><div style><br></div><div style>Ignacio</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 7:00 AM,  <span dir="ltr">&lt;<a href="mailto:ginga-argentina-request@lists.ourproject.org" target="_blank">ginga-argentina-request@lists.ourproject.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Ginga-argentina mailing list submissions to<br>
        <a href="mailto:ginga-argentina@lists.ourproject.org">ginga-argentina@lists.ourproject.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:ginga-argentina-request@lists.ourproject.org">ginga-argentina-request@lists.ourproject.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ginga-argentina-owner@lists.ourproject.org">ginga-argentina-owner@lists.ourproject.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Ginga-argentina digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Problemas con el cambio de source (Leo)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 5 Jun 2013 21:19:49 -0300<br>
From: Leo &lt;<a href="mailto:lisasmendi@lifia.info.unlp.edu.ar">lisasmendi@lifia.info.unlp.edu.ar</a>&gt;<br>
Subject: Re: [Ginga-argentina] Problemas con el cambio de source<br>
To: Lista de la comunidad argentina de Ginga<br>
        &lt;<a href="mailto:ginga-argentina@lists.ourproject.org">ginga-argentina@lists.ourproject.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAN7x8EoM3oh9GKV2tqsj-=<a href="mailto:vY3tExqBrLLyqf7Yvd73mkHk_LiA@mail.gmail.com">vY3tExqBrLLyqf7Yvd73mkHk_LiA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hola Ignacio, el cambio de src de un media no est? permitido.<br>
<br>
Eso es lo que te indica el log de la consola.<br>
<br>
[ncl30-presenter::FormatterPlayerAdapter] WARNING: property src not<br>
supported<br>
<br>
<br>
<br>
<br>
El 5 de junio de 2013 17:09, Ignacio Giagante &lt;<a href="mailto:igiagante@gmail.com">igiagante@gmail.com</a>&gt;escribi?:<br>
<br>
&gt; Gente, estoy empezando a hacer una aplicacion y hace dos semanas que estoy<br>
&gt; parado con el mismo problema.<br>
&gt;<br>
&gt; Lo que intento hacer es que al apretar la flecha izquierda se genere un<br>
&gt; evento de onEndAttribution para cambiar la fuente de un texto, es decir,<br>
&gt; quiero cambiar el texto viejo por uno nuevo.<br>
&gt;<br>
&gt; Cuando quiero ejecutar el evento, mi dice lo siquiente....<br>
&gt;<br>
&gt;    --------------------------| Ginga.ar 2.0.0 ()<br>
&gt; |--------------------------<br>
&gt; izquierda<br>
&gt; [ncl30-presenter::FormatterPlayerAdapter] WARNING: property src not<br>
&gt; supported<br>
&gt; [ncl30-presenter::FormatterScheduler] WARNING: could not prepare player<br>
&gt;<br>
&gt; No se que puede ser. Intente correr mi aplicaci?n con Ginga 1.3, pero<br>
&gt; revento por todos lados. Le? que no soporta focusBorderTransparency, pero<br>
&gt; saque este atributos de los descriptores y lo mismo.<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------ C?digo NCL<br>
&gt; -------------------------------------------------------------------------<br>
&gt;<br>
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br>
&gt; &lt;!-- Generated by NCL Eclipse --&gt;<br>
&gt; &lt;ncl id=&quot;test&quot; xmlns=&quot;<a href="http://www.ncl.org.br/NCL3.0/EDTVProfile" target="_blank">http://www.ncl.org.br/NCL3.0/EDTVProfile</a>&quot;&gt;<br>
&gt;  &lt;head&gt;<br>
&gt;  &lt;transitionBase&gt;<br>
&gt; &lt;transition id=&quot;transFade&quot; type=&quot;fade&quot;/&gt;<br>
&gt;  &lt;transition id=&quot;transbarWipe&quot; type=&quot;barWipe&quot;/&gt;<br>
&gt; &lt;/transitionBase&gt;<br>
&gt;  &lt;regionBase&gt;<br>
&gt; &lt;region id=&quot;regionBackground&quot; width=&quot;100%&quot; height=&quot;100%&quot; zIndex=&quot;1&quot;&gt;<br>
&gt;  &lt;region id=&quot;regionImagen1&quot; top=&quot;50&quot; left=&quot;50&quot; height=&quot;25%&quot; width=&quot;25%&quot;/&gt;<br>
&gt;  &lt;region id=&quot;regionImagen2&quot; top=&quot;50&quot; left=&quot;270&quot; height=&quot;25%&quot; width=&quot;25%&quot;/&gt;<br>
&gt; &lt;region id=&quot;regionImagen3&quot; top=&quot;50&quot; left=&quot;490&quot; height=&quot;25%&quot; width=&quot;25%&quot;/&gt;<br>
&gt;  &lt;region id=&quot;regionTitulo&quot; top=&quot;230&quot; left=&quot;280&quot; right=&quot;230&quot;/&gt;<br>
&gt;  &lt;region id=&quot;regionBGTexto&quot; top=&quot;350&quot; left=&quot;50&quot; bottom=&quot;25&quot; right=&quot;50&quot;&gt;<br>
&gt;  &lt;region id=&quot;regionTexto&quot; top=&quot;15&quot; left=&quot;25&quot; /&gt;<br>
&gt; &lt;/region&gt;<br>
&gt; &lt;region height=&quot;100%&quot; id=&quot;videoReg&quot; left=&quot;0%&quot; top=&quot;0%&quot; width=&quot;100%&quot;<br>
&gt; zIndex=&quot;1&quot;/&gt;<br>
&gt;  &lt;region id=&quot;regionLua&quot; height=&quot;100%&quot; width=&quot;100%&quot; /&gt;<br>
&gt; &lt;/region&gt;<br>
&gt; &lt;/regionBase&gt;<br>
&gt;<br>
&gt; &lt;descriptorBase&gt;<br>
&gt; &lt;descriptor id=&quot;descBackground&quot; region=&quot;regionBackground&quot;/&gt;<br>
&gt;  &lt;descriptor id=&quot;descImagen1&quot; region=&quot;regionImagen1&quot;<br>
&gt; focusIndex=&quot;1&quot;<br>
&gt;  focusBorderWidth=&quot;5&quot;<br>
&gt; focusBorderColor=&quot;silver&quot;<br>
&gt; focusBorderTransparency=&quot;30%&quot;<br>
&gt;  moveLeft=&quot;3&quot;<br>
&gt; moveRight=&quot;2&quot;/&gt;<br>
&gt;  &lt;descriptor id=&quot;descImagen2&quot; region=&quot;regionImagen2&quot;<br>
&gt;     focusIndex=&quot;2&quot;<br>
&gt; focusBorderWidth=&quot;5&quot;<br>
&gt;  focusBorderColor=&quot;silver&quot;<br>
&gt; focusBorderTransparency=&quot;30%&quot;<br>
&gt; moveLeft=&quot;1&quot;<br>
&gt;  moveRight=&quot;3&quot;/&gt;<br>
&gt;  &lt;descriptor id=&quot;descImagen3&quot; region=&quot;regionImagen3&quot;<br>
&gt;      focusIndex=&quot;3&quot;<br>
&gt; focusBorderWidth=&quot;5&quot;<br>
&gt; focusBorderColor=&quot;silver&quot;<br>
&gt;  focusBorderTransparency=&quot;30%&quot;<br>
&gt; moveLeft=&quot;2&quot;<br>
&gt; moveRight=&quot;1&quot;/&gt;<br>
&gt;  &lt;descriptor id=&quot;descBGTexto&quot; region=&quot;regionBGTexto&quot;/&gt;<br>
&gt;  &lt;descriptor id=&quot;descTitulo&quot; region=&quot;regionTitulo&quot;<br>
&gt; transIn=&quot;transbarWipe&quot; transOut=&quot;transFade&quot; explicitDur=&quot;5s&quot;&gt;<br>
&gt;  &lt;descriptorParam name=&quot;fontColor&quot; value=&quot;silver&quot;/&gt;<br>
&gt; &lt;descriptorParam name=&quot;fontSize&quot; value=&quot;60&quot;/&gt;<br>
&gt;  &lt;/descriptor&gt;<br>
&gt;  &lt;descriptor id=&quot;descTexto&quot; region=&quot;regionTexto&quot;&gt;<br>
&gt;  &lt;descriptorParam name=&quot;fontColor&quot; value=&quot;navy&quot;/&gt;<br>
&gt; &lt;descriptorParam name=&quot;fontSize&quot; value=&quot;30&quot;/&gt;<br>
&gt;  &lt;descriptorParam name=&quot;fontFamily&quot; value=&quot;Tiresias&quot;/&gt;<br>
&gt; &lt;/descriptor&gt;<br>
&gt;  &lt;descriptor id=&quot;videoDesc&quot; region=&quot;videoReg&quot;/&gt;<br>
&gt;  &lt;descriptor id=&quot;descLua&quot; region=&quot;regionLua&quot; /&gt;<br>
&gt;  &lt;/descriptorBase&gt;<br>
&gt;  &lt;connectorBase&gt;<br>
&gt;  &lt;causalConnector id=&quot;onEndAttributionStopSetStart&quot;&gt;<br>
&gt; &lt;connectorParam name=&quot;var&quot;/&gt;<br>
&gt;  &lt;simpleCondition role=&quot;onEndAttribution&quot;/&gt;<br>
&gt; &lt;compoundAction operator=&quot;seq&quot;&gt;<br>
&gt;  &lt;simpleAction role=&quot;stop&quot;/&gt;<br>
&gt; &lt;simpleAction role=&quot;set&quot; value=&quot;$var&quot;/&gt;<br>
&gt;  &lt;simpleAction role=&quot;start&quot;/&gt;<br>
&gt; &lt;/compoundAction&gt;<br>
&gt; &lt;/causalConnector&gt;<br>
&gt;<br>
&gt; &lt;/connectorBase&gt;<br>
&gt;<br>
&gt; &lt;/head&gt;<br>
&gt;<br>
&gt; &lt;body&gt;<br>
&gt;  &lt;port id=&quot;pLua&quot; component=&quot;lua&quot;/&gt;<br>
&gt; &lt;port id=&quot;pBackground&quot; component=&quot;background&quot;/&gt;<br>
&gt;  &lt;port id=&quot;pBGTexto&quot; component=&quot;bgTexto&quot;/&gt;<br>
&gt; &lt;port id=&quot;pTexto1&quot; component=&quot;texto1&quot;/&gt;<br>
&gt;  &lt;port id=&quot;pTitulo&quot; component=&quot;titulo&quot;/&gt;<br>
&gt;  &lt;port id=&quot;pImagen1&quot; component=&quot;imagen1&quot;/&gt;<br>
&gt; &lt;port id=&quot;pImagen2&quot; component=&quot;imagen2&quot;/&gt;<br>
&gt;  &lt;port id=&quot;pImagen3&quot; component=&quot;imagen3&quot;/&gt;<br>
&gt;  &lt;media id=&quot;background&quot; src=&quot;../media/background2.jpg&quot;<br>
&gt; descriptor=&quot;descBackground&quot;/&gt;<br>
&gt;  &lt;media id=&quot;titulo&quot; src=&quot;../media/fito.txt&quot; descriptor=&quot;descTitulo&quot;/&gt;<br>
&gt;  &lt;media id=&quot;bgTexto&quot; src=&quot;../media/bgPaper.jpg&quot; descriptor=&quot;descBGTexto&quot;<br>
&gt; /&gt;<br>
&gt;  &lt;media id=&quot;texto1&quot; src=&quot;../media/texto1.txt&quot; descriptor=&quot;descTexto&quot;&gt;<br>
&gt; &lt;property name=&quot;src&quot;/&gt;<br>
&gt;  &lt;/media&gt;<br>
&gt;<br>
&gt; &lt;media id=&quot;imagen1&quot; src=&quot;../media/ortiga.jpg&quot; descriptor=&quot;descImagen1&quot;/&gt;<br>
&gt;  &lt;media id=&quot;imagen2&quot; src=&quot;../media/melisa.jpg&quot; descriptor=&quot;descImagen2&quot;/&gt;<br>
&gt; &lt;media id=&quot;imagen3&quot; src=&quot;../media/regaliz.jpg&quot; descriptor=&quot;descImagen3&quot;/&gt;<br>
&gt;  &lt;media id=&quot;video&quot; src=&quot;../media/oficina.mp4&quot; descriptor=&quot;videoDesc&quot;&gt;<br>
&gt; &lt;property name=&quot;bounds&quot;/&gt;<br>
&gt;  &lt;/media&gt;<br>
&gt;<br>
&gt; &lt;media id=&quot;lua&quot; descriptor=&quot;descLua&quot; src=&quot;test.lua&quot;&gt;<br>
&gt;  &lt;property name=&quot;tecla&quot;/&gt;<br>
&gt;   &lt;property name=&quot;srcNuevo&quot;/&gt;<br>
&gt;   &lt;/media&gt;<br>
&gt;<br>
&gt; &lt;link xconnector=&quot;onKeySelectionSet&quot;&gt;<br>
&gt; &lt;bind component=&quot;lua&quot; role=&quot;onSelection&quot;&gt;<br>
&gt;  &lt;bindParam name=&quot;keyCode&quot; value=&quot;CURSOR_LEFT&quot;/&gt;<br>
&gt; &lt;/bind&gt;<br>
&gt; &lt;bind component=&quot;lua&quot; role=&quot;set&quot; interface=&quot;tecla&quot; &gt;<br>
&gt;  &lt;bindParam name=&quot;var&quot; value=&quot;left&quot; /&gt;<br>
&gt; &lt;/bind&gt;<br>
&gt; &lt;/link&gt;<br>
&gt;<br>
&gt;     &lt;!-- links para las devoluciones de lua --&gt;<br>
&gt; &lt;link xconnector=&quot;onEndAttributionStopSetStart&quot;&gt;<br>
&gt;  &lt;bind role=&quot;onEndAttribution&quot; component=&quot;lua&quot; interface=&quot;srcNuevo&quot;/&gt;<br>
&gt; &lt;bind role=&quot;stop&quot; component=&quot;texto1&quot;/&gt;<br>
&gt;  &lt;bind role=&quot;getValue&quot; component=&quot;lua&quot; interface=&quot;srcNuevo&quot;/&gt;<br>
&gt; &lt;linkParam name=&quot;var&quot; value=&quot;$getValue&quot;/&gt;<br>
&gt;  &lt;bind role=&quot;set&quot; component=&quot;texto1&quot; interface=&quot;src&quot;/&gt;<br>
&gt; &lt;bind role=&quot;start&quot; component=&quot;texto1&quot;/&gt;<br>
&gt;  &lt;/link&gt;<br>
&gt;<br>
&gt; &lt;/body&gt;<br>
&gt; &lt;/ncl&gt;<br>
&gt;<br>
&gt; ---------------------------------C?digo<br>
&gt; Lua------------------------------------------------<br>
&gt;<br>
&gt; function handler(evt)<br>
&gt;<br>
&gt; local evento = {<br>
&gt;  class = &#39;ncl&#39;,<br>
&gt; type = &#39;attribution&#39;,<br>
&gt; name = &#39;srcNuevo&#39;,<br>
&gt;  value=&#39;../media/texto2.txt&#39;}<br>
&gt;  if evt.value == &quot;left&quot; then<br>
&gt;  print(&quot;izquierda&quot;)<br>
&gt; evento.action = &quot;start&quot;<br>
&gt; event.post(evento)<br>
&gt;  evento.action = &quot;stop&quot;<br>
&gt; event.post(evento)<br>
&gt; end<br>
&gt;<br>
&gt; end--end function<br>
&gt;<br>
&gt; event.register(handler)<br>
&gt;<br>
&gt; __________________________________________Lista de correo<br>
&gt; <a href="mailto:Ginga-argentina@lists.ourproject.org">Ginga-argentina@lists.ourproject.org</a><br>
&gt; cambiar suscripci&amp;#243;n:<br>
&gt; <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>
&gt; Sitio web: <a href="http://comunidad.ginga.org.ar" target="_blank">http://comunidad.ginga.org.ar</a><br>
&gt; Wiki: <a href="http://wiki.ginga.org.ar" target="_blank">http://wiki.ginga.org.ar</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Saludos Leo<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20130605/dc883a28/attachment-0001.htm" target="_blank">https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20130605/dc883a28/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Ginga-argentina mailing list<br>
<a href="mailto:Ginga-argentina@lists.ourproject.org">Ginga-argentina@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>
<br>
<br>
End of Ginga-argentina Digest, Vol 45, Issue 6<br>
**********************************************<br>
</blockquote></div><br></div>