<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. For this example, assume I have a folder named “Luna” inside my Squeak folder. And inside the “Luna” folder there is a file named “activeBottom.bmp”.<BR>
<BR>
fileName _ 'activeBottom.bmp'.<BR>
folderName _ 'Luna'.<BR>
folderDirectory _ FileDirectory default directoryNamed: folderName.<BR>
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>
FileDirectory setDefaultDirectory: oldFolder.! !<BR>
<BR>
!TEGMain methodsFor: 'fileIn/out' stamp: 'EDC 5/15/2002 15:00'!<BR>
setFolder<BR>
oldFolder _ FileDirectory default pathName.<BR>
newFolder _ FileList2 modalFolderSelector.<BR>
FileDirectory setDefaultDirectory: newFolder pathName.! !<BR>
<BR>
And when I wish to access mp3 do<BR>
NewFolder pathName,FileEirectory slash, ‘filexxx.mp3-<BR>
<BR>
But I only a newbie.<BR>
The books said about “polimorfism” and then why you have to do different access methosds to files ?<BR>
This is my question</FONT></FONT>
</BODY>
</HTML>