title: AS3 Flash URLRequest not working upon export
body: <p>This simple login form works within the test environment of CS6 (Flash 11.4) but upon exporting does not work. I've narrowed down the issue to the actual <code>URLRequest</code> not working properly. Hopefully somebody can shed some light!</p>
  
  <p>Many thanks, Nick :)</p>
  
  <p><strong>AS3</strong></p>
  
  <pre><code>login.loginSubmit.addEventListener(MouseEvent.CLICK, function(){
  
      if(login.loginPassword.text!="Password" &amp;&amp; login.loginPassword.text!=""){
  
          login.loginSubmit.enabled = false;
  
          // Begin URL setup for login
          var loginVariables:URLVariables = new URLVariables("email="+login.loginEmail.text+"&amp;password="+login.loginPassword.text); 
          var loginRequest:URLRequest = new URLRequest();
          loginRequest.url = "login.php";
          loginRequest.method = URLRequestMethod.POST; 
          loginRequest.data = loginVariables;
          var loginLoader:URLLoader = new URLLoader();
          loginLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
          loginLoader.addEventListener(Event.COMPLETE, loginHandler);         
  
          function loginHandler(event:Event):void {
              if(loginLoader.data.passed=="true"){
  
                  var hideInitial:Tween = new Tween(uiInitial, "x", Strong.easeOut, 6, -315, 0.5, true);
                  hideInitial.addEventListener(TweenEvent.MOTION_FINISH, function(){
                      member.data.email = loginLoader.data.email;
                      member.data.fname = loginLoader.data.fname;
                      member.data.lname = loginLoader.data.lname;
                      member.flush();
                  });
  
              }else{
                                   trace("error");
              }
          } 
          // Send PHP/SQL request
          loginLoader.load(loginRequest); 
      }
  });
  </code></pre>