Non so come si dovrebbe comportare effettivamente il login, ma se usi questo codice dovresti ottenere quello che cerchi:

Codice PHP:
// Metti in libreria un componente Button, un Label e un TextInput.
// Poi copia e incolla il codice seguente nell'unico frame del filmato di prova.
import mx.controls.Button;
import mx.controls.Label;
import mx.controls.TextInput;

var 
a:Array = [];
a.push(this.createClassObject(Label"title"1));
a.push(this.createClassObject(Label"userlabel"2));
a.push(this.createClassObject(Label"pwdlabel"3));
a.push(this.createClassObject(TextInput"kerio_username"4));
a.push(this.createClassObject(TextInput"kerio_password"5));
a.push(this.createClassObject(Button"login"6));
a.push(new LoadVars());

a[0].move(1010); a[0].text "login to kerio mailserver webmail:"a[0].autoSize "left";
a[1].move(1040); a[1].text "username:";
a[2].move(1070); a[2].text "password:";
a[3].move(8040); a[3].setSize(12022);
a[4].move(8070); a[4].setSize(12022); a[4].password true;
a[5].move(10100); a[5].label "log in";


function 
click (e:Object) {
    
a[6].kerio_username kerio_username.text;
    
a[6].kerio_password kerio_password.text;
    
a[6].send("https://my.kerio.server/default/dologin.php""_self""POST"); 
}
a[5].addEventListener("click"this); 
Il codice funziona da solo, senza accorgimenti, se non quello del commento in testa al codice stesso.

[edit] Ho fatto un test online, ma dice che la pagina è inesistente :master: