Hey,
I am working on a site with a flash menu header. What I need is for PHP to dynamically change the text in my page corresponding to the menu item clicked on in the flash menu.
For e.g. when the "About" button is clicked in the SWF file, I need the HTML text in the same page to be changed to show the relevant text without reloading the page.
Many thanks,
jimbo
Flash menu
Moderator: General Moderators
You could use javascript...
Get the link in the flash movie to trigger a javascript function that does something such as:
Then all you need is a div tag on the page with an id="contentElement", or whatever.
Get the link in the flash movie to trigger a javascript function that does something such as:
Code: Select all
document.getElementById('contentElement').innerHTML = 'the new HTML';