Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adobe Flash Mute Audio On Page Load

Posted on 2010-09-15
13
Medium Priority
?
472 Views
Last Modified: 2012-05-10
Hi All:

I have a flash movie that plays on a web site and I need to prevent the audio from playing for everyone who visits the site.  Is there a way through the html parameters to automatically shut off or mute the audio on start up or page load?  I believe the flash object embedded in the html codes is: swflash.cab#version=8,0,0,0.  Or is there a way to alter the SWF file to mute the sound?

Thanks - Dave
0
Comment
Question by:DaveFrazell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 19

Expert Comment

by:quizengine
ID: 33691169
You can pass variables into a swf from the html page, but there needs to be code *inside* the swf that can recognise the variables and respond to them. This means that the .swf will need to be edited to add the new behaviors. It's best to work from the .fla source document rather than the .swf, but there are tools that can decompile the swf back into a fla if you don't have access to the original .fla

Naturally you will either a) need to have Flash / actionscript skills yourself to edit the fla, or b) recruit a freelancer to do that for you.

Having said all of that, since the fla needs to edited anyway, why not just change the fla so that the audio doesn't start in the first place, and provide a 'play' button to begin the audio for anyone who wants to listen. That would be an easier solution to engineer, and you wouldn't then need to mess about with feeding variables in through the html page.
0
 

Author Comment

by:DaveFrazell
ID: 33691288
Unfortunately I don’t have the .fla source file.  All I have to work with is the .swf file.  So can I edit the .swf file to mute/shutoff/remove the audio or do I need to get a tool to decompile it into a .fla?  The audio on this .swf file cannot be played as we don’t own the rights to it.  I need the easiest solution that will allow me to remove or shutoff the audio.

Thanks - Dave
0
 
LVL 19

Expert Comment

by:quizengine
ID: 33691426
Can you post the swf in the workroom ? Or provide a link to where it is currently running ?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 19

Expert Comment

by:quizengine
ID: 33691465
Sorry - I said 'workroom' - I meant here (too used to working on freelancing websites !)
0
 

Author Comment

by:DaveFrazell
ID: 33691572
I can't.  I don't want to expose my company's use of this audio until we get it fixed.
0
 
LVL 19

Expert Comment

by:quizengine
ID: 33692524
Do you have Flash skills yourself ? If so, use a Flash decompiler (I use sothink swf decompiler - http://www.sothink.com/product/flashdecompiler/index.htm) to make you a fla. Open the fla in Flash and delete any music resources in the library then republish the swf. Doing this 'brute force' fix (just deleting the audio) will probably work as the swf will still try to play the audio but will fail because the audio isn't there anymore. Flash usually fails things like this gracefully, and it doesn't stop the rest of the swf from working.

Or (if you don't want to buy the software, or don't have Flash, or don't have Flash skills) you could post a job on one of the many freelancing websites. I like Elance.com but there are many others. Bear in mind you will *have* to share the info I asked for if you are going to get another person to work on the job. But you can get the person to sign an NDA (non disclosure agreement) to maintain their confidentiality.

Good luck.
0
 
LVL 19

Accepted Solution

by:
quizengine earned 2000 total points
ID: 33692787
Hi again. Sorry but I'm an inquisitive sort, and don't have much on this afternoon. I have found the page with the <cough> royal music on.

I've decompiled it and fixed the problem, but didn't want to post the resultant file here for obvious reasons without your permission. I also have your 'parent' website address if you'd rather it went there than on a public forum.
0
 

Author Comment

by:DaveFrazell
ID: 33693086
Can you email it to me?
0
 
LVL 19

Expert Comment

by:quizengine
ID: 33693185
Sure.
0
 

Author Comment

by:DaveFrazell
ID: 33693253
dfrazell@gmail.com
0
 

Author Comment

by:DaveFrazell
ID: 33693450
Thanks for your help.  This totally resolved my issue.
0
 

Author Closing Comment

by:DaveFrazell
ID: 33693453
Thanks again!
0
 
LVL 19

Expert Comment

by:quizengine
ID: 33693464
No problem. Good luck with the acquisition.
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question