Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

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);
1 Solution
Is there a keyframe inbetween on the layer that the other combobox is on?  That would certainly cause this issue.
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.
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().

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now