Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Object/Embed Syntax For passing values? |
| From: | Jason Nugent |
| Date: | Thu, 20 Aug 1998 17:42:19 +0100 |
Hi Kelly,
You should create statement that writes the string to the
generator on the fly using a document.write() method. Something like
this, perhaps?
<SCRIPT language="JavaScript"><!--
var param = eval('<EMBED SRC="test.swt?name=' + JavaVar + '">');
document.write(param);
// -->
</SCRIPT>
And, when the page is first created the document.write statement will
create the embed src line with the proper variable attached to the end of
the flash template.
This assumes, however, that JavaVar is set when the page is created.
Is it?
hth,
Jason
On Thu, 20 Aug 1998, Kelly R. Kerr wrote:
> Now, I figured I could simply place:
>
> <EMBED SRC="test.swt?name="+JavaVar'
> or
> <PARAM NAME=movie VALUE="test.swt?name="+JavaVar>
>
> in the code, but it doesn't seem to be working. The movie plays, but
> does not see the value. When I test my var (alert(JavaVar)) the value
> is getting passed to the page, just not the movie.
>
> What am I missing?
>
> --
> Kelly R. Kerr
> Multi-Scribe
> "Out the 10Base-T, through the router, down the T1, over the
> leased-line, off the bridge, past the firewall... nothing but Net."
>
>
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manager
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manager
>
---------------------
Jason Nugent, BSc(Hons)
ap958
jason
Certified Webmaster
Visit IRT.org - Internet Related Technologies - http://www.irt.org
Articles on all aspects of internet development, including -
CGI/Perl, CSS, JavaScript, dHTML, Java, XML, HTML
********************************************************************
The Best Place for Sport on the net! - Sportscience www.sportsci.org
********************************************************************
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
Re: FLASH: Object/Embed Syntax For passi, Kelly R. Kerr
Replies
FLASH: Object/Embed Syntax For passing v, Kelly R. Kerr
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

