# Success:Boolean problem from sendAndLoad

**URL:** https://forum.kirupa.com/t/success-boolean-problem-from-sendandload/317893
**Category:** Uncategorized
**Created:** [January 5, 2011, 11:51am UTC](https://forum.kirupa.com/t/success-boolean-problem-from-sendandload/317893 "2011-01-05T11:51:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yusnandar](https://avatars.discourse-cdn.com/v4/letter/y/cdc98d/32.png) [@yusnandar](https://forum.kirupa.com/u/yusnandar)
#### Post date: [January 5, 2011, 11:51am UTC](https://forum.kirupa.com/t/success-boolean-problem-from-sendandload/317893/1 "2011-01-05T11:51:17Z")

</div>

this is the script i wrote:

kuda.onRelease = function() {  
var res:LoadVars=new LoadVars();  
var cmd=new LoadVars();  
res.onLoad=new function(success:Boolean){  
if(success){  
gotoAndPlay(“pra\_pembayaran”);  
}else{  
gotoAndPlay(“home”)  
};  
}  
cmd.mode=“transaction”;  
cmd.type=data\_1.text;  
cmd.price=data\_2.text;  
cmd.telp=data\_3.text;  
cmd.sendAndLoad(“[http://127.0.0.1:9669](http://127.0.0.1:9669)”,res,“GET”);  
};

It load the xml but the swf doesnt go to label frame  
cheers for the help guys
