PDA

View Full Version : comboBox & ASP


triplej
02-28-2005, 09:48 AM
Hello, I've been trying to get my comboBox workgng for 2+days but still couldn't get the answer.. I've searched the web and tried everything I could, such as addEventListerner or function change.. but it still didn't work. It doesn't parse any data or label..
Now I'm back to the starting point. All I want is getting a value from comboBox and send the data to my asp file.
Here's where I am now:

1. on the Action layer:

var myVar = myComboBox.selectedItem;
trace(myVar);

2. then I added the following codes on a button for sending it to the asp file:

on(click){
loadVariablesNum("myFile.asp", "_root", "POST")
}

I am using Flash MX 2004, action script 2.0.
Please tell me what's wrong...
Thanx a lot for help..

triplej
02-28-2005, 09:50 AM
Hello, I've been trying to get my comboBox workgng for 2+days but still couldn't get the answer.. I've searched the web and tried everything I could, such as addEventListerner or function change.. but it still didn't work. It doesn't parse any data or label..
Now I'm back to the starting point. All I want is getting a value from comboBox and send the data to my asp file.
Here's where I am now:

1. on the Action layer:

var myVar = myComboBox.selectedItem;
trace(myVar);

2. then I added the following codes on a button for sending it to the asp file:

on(click){
loadVariablesNum("myFile.asp", "_root", "POST")
}

I am using Flash MX 2004, action script 2.0.
Please tell me what's wrong...
Thanx a lot for help..