<HTML>
<HEAD>
<TITLE>Re: [Q][NEWBIE]mp3 and other issues</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco"><TT>Stephan B. Wessels wrote <BR>
</TT></FONT><FONT SIZE="4"><FONT FACE="Arial">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>
I appreciate your tip, my solution on this is <BR>
!TEGMain methodsFor: 'fileIn/out' stamp: 'EDC 4/28/2002 15:19'!<BR>
resetFolder<BR>
&nbsp;&nbsp;&nbsp;&nbsp;FileDirectory setDefaultDirectory: oldFolder.! !<BR>
<BR>
!TEGMain methodsFor: 'fileIn/out' stamp: 'EDC 5/15/2002 15:00'!<BR>
setFolder<BR>
&nbsp;&nbsp;&nbsp;&nbsp;oldFolder _ FileDirectory default pathName.<BR>
newFolder _ FileList2 modalFolderSelector.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;FileDirectory setDefaultDirectory: newFolder pathName.! !<BR>
<BR>
And when I wish to access mp3 do<BR>
NewFolder pathName,FileEirectory slash, &#8216;filexxx.mp3-<BR>
<BR>
But I only a newbie.<BR>
The books said about &#8220;polimorfism&#8221; and then why you have to do different access methosds to files ?<BR>
This is my question</FONT></FONT>
</BODY>
</HTML>