Hi,
var toplist_send:LoadVars=new LoadVars();
var toplist_get:LoadVars=new LoadVars();
toplist_get.onLoad=function (success:Boolean) {
if(success){
this.decode();
trace(unescape(this));
}
}
toplist_send.sendAndLoad(“http://localhost/web/topList.aspx",toplist_get,"POST”);
when i trace the loaded content, it shows html part too. has anyone encountered the same problem? How i can prevent html part being sent to flash? Thanks
trace result:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” >
<HTML>
<HEAD>
<title>topList</title>
<meta name=“GENERATOR” Content=“Microsoft Visual Studio .NET 7.1”>
<meta name=“CODE_LANGUAGE” Content=“C#”>
<meta name=“vs_defaultClientScript” content=“JavaScript”>
<meta name=“vs_targetSchema” content=“http://schemas.microsoft.com/intellisense/ie5”>
</HEAD>
<body MS_POSITIONING=“GridLayout”>
<form name=“Form1” method=“post” action=“topList.aspx” id=“Form1”>
<input type=“hidden” name="__VIEWSTATE" value=“dDwtNjU0MzcyMTk1Ozs tMXdApgQP3fiF5lD5FGtB4fix5g=” />
</form>
</body>
</HTML>
&Grade5=250&Nick5=gamer3&Grade4=500&Nick4=xxxx&Grade3=600&Nick3=hunter&Grade2=900&Nick2=Minimus&Grade1=1200&Nick1=Maximus&onLoad=[type Function]