1 Reply Latest reply on Apr 7, 2009 4:05 PM by Dan.Smith

    Flash Action Script: urgent help

    bjain10
      I have added following code on form submit button:

      on (release) {
      // send variables in form movieclip (the textfields)
      // to email PHP page which will send the mail
      form.loadVariables(" http://www.coolgirl.com//mailtofriend.html", "POST");
      }

      Another this is that I have to pass the id along with this url. But i am not getting how to get id from my XML file.

      Structure of XML is as follows:

      <ratings>
      <video file="video1.flv">
      <title>Lays</title>
      <runtime>auto</runtime>
      <author>Bharati 1</author>
      <views>1</views>
      <commercialid></commercialid>
      </video>
      <video file="video2.flv">
      <title>Incredible India</title>
      <runtime>auto</runtime>
      <author>Bharati 2</author>
      <views>1</views>
      <commercialid>2</commercialid>
      </video>
      <commercials>
      <commercial id="default">video1.flv</commercial>
      <commercial id="1">video1.flv</commercial>
      <commercial id="2">video2.flv</commercial>
      <commercial id="3">video3.flv</commercial>
      </commercials>
      </ratings>

      Urgent help required.