/    Sign up×
Community /Pin to ProfileBookmark

How can I make global music across an html site, using a .swf file?

How can I make global music across an html site using a flash movie for sound, and not have it in a seperate frame or a pop-up browser.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@Tweak4Jul 30.2007 — First off, keep in mind that most surfers that want to have music playing will already be playing their own music, and music on web sites is generally considered annoying.

That said, the short answer is that you can't. The only way I can think of would be to create your flash player in such a way that you could pass in a parameter that determines at what point in the song the player begins playing. Then within each page, you would need to track where the current song is, and pass that information to each successive page so that the player can start at the same position.

Even in a best case scenario, there would still be gaps between when the first page unloads and the second one finishes loading, and in IE the player may not be able to start automatically on each page, so the whole idea is probably a wash. I'd stick with my initial answer.
Copy linkTweet thisAlerts:
@One_DropauthorJul 30.2007 — First of all Im a flash designer. Who puts music in sites for overall multi-media impact.

Second the html side of this site was actually a copy of a flash site I already did for a client. He specifically asked for global sound on the html side and Ive done it, but it creates some other issues, like, I used a bottom frame for the flash movie with the sound, to keep it global, but that leaves less room for the top frame and I end up overflowing and getting scroll bars. Which will happen anyway, but across the screen sucks. So Im looking for a remedy to that problem. Trying different things.

The pop-up window idea works but I want it to close when the user clicks on the link to the flash side.....

Tanx
×

Success!

Help @One_Drop spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...