Skip to main content
Participant
March 25, 2009
Question

Flash Action Script: urgent help

  • March 25, 2009
  • 1 reply
  • 384 views
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.
This topic has been closed for replies.

1 reply

April 7, 2009

Can you post the script you are using to parse the xml file?  Or is that what you are looking for help with?