Pekka,

I've been looking for the same thing. Here is what I found in the manual
(although i havent tried it yet) :

if externalParamName ("swURLString") = "swURLString" then
     myVariable = externalParamValue ("swURLString")
end if

Check out those functions in the help/manual - i think they will do what you
want.

best wishes

Nick


----- Original Message -----
From: "Pekka Buttler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 8:36 AM
Subject: RE: <lingo-l> Retrieving HTML parameters from URL


> Umm.
>
> According to the documentation
> <QUOTE>
> Syntax member(whichCastMember).URL
>
> the URL of member whichCastMember
>
> Description Cast member property; specifies the URL for Shockwave Audio
> (SWA) and Flash movie cast members.
>
> For Flash movie members, this property is synonymous with the pathName
> member property.
> The URL property can be tested and set. For SWA members, it can be set
only
> when the SWA streaming cast member is stopped.
>
> Example This statement makes a file on an Internet server the URL for SWA
> cast member Benny Goodman:
>
> on mouseDown
> member("Benny Goodman").URL =
> "http://audio.macromedia.com/samples/classic.swa";
> end
> </QUOTE>
> The Url property is only applicable for SWA and Flash members, whereas I
> need the URL, which is in the Browser's adress box when the SW game is
being
> loaded.
> Something like location.search in Javascript.
>
> Pekka
>
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Colin Holgate
> > Sent: 20. heinakuuta 2001 18:08
> > To: [EMAIL PROTECTED]
> > Subject: Re: <lingo-l> Retrieving HTML parameters from URL
> >
> >
> > >I have the situation where on starting a shockwave game, the
> > engine gives me
> > >a parameter in the URL like
> > >http://xxx/numbers1.htm?lmsid=3
> > >
> > >Now I need to be able to get the data from the URL, especially the
> > >characters which come after the question mark.
> > >I'd hate having to use Javascript for it as I have more than 100
> > shockwave
> > >games and very little experience with javascript.
> >
> >
> > It should be easy:
> >
> > on getquerystuff theurl
> >      set id = the itemdelimiter  --remember this to be polite
> >      set the itemdelimiter = "?"
> >      delete item 1 of theurl
> >      set the itemdelimiter = id --reset it again to what it was
> >      return theurl
> > end
> >
> >
> > --
> >
> > [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!]
>
>


[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