I’m working on a project in AS3 that connects to a PHP file. I need everything done dynamically so i need a way to get the document_root in flash, like i would in php ($_SERVER['DOCUMENT_ROOT'];).
is this possible? any idea how?
cheers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Could just parse
$_SERVER['DOCUMENT_ROOT']into the SWF via FlashVars.And then in AS3: