7 Replies Latest reply on Apr 1, 2008 1:25 PM by kglad

    ComboBox onEnterFrame Issue

    adam000
      Hi,
      I have created an email form in one swf that is called into another swf. In this form there is a comboBox that will populate a text field when something is selected in it. Everything works fine with the comboBox in it's own swf but when it's called into another swf the comboBox is inactive. I'm not sure but I think it may have to do with the onEnterFrame.... here is the code from the swf that contains the comboBox and email information.

      import mx.remoting.Service;
      import mx.services.Log;
      import mx.rpc.RelayResponder;
      import mx.rpc.FaultEvent;
      import mx.rpc.ResultEvent;
      import mx.remoting.PendingCall;
      import mx.remoting.RecordSet;
      import mx.remoting.DataGlue;

      onEnterFrame = function(){
      area_ta.text = area_cb.value;
      }

      submit_btn.onRelease = function() {

      if (question1_txt.text == "") {
      gotoAndStop ("error");
      }else{

      var pc:PendingCall = myService.mailSuggestion (question1_txt.text, area_cb.value);

      pc.responder = new RelayResponder (this, "mailSuggestion_Result","mailSuggestion_Fault");

      gotoAndStop ("correct");
      }


      }

      var myService : Service = new Service(" http://******flashservices/gateway",
      new Log (Log.DEBUG),
      "tap.*******.emailfunction",
      null,
      null);

      stop();