<HTML>
<HEAD>
<TITLE>Re: [Q][NEWBIE]mp3 and other issues</TITLE>
</HEAD>
<BODY>
<FONT FACE="Arial">That sounds like a fun project.<BR>
<BR>
If you are having problems because the StreamingMP3Sounds class expects full path names, you could construct the complete file path from your &#8220;relative&#8221; one.<BR>
<BR>
Try something out like this. &nbsp;For this example, assume I have a folder named &#8220;Luna&#8221; inside my Squeak folder. &nbsp;And inside the &#8220;Luna&#8221; folder there is a file named &#8220;activeBottom.bmp&#8221;.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;fileName _ 'activeBottom.bmp'.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;folderName _ 'Luna'.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;folderDirectory _ FileDirectory default directoryNamed: folderName.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;fullName _ folderDirectory fullNameFor: fileName.<BR>
<BR>
&#8220;FileDirectory default&#8221; always answers the directory containing your Squeak image file. &nbsp;Presumably you can establish a relative path from there without problem.<BR>
<BR>
The #directoryNamed: method will answer the directory of the named folder or sub-directory.<BR>
The #fullNameFor: method answers the full file path resolved which you could then pass on to the StreamingMP3Sounds class.<BR>
<BR>
Hope that helps,<BR>
<BR>
&nbsp;- Steve<BR>
<BR>
<BR>
On 5/22/02 9:39 PM, &quot;Lic. Edgar J. De Cleene&quot; &lt;edgardec2001@yahoo.com.ar&gt; wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE="Verdana">I try to aded sound effects to our game in progress (TEG clone of Risk)<BR>
I record old series &#8220;Combat&#8217; from TV with SoundJam on my Mac and do some cutting with mEdit b 1.03 and found this problems.<BR>
Cuttiings mp3 not playing in Squeak (original recording yes) <BR>
Other software on &nbsp;Mac working fine.<BR>
Also , I keep auxiliary &nbsp;files in a folder (.gif, .jpg, etc) for accessing .<BR>
I set the folder once at start and later if I wish use any of them only set the name of file ej, filexxx.gif.<BR>
This is not the case with mp3 files, seems the only method is tell the complete path to StreamingMP3Sound onFileNamed: path.<BR>
I appreciate any advice to this problems<BR>
Edgar De Cleene<BR>
</FONT></BLOCKQUOTE><FONT FACE="Arial"><BR>
</FONT>
</BODY>
</HTML>