Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Object/Embed Syntax For passing values? |
From: | Kelly R. Kerr |
Date: | Thu, 20 Aug 1998 22:41:00 +0100 |
Jason,
I got that to work in Netscape 4.0, but the problem I am having now is trying
to get IE 4.0 to recognize a variable in place of the movie name in the
<PARAM NAME=movie VALUE= myvar>
statement. I have tried VALUE="test.swt"+myvar> and very combination I can
think of and nothing. What am I missing? I know it is something
simple.......
Thanks for your help and any thoughts.
Kelly
Jason Nugent wrote:
> 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-managershocker [dot] com. Problems to: ownershocker [dot] com
> > 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-managershocker [dot] com
> >
>
> ---------------------
> Jason Nugent, BSc(Hons)
> ap958chebucto [dot] ns [dot] ca "This is who we are."
> jasonirt [dot] org
> 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-managershocker [dot] com. Problems to: ownershocker [dot] com
> 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-managershocker [dot] com
--
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-managershocker [dot] com. Problems to: ownershocker [dot] com
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-managershocker [dot] com
Replies
Re: FLASH: Object/Embed Syntax For passi, Jason Nugent
Replies
Re: FLASH: Object/Embed Syntax For passi, Jason Nugent
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]