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!]

Reply via email to