electricneil Posted June 5, 2007 Share Posted June 5, 2007 Hi, im new to this forum, Has anyone got any advice on building a PHP/Flash website (hybrid) Basically i want the hedder to be coded using flash (actionscript) for the navigation, and an mp3 player. And the main body to be coded using PHP so i can use PHP include function to grab html documents for the information etc in each section/page. The main question is how do i get the mp3 player to continualy play when moving from page to page. And also how do i get the flash navigation to communicate with the PHP so the web page dosent change but the content does, thus allowing the mp3 player in the hedder to continualy play without stopping/starting. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/54288-php-hybrid-site/ Share on other sites More sharing options...
zell11 Posted June 5, 2007 Share Posted June 5, 2007 you could use ajax, Ajax allows you to just reload the frame andd not the whole page. That means you can wrap a div layer around your content and change it to how you see fit Quote Link to comment https://forums.phpfreaks.com/topic/54288-php-hybrid-site/#findComment-268388 Share on other sites More sharing options...
electricneil Posted June 5, 2007 Author Share Posted June 5, 2007 thanks, though in not really familliar with ajax, is it simillar to php? Quote Link to comment https://forums.phpfreaks.com/topic/54288-php-hybrid-site/#findComment-268391 Share on other sites More sharing options...
taith Posted June 5, 2007 Share Posted June 5, 2007 consider it javascript, running php files Quote Link to comment https://forums.phpfreaks.com/topic/54288-php-hybrid-site/#findComment-268394 Share on other sites More sharing options...
trq Posted June 5, 2007 Share Posted June 5, 2007 The main question is how do i get the mp3 player to continualy play when moving from page to page. Probbaly not the most popular idea but, place it in a frame. And also how do i get the flash navigation to communicate with the PHP so the web page dosent change but the content does Flash communicates with php just as html does. By making either POST or GET requests to the server. Take a look at flash's loadVariables and related functions. Quote Link to comment https://forums.phpfreaks.com/topic/54288-php-hybrid-site/#findComment-268400 Share on other sites More sharing options...
electricneil Posted June 5, 2007 Author Share Posted June 5, 2007 Great thanks, just looking at that now Quote Link to comment https://forums.phpfreaks.com/topic/54288-php-hybrid-site/#findComment-268404 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.