Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Re: IE Load Movie Problem -- EUREKA!! |
From: | Wayne Pennell \( Web Master \) |
Date: | Wed, 12 Jul 2000 20:35:51 +0100 |
Great work! That's exactly what I meant when I refered to as absolute urls.
This way you don't have to restructure any new code.
Wayne Pennell
----- Original Message -----
From: "Larissa Holland" <larissa [dot] hmindspring [dot] com>
To: "user, flash" <flasherchinwag [dot] com>
Sent: Wednesday, July 12, 2000 3:53 PM
Subject: FLASH: Re: IE Load Movie Problem -- EUREKA!!
> We discovered(?) a more efficient way to solve our load movie problem
> (other than put all the flash movies in the same directory as the html,
> since base=. didn't solve the problem). FWIW, the following code appears
> to eliminate the Load Movie relative path problems in IE without
> hardcoding the URLs in the Flash movie. (Maybe this what some meant
> when they said to use absolute URLs, but we took it to mean hardcode
> them and that is just too much work. :))
>
> If (_level1/:_framesloaded<2)
> Set Variable: "url" = _url
> Set Variable: "URLIndex" = Length(url)
> Loop While (URLIndex>0)
> Set Variable: "char" = Substring(url,URLIndex,1)
> If ((char eq "/") or (char eq "\"))
> Set Variable: "url" = Substring(url,1,URLIndex)
> Set Variable: "URLIndex" = 0
> End If
> Set Variable: "URLIndex" = URLIndex-1
> End Loop
> Comment: Used loop above to back into a URL to get everything but
the
> movie name (i.e. the path). Then used the path to build the load movie
> name.
> This permits IE to find a movie's related sound file if we put all Flash
movies
> in their own folder.
> Load Movie (url&"sounds.swf", 1)
> End If
>
> We are now finally able to get the following to work in IE or Netscape!!!!
>
> <param name=movie value="../graphics_movies/Test/Test.swf">
>
> Good luck everyone.
>
> P.S.
> We are open to any suggestions on how to clean up the code, since we are
Flash
> newbies.
>
> P.P.S.
> It would be a LOT nicer if Macromedia and Microsoft would team up to get
the
> relative location loading of movies to work without all this code. (My
> inclination is to believe it is a Microsoft problem, since it seems to
> work in
> Netscape without this code.)
>
> --
> Greg Kreis Pioneer Data Systems, Inc.
> gkreisPioneerDataSys [dot] com http://www.PioneerDataSys.com
>
> I'd give my right arm to be ambidextrous...
>
> 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: Re: IE Load Movie Problem -- EURE, Larissa Holland
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]