Hang on, I think I may have misunderstood your question are you trying to
control the movie from the page, rather than issue a JavaScript command from
the movie?

If so, then you can use EvalScript to send messages to the movie, but it
dosen't work in all browsers. Alternatively, you can use DHTML to rewrite
the contents of a layer (using a DIV tag with an ID) where the movie embed
tags are inside that DIV. However, I haven't evert tried the latter with a
Shockwave plugin, but I expect it will give very different results on
different browsers. Finally, you could use frames.

If you /are/ planning to issue JavaScript commands form inside the movie,
which is what I originally thought you meant, then I still don't see any
reason why you would do that.

- Robert

----- Original Message -----
From: "Tab Julius" <[EMAIL PROTECTED]>


>
> Because the .dcr will be embedded in a page with some other things, and
> visually we don't want the disruption of the whole page changing when the
> only thing that needs to change is the shockwave data.  I don't know if it
> IS possible, but I'm trying to find out.

[ order or replies reversed for consistency ]

> At 02:40 AM 6/8/02 +0100, Robert Tweed wrote:
> >
> >Why do you need to reload the movie, why not just store the variables
> >internally? If you want to change what is physically written to the page
> >then JavaScript isn't your best bet anyway: you should just reload the
> >entire page with gotoNetPage.
> >
> >- Robert
> >
> >----- Original Message -----
> >From: "Tab Julius" <[EMAIL PROTECTED]>
> > >
> > > If I have a page, with an embedded Shockwave movie, and some params to
it,
> > > is it possible to issue a Javascript command (and if so, WHICH
command) to
> > > basically refresh the embedded Shockwave, with a new set of params,
> >without
> > > reloading the whole page?  I guess one way around it would be some
sort of
> > > a form submit that the Shockwave polled for, but that seems crude.
> >
> >I really can't think of any good reason to use JavaScript for this.
> >JavaScript/Shockwave interaction is extremely buggy, i.e., not supported
by
> >all browser versions. That's at the best of times; the rest of the time
it
> >is turned off completely.


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to