weird altBrowser problem

Terry Judd tsj at unimelb.edu.au
Thu May 31 23:23:02 EDT 2007


Luis' suggestion to load a small local file first is a good one (a blank
page works fine). I've had to do it a few times.

Terry...

> Hiya,
> 
> I'd say it's a spin-up issue. Insert a delay and see if that stops it
> from happening. Or: Prior to the URL fetch ask it to read in a small
> text file from the CD to get it going and then fetch the URL. Or: Get
> the volume info OF THE CD. Essentially they are just different ways
> to get the drive to spin-up.
> I've found 'fast' old drives take longer to spin-up.
> 
> Cheers,
> 
> Luis.
> 
> 
> On 31 May 2007, at 18:14, jbv wrote:
> 
>> Hi list,
>> 
>> I am struggling with a problem involving altBrowser on Windows.
>> 
>> I have a standalone that uses altBrowser to display local html files
>> that include swf files. On each html file I have included the
>> client-side
>> flash plug-in detection script fund on the Adobe website.
>> 
>> When the standalone runs on my HD, everything works fine.
>> But when it runs on a CD-Rom, sometimes (and only sometimes), when
>> loading the local html file (also on the CD-Rom), altBrowser briefly
>> displays an error message (the kind of message you get online when
>> your browser can't access an url), and then loads the html + swf files
>> correctly..
>> This problem occurs only seldom, and on some Win boxes only...
>> 
>> I'm using the standard revBrowserOpen( windowId, url) found in the
>> docs.
>> 
>> Does anyone know what can cause this ? Is it related to the delay
>> needed for loading the files on the CD-Rom ? Is there a way to
>> avoid it
>> ?
>> 
>> Thanks in advance,
>> 
>> JB

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187




More information about the use-livecode mailing list