954,576 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

problem in integers in flash

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
[PHP]
echo "&total_pages=$total_pages&";
echo "&next=$l&";[/PHP]
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 !!!

aaloo
Junior Poster in Training
76 posts since Oct 2011
Reputation Points: 22
Solved Threads: 0
 

you need to make some modification in coding part

jkthomas
Newbie Poster
23 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: