Hi Dave, <br>I know that feeling well! Having programmed in many environments over the years, I recognise that Squeak has lots of great stuff under the covers, but it takes a lot of work to find your way around at first.<br>
<br>Here's how to load and run the application from scratch:<br><br>Start in a Morphic Project (the project you're in when you launch Squeak is actually morphic, so there's no need to open one specially except for tidyness).
<br><br>Click on the background. This will bring up the World menu. Choose &quot;open...&quot; then &quot;file list&quot;, which will bring up a file browser. <br><br>Navigate to the file and click on it. You will see that the buttons will change to include a &quot;file in&quot; button. Click that button!
<br><br>The code is then &quot;filed-in&quot; - you can look at it using the Browser (World menu&gt;open&gt;browser&nbsp; or cmd-B (Mac) / Alt-B (PC)).<br><br>To run it, open a Workspace (World menu&gt;open&gt;workspace, cmd-K) and type &quot;SampleImageViewerMorph new&quot; (without the quotes), and press cmd-D/alt-D at the end of the line - the application should then launch.
<br><br>Press the dir button to select a directory, then press enter in the directory text box, and enjoy the pictures!<br><br>I hope this helps.<br><br>Michael<br>&nbsp;<br>ps the other way to load the code is using the Monticello Browser against the 
<a href="http://squeaksource.com">squeaksource.com</a> code. This is really useful once you work out how to do it, especially for code that is likely to change. I'm sure I remember seeing an email that explained how to use it in great detail, but here's one from Avi Bryant that gives enough to get started:
<br><a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/2004-July/079958.html">http://lists.squeakfoundation.org/pipermail/squeak-dev/2004-July/079958.html</a><br>(change <a href="http://www.squeaksource.com/Graph%27">
http://www.squeaksource.com/Graph</a><br><div><span class="gmail_quote">to </span><a href="http://www.squeaksource.com/Graph%27">http://www.squeaksource.com/SampleImageViewer</a><span class="gmail_quote"> in this case).<br>
<br>On 10/16/06, <b class="gmail_sendername">Another Dave</b> &lt;<a href="mailto:dooright101@yahoo.com">dooright101@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Thanks for writing some commented SAMPLE CODE for us Squeak newbies. Very<br>NEEDED and appreciated!<br><br>I've been at this for about two weeks, and it's a little tough to make the<br>transition between making a car go in circles to writing something useful.
<br><br>I know enough to open a Morphic project, get your file list, and open it<br>with the zip viewer. This is as close to the &quot;file in&quot; as I can seem to get,<br>as the &quot;load file&quot; command will not show your file. I can load your code
<br>from there, but now what do I do with the blank screen? I'm obviously not<br>loading or running it properly.<br><br><br><br>--<br>View this message in context: <a href="http://www.nabble.com/Some-sample-code-to-help-understand-Morphic-applications-tf2451978.html#a6838362">
http://www.nabble.com/Some-sample-code-to-help-understand-Morphic-applications-tf2451978.html#a6838362</a><br>Sent from the Squeak - Beginners mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________
<br>Beginners mailing list<br><a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners
</a><br></blockquote></div><br>