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 Quote Link to comment 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 :| Quote Link to comment Share on other sites More sharing options...
ldb358 Posted August 21, 2009 Share Posted August 21, 2009 couldn't you use a regular frame? Quote Link to comment 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> Quote Link to comment 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. Quote Link to comment 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.