von dp am 28.Juli 97 um 00:27:27:
Mark,
Thanks for the clue and example. The platform and browser I was having
difficulty with was Windows '95, Internet Explorer 3.0 (...sorry for
neglecting to include that vital information). My problems are solved
and for the benefit of others I'm posting my results on Direct-L.
I had to change both the tag in the HTML page and the code in the
movie...
________________________________________________
Here's what I did:
In the HTML page I put the following tag:
<OBJECT CLASSID="clsid:166B1BCA-3F9C-11CF-8075-444553540000" CODEBASE="http://active.macromedia.com/director/cabs/sw.cab#version=5,0,1,61" WIDTH="400" HEIGHT="300" NAME="sw" ID="sw"> <PARAM NAME="SRC" VALUE="../myMovies/myMovie.dcr"> <PARAM NAME="sw1" VALUE="./myText.txt"> <EMBED SRC="../myMovies/myMovie.dcr" WIDTH=400 HEIGHT=300 parameter="./myText.txt"> </OBJECT>
In the movie I'm adjusted the following code:
MOVIE SCRIPT:
on ReadParams
if externalParamName("sw1") = "sw1" then
set myParam = externalParamValue("sw1")
return myParam
end if
if externalParamName("parameter") = "parameter" then
set myParam = externalParamValue("parameter")
return myParam
end if
end
FRAME 1:
on exitFrame
set myText = ReadParams()
GetNetText (MyText)
end
________________________________________________
... and now I'm ready to fly like the wind!
Thanks,
Barbara
D. Plänitz