get image in flash page thru db
hi guyz right now i am working on a form which looks like this but still it isnt working i'll explain all what i have done:
\1) Movieclip - Guestbook
2) 3 frames - Frame 1) Form, Frame 2) Thank You, Frame 3) View List
IN Frame 1) Name Email Website Comments and Status Are the text boxes Used and Reset and Submit Buttons
ON Submit Button this is the Script:
on (release) {
if (Name eq "") {
_root.guestform.Status = "Please Enter Your Name";
} else if (Email eq "") {
_root.guestform.Status = "Please Enter Your Email Address";
} else if (Website eq "") {
_root.guestform.Status = "Please Enter Your Website Address";
} else {
Submit = "Yes";
NumLow = "0";
NumHigh = "10";
_root.guestform.GuestBook = "Processing ... Loading New ...";
loadVariablesNum ("GuestBook.php", 0, "POST");
_root.guestform.Status = " Your Entry Has Been Submitted ";
_root.guestform.ThankYou = " Your details are submitted , Thank You ";
gotoAndStop (2);
}
}
//Frame 2) Thank You Text with BACK AND VIEW LIST Buttons
//Frame 3) GuestBook Text Field,,NumLow,,NumHigh,,nd Total Entries,,and Previous ,,Next,,Back to Form Buttons..
on Frame 3) i ahave actions:
NumLow = 0;
NumHigh = 10;
loadVariablesNum ("GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHig h+"&R="+random(999), 0);
stop ();
on previous button :
on (release) {
if (NumLow == "0") {
GuestBook = "No More Before 0";
} else {
NumLow = Number(NumLow)-Number(10);
NumHigh = Number(NumHigh)-Number(10);
GuestBook = "Loading Comments Numbered "+NumLow+" to "+NumHigh+" Please Hold";
loadVariablesNum ("GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHig h+"&R="+random(999), 0);
}
}
and on next button
on (release) {
NumLow = Number(NumLow)+Number(10);
NumHigh = Number(NumHigh)+Number(10);
GuestBook = "Loading Comments Numbered "+NumLow+" to "+NumHigh+" Please Hold";
loadVariablesNum ("GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHig h+"&R="+random(999), 0);
}
thats it i dont understand why its not working could any tel this and also i want to upload a image from the flash page to the database anybody could tell abt this
thank you