PDA

View Full Version : Html & Flash


capos
06-13-2005, 11:20 PM
hi,

My intro page contains a flash animation as well as a "Skip Intro" html Link beneath it (for those that don't have flash). I have an audio loop in the flash file that plays troughout the animation and continues looping even after all movie clips have been played in the swf file (this is because the company logo is displayed as a still image at the end of the animation). If the user clicks the Skip intro link the main website opens up in a floating window keeping the intro page still running in the background (which is what I want), I'd like to know if it's possible to mute the music as soon as the user clicks the "Skip Intro" Link, by this I mean there would have to be a way with HTML code to communicate to the Swf file to stop all sounds from playing, even a stop clip command might work. I know javascript may be able to do this but I'm very unfamiliar with it, I would greatly appreciate any advice on this but please bare with my low-level java knowledge.

Thank You
-Capo

domedia
06-14-2005, 02:56 PM
Nope, HTML structures information, that's about it.
I mean there would have to be a way with HTML code to communicate to the Swf file to stop all sounds from playing,

You got 2 options as far as I can see.
1. Don't open up new windows. Load your website into the current window. The user didn't ask for new windows to open up. Also more and more users are using some kind of pop-up blocker. If you use javascript to open and size a new window, pop-up blockers will stop it.

2. Use Flash as the 'skip' link. This way you're using flash to tell the music to stop and to open a new window.