Saturday, November 22, 2008

Applets and Cotlets correction

if the line with getDocumentBase specifies the path as 

sound = getAudioClip( getDocumentBase(), "classes/au/bird_04.au");

then the Applet does find the .au file.

So I take back what I said about getDocumentBase not being able to follow a relative path.  It just has a different point from which relative paths are defined, one dir up from classes.

No comments: