One Flash combobox disrupts the other.

I'm using the following actionscript for my location combobox. I have another combo box on the page called quantity that goes blank whenever something is chosen in the location combobox.  What do I have to change to make both work?

function change(evt){
location.addEventListener("change", this);
Who is Participating?
are you using separate methods for the listeners of the 2 boxes?

i.e do you have do change methods?
try this

var cbListener:Object = new Object();

cbListener.change = function(event_obj:Object) {

// Add Listener.
location.addEventListener("change", cbListener);

and then create another listener for your other combobox

might help, not sure.
Is there a keyframe inbetween on the layer that the other combobox is on?  That would certainly cause this issue.
imjusthereAuthor Commented:
No keyframes inbetween.

I'm only using one listener.  My other combo box is being posted to my asp page using quantity.getValue().
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.