Declaring Variable for Combobox components?

January 6th, 2009
I have been given so much help on this subject -
But today I'm asking for one last piece of the combobox puzzle!!


How do I declare my variable to be used with my combobox so the data/var is made available to my php script?

I have supplied my combobox variable via components - NOT actionscript.

My combobox is driven by the follwing code:

var myListener:Object = new Object();
combo_cb.addEventListener("change", myListener);
myListener.change = function(evt){
_root.cb_entry = combo_cb.selectedItem.data;

}

I know my php works - it's just a matter of declaring the variable in as2.

_root.cb_entry = "";

doesn't work.
Any suggestions?
http://www.actionscript.org/forums/images/statusicon/user_online.gif http://www.actionscript.org/forums/images/buttons/report.gif (http://www.actionscript.org/forums/report.php3?p=554466) http://www.actionscript.org/forums/images/misc/progress.gif http://www.actionscript.org/forums/images/buttons/edit.gif (http://www.actionscript.org/forums/editpost.php3?do=editpost&p=554466)




#If you have any other info about this subject , Please add it free.#
Your name:
E-mail:
Telphone:

Your comments:


If you have any other info about Declaring Variable for Combobox components? , Please add it free.