Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Relative URL from Flash MC in Netscape and Explorer |
From: | Jon Williams |
Date: | Tue, 27 Jun 2000 14:23:11 +0100 |
you might be able to use a <base href="http://www.blah.com/whatever.swf>
tag to tell the html page to look in the same spot that the swf is looking in.
I always put my html / swf / txt files in the same spot,
so, I'm not completely sure. (this technique should work
great on the CD)
Alternatively, you could create a "docRoot"
variable that you pass around so that you don't have
to screw around with relative paths at all. I've done
this before, but I've never implemented it on anything
very complex.
hope that helps
-jon
Ulf Schmidt wrote:
> Hi,
>
> this ist a difficult question I think:
> I've made an Flash MC wicht includes 4 possible ways to run.
> It's placed at one Webserver www.123.de and ist called from 3 other html
> documents on other Servers, www.456.de www.789.de www.abc.de (not the real
> Servernames of course!).
> I'd like to place an ASCII file at any of those Servers which then tells the
> SWF wich way to run.
> The ActionScript command is :Load Variables ("wo.txt", 0, vars=GET)
> I want it to load an ASCII file in the same Path as the HTML.
> So far so good.
> What hat happens is:
> In explorer relativ paths are defined from the HTML dokument (good one!),
> this means my idea works..
> But Netscape uses the Flash movie as starting point for the relative Path
> and doesn't load the right ASCII file!
> Of coure I can put the Movie in each Domain, but my idea was to use the
> browser cache so that the user loads the movie one time and it flexible
> shows what is needet!
>
> The only way I think woud work is using a CGI wich tells the Movie from
> where its called.
>
> Now the Question:
> Is there better way, more easy than using a CGI?
>
> Thanks for any help
>
> Ulf
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Relative URL from Flash MC in Net, Ulf Schmidt
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]