On Tue, 8 Feb 2000, David Cramer wrote:

> Hi all,
> 
> I just spent some more time exploring my old Hansel and Gretel 
> problem, i.e., the Case of the Lost Path. Having sprinkled bread 
> crumbs liberally, I can now report that the problem I thought I had 
> in January with losing graphics in MC stacks accessed from a browser 
> does not seem to have anything to do with the way I was 
> linking/importing the graphics, but rather with a more fundamental 
> phenomenon I hadn't expected, the fact that a stack's sense of its 
> current location was getting trashed by Windows.
> 
> At least, relative references in general don't work when a MetaCard 
> stack is accessed from a browser in Windows 95. I guess this may have 
> been reported, but I don't remember it being mentioned.
> 
> It seems to work OK on the Mac, and possibly Win NT, but not Windows 95.
> 
> I don't mind rewording the scripting references to stacks and 
> graphics to make them into absolute references using a global 
> variable set when any stack opens, but it seems odd that relative 
> references wouldn't be better supported. Is this just some more 
> Windows naughtiness or what?

Just out of curiosity, what is the current directory when MetaCard is
started up from the browser on Windows 95?  Short of scanning the
entire disk, I can't think of any way to make this reliably work on
*any* platform if you're using relative paths to your media files.
You're never guaranteed to be in a particular directory when a stack
is run from a browser window, so you *always* have to set the
directory property as the very first step, before the stack even
opens.
  Regards,
    Scott

> Regards,
> 
> David
> -- 
> David Cramer, Process Innovation Evangelist          87-1313 Border Street
> PBSC Computer Training Centres (an IBM company)      Winnipeg MB R3H 0X4
> Corporate Office Research & Development              Canada
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to