this is a part of my as2 code
[AS]var total_pages:Number = myData.total_pages;
var nextlink:Number = myData.next;
next_.onRelease = function()
{
if(nextlink<=total_pages)
{ trace(total_pages);
trace(nextlink);
submitDataToTextfile1(nextlink);
}[/AS]
this is what i m sending from my php code
echo "&total_pages=$total_pages&";
echo "&next=$l&";
here $total_pages=29 and $l=3
my problem is when i check condition in IF section in as2 code , it is false for nextlink=3 . why ?? i am not getting it , plz somebody help me !!!