Reading variable from php and testin if it is "1"

How can I read a variable from php file and test in as3 if it is “1” and if it is “1” to make the frame jump to frame 20 (to skip the first 20 frames). I just can not manage to do this…