I have a Flash menu embeded in a php page and want to have the selected page display the proper content without changing pages and have Flash to detect the page and display the proper submenu.
That said, this is what I have tried so far with no luck.
Flash button Script:
on (press) {
var page = "home"
getURL ("index.php", "_self", "POST");
}
PHP Script:
<?php
$page_id=$_POST['page'];
?>
If the variable was passed I would add it the embeded flash script like so:
instead of what you have. Becuase what you are printing is the string “page_id” you aren’t telling php to print a variable value, you are only telling it to print that string.