js09 Posted August 14, 2009 Share Posted August 14, 2009 i've got a small flash file (.swf) that plays a few songs upon visiting a website. since i'm using php includes the file re-loads every time you click a link, even with the code in the main index template. i tried adding an iframe at the top just after the <body> tag but it still repeats. any ajax help would be appreciated! thanks Link to comment https://forums.phpfreaks.com/topic/170304-need-a-simple-script-allowing-music-swf-to-play-in-the-background/ Share on other sites More sharing options...
js09 Posted August 20, 2009 Author Share Posted August 20, 2009 anyone? i just want music to play in the background, can't be too complicated :| Link to comment https://forums.phpfreaks.com/topic/170304-need-a-simple-script-allowing-music-swf-to-play-in-the-background/#findComment-902603 Share on other sites More sharing options...
ldb358 Posted August 21, 2009 Share Posted August 21, 2009 couldn't you use a regular frame? Link to comment https://forums.phpfreaks.com/topic/170304-need-a-simple-script-allowing-music-swf-to-play-in-the-background/#findComment-902972 Share on other sites More sharing options...
js09 Posted August 21, 2009 Author Share Posted August 21, 2009 i tried this and it didn't work.. still reloaded upon clicking to another page (outside the frame) <iframe src ="audio.php" width="100%" height="200"><p>Your browser does not support iframes.</p> </iframe> Link to comment https://forums.phpfreaks.com/topic/170304-need-a-simple-script-allowing-music-swf-to-play-in-the-background/#findComment-903110 Share on other sites More sharing options...
Thetcm Posted August 21, 2009 Share Posted August 21, 2009 If you're just trying to play songs on the website, I'm not sure why you're using flash, unless you want a pause buttons, which Javascript could probably handle anyway. Link to comment https://forums.phpfreaks.com/topic/170304-need-a-simple-script-allowing-music-swf-to-play-in-the-background/#findComment-903538 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.