Hello, I tested this and it worked.<br><br>    html image id: &#39;lala&#39;;<br>         url: SUAllTestLibrary / #logoGif.<br><br>    html anchor onClick: (html element id: &#39;lala&#39;;         <br>            replace: [:render | render image id: &#39;lala&#39;;<br>
                     url: SUAllTestLibrary / #demoGif]);<br>         with: &#39;change&#39;.<br><br>So I suppose that your error is that you didn&#39;t use a block to render the new image.<br>Hope that helps<br>Santiago<br>
<br><br><div class="gmail_quote">2009/5/21 John Chludzinski <span dir="ltr">&lt;<a href="mailto:john.chludzinski@gmail.com">john.chludzinski@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m trying to push PNG files as part of a &quot;presentation app&quot;.  I tried looking at CTCounter and using #update: as an example to follow.  The method CTCounter&gt;&gt;update: sends the  message SUElement&gt;&gt;update:.  The instance of WAImageTag in my app that I&#39;m trying to update (with a new PNG file) is given an id (by senting the message #id:).  Using this id I tried to update the image:<br>

<br>    self pusher javascript: [ :script |<br>        script element<br>            id: &#39;WWW&#39;;<br>            update: (MMAFileLibrary / self getCurrentPageFile) asString].   &quot;An instance of WAUrl.&quot;<br>
<br>
This failed.  Tried using SUElement&gt;&gt;replace:<br><br>    self pusher javascript: [ :script |<br>        script element<br>            id: &#39;WWW&#39;;<br>            replace: (html image url: MMAFileLibrary / self getCurrentPageFile)].   &quot;An instance of WAImageTag .&quot;<br>

<br>This resulted in the string &#39;a WAImageTag&#39; being pushed to other browsers.<br><br>Any ideas?<br><font color="#888888"><br>---John<br>
</font><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br>