PHP link in Flash

I had a script made for me in php and now I beed to put this link in my flash navigation:

https://www.hometownhosting.com/~ineptclo/checkout.php?cartid=<?php echo $PHPSESSID; ?>

How do I put this in a flash button and make it work? I have no clue and I could really use the help!