;

PDA

Click to See Complete Forum and Search --> : Flash, get url, and php


kingp
03-04-2002, 07:20 PM
Hello everyone, I hope you guys can help me with what should be a simple problem. I am making a flash navigation bar for a php/mysql forum. The forum can be seen here - http://www.43rdst.com/tforum_92p1/index.php

For most of the buttons I am using the get url action in flash to call the pages. I am having trouble with the PM (private message) and the profile buttons.

With the other buttons, i simply copied and pasted the url that corresponds with each page into flash. The pm button for example has this url - http://www.43rdst.com/tforum_92p1/pm.php?Action=show&username=kingp

obviously this button will not work because of the username.
The current text link uses this
<a href="<?echo $fSettings["ScriptURL"]?>/pm.php?Action=show&username=<?echo rawurlencode($CurrentUserInfo["UserName"])?>">PM</a>

Can someone help me understand how i should convert this into a usable url for flash? I hope this makes sense, since i am confused myself, it makes it difficult for me to explain hehe.
Thanks ,
Patrick