4 Replies Latest reply on Dec 4, 2007 6:49 AM by cubelan2

    Passing vars from HTML to Lingo

    cubelan2
      Hello.
      When I load a .dcr movie of Director in my HTML file, I would like to send to the movie some vars.
      In Flash it's easy to do it, you simply load the file, for example, mymovie.swf?myvar=1&mysecondvar=peter

      But I try the same thing in Director and it does not work.
      I would like to know then to pass a var to my shockwave when I load it in my HTML file.

      Could you tell me how to do such thing?

      Thank you a lot.
        • 1. Re: Passing vars from HTML to Lingo
          danieloizo
          I've done it with a XML file, never tried with HTML.
          • 2. Re: Passing vars from HTML to Lingo
            Level 7
            cubelan2 wrote:
            > When I load a .dcr movie of Director in my HTML file, I would like to
            > send to the movie some vars.
            > In Flash it's easy to do it, you simply load the file, for example,
            > mymovie.swf?myvar=1&mysecondvar=peter
            >
            > But I try the same thing in Director and it does not work.
            > I would like to know then to pass a var to my shockwave when I load
            > it in my HTML file.
            >
            > Could you tell me how to do such thing?

            Does using the swParam parameters help?

            Andrew


            • 3. Re: Passing vars from HTML to Lingo
              cubelan2 Level 1
              quote:

              Originally posted by: Newsgroup User
              cubelan2 wrote:
              > When I load a .dcr movie of Director in my HTML file, I would like to
              > send to the movie some vars.
              > In Flash it's easy to do it, you simply load the file, for example,
              > mymovie.swf?myvar=1&mysecondvar=peter
              >
              > But I try the same thing in Director and it does not work.
              > I would like to know then to pass a var to my shockwave when I load
              > it in my HTML file.
              >
              > Could you tell me how to do such thing?

              Does using the swParam parameters help?

              Andrew





              Yes :D, it works.

              Thanks a lot.
              • 4. Re: Passing vars from HTML to Lingo
                cubelan2 Level 1
                quote:

                Originally posted by: Newsgroup User
                cubelan2 wrote:
                > When I load a .dcr movie of Director in my HTML file, I would like to
                > send to the movie some vars.
                > In Flash it's easy to do it, you simply load the file, for example,
                > mymovie.swf?myvar=1&mysecondvar=peter
                >
                > But I try the same thing in Director and it does not work.
                > I would like to know then to pass a var to my shockwave when I load
                > it in my HTML file.
                >
                > Could you tell me how to do such thing?

                Does using the swParam parameters help?

                Andrew





                Yes :D, it works.

                Thanks a lot.