Just checked again and actually not even all the default parameters that
gets created by the Publish command are recognized by the dcr.

In the HTML document that gets created by Director /where i use the "Object
and Embed" setting) this is what i get:
****************************************************************************
**
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#
version=8,5,0,0"
 ID=external width=320 height=240>

<param name=src value="external.dcr">
<param name=swRemote value="swSaveEnabled='true' swVolume='true'
swRestart='true' swPausePlay='true' swFastForward='true'
swContextMenu='true' ">
<param name=swStretchStyle value="none">
<PARAM NAME=bgColor VALUE=#000000>

<embed src="external.dcr" bgColor=#000000  width=320 height=240
swRemote="swSaveEnabled='true' swVolume='true' swRestart='true'
swPausePlay='true' swFastForward='true' swContextMenu='true' "
swStretchStyle=none
 type="application/x-director"
pluginspage="http://www.macromedia.com/shockwave/download/";></embed>

</object>
***********************************************************************
As You can see there is a parameter called swStretchStyle, that has the
value *none*
This parameter is not reported to the dcr. I can identify three parameters:
SRC, BGCOLOR and swRemote, as well as their values.
But not swStretchStyle or any parameter i create myself.

What�s happening?

Bjarne
_______________________________________________________
"solving a problem is not a case of finding a solution, it is a case of
finding
a set of easier problems that you already know how to solve."
James Newton


Bjarne Nyquist
Researcher, Lingo Programmer
The Interactive Institute, phone: +46-(0)8 783 24 74
www.interactiveinstitute.se
----- Original Message -----
From: "Bjarne Nyquist" <[EMAIL PROTECTED]>
To: "Lingo-L" <[EMAIL PROTECTED]>
Sent: 17 September, 2001 1:03 AM
Subject: <lingo-l> external parameters for shockwave


> Hi list
>
> Im woking on a generic swa player and I need to use the externalParams to
> tell the dcr which audio files to use.
>
> I have a problem making the dcr recognize my external parameters. Is there
a
> naming rule I should know about? Cant find anything in the docs that
> indicates that should be the case. I add parameters both in the <OBJECT>
and
> <EMBED> tags. I even copied one of the defult paramteres and just changed
> the name and value of it.
> Not even the externalParamCount() will see my params. Since i dont need
the
> swRemote i use that one at the moment and put my list of audio files as
the
> value. This works great, but as soon as I add a parameter of my own -
nada!!
>
> Anyone
>
> Bjarne
>
> _______________________________________________________
> "solving a problem is not a case of finding a solution, it is a case of
> finding
> a set of easier problems that you already know how to solve.
> James Newton
>
>
> Bjarne Nyquist
> Researcher, Lingo Programmer
> The Interactive Institute, phone: +46-(0)8 783 24 74
> www.interactiveinstitute.se
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/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!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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