Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: telling a swf what html file it's in |
From: | Helen Triolo |
Date: | Wed, 17 May 2000 15:30:48 +0100 |
Steven Shand wrote:
>
> I'm sure I read a while ago that you could feed a variable back to a swf
> from an HTML file. My swf will be loaded into a few different html pages and
> I need the swf to display a different property depending on what HTML file
> it's in. Is this possible.
>
You could pass the name of the file to Flash as a variable like this:
<OBJECT ...>
<PARAM NAME="movie" VALUE="yourmovie.swf?caller=file1.html">
<EMBED SRC="yourmovie.swf?caller=file1.html"
...>
</EMBED>
</OBJECT>
and change the value of caller to reflect the html file name. There is
also a _url property you can reference in Flash, but that returns the
swf name, not the html in which it is embedded.
hth,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designeri-technica [dot] com � 301-424-6037
----------------------------------------
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: telling a swf what html file it's, Steven Shand
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]