{
//LOAD 3DS FILE
this.setAction(IProgressListener.ACTION_FILE_DOWNLOAD);
ProgressListener pl=new ProgressListener();
IOManagerAsynch aLoader = new IOManagerAsynch();
aLoader.downloadData(this.baseURL+this.fileName, getClass(), null, pl, false);
while(aLoader.running || !pl.getFinished())
{
this.setProgress((50*(pl.getProgress())/pl.getMaximumProgress()));
try
{
Thread.sleep(5);
}
catch(InterruptedException ie)
{
pl.setFinished(true);
pl.setError(true);
return;
}
}
this.data=aLoader.getData();
if(pl.getError() || this.data==null)
{
this.setError(true);
this.setFinished(true);
return;