Create a Mute Button
Is there a way to create a "mute" button using iWeb v. 2.0.3? I want to create a button so that the visitor can click it and silence the sound playing from a quicktime movie. I realize they could click and drag the volume control down, but I'm looking for a simple button to turn sound on and off. Any ideas?
massachi
If you use the movie control, they can also stop the music with it. I was on a site recently where the music was rather annoying but he had an arrow pointing to the stop control and a little line telling people to click to stop the music. It was rather well done.
Mireille
Similar Messages
-
Creating a mute button for video in as3
I would like to create my own mute button in as3. I have created a video object which plays my video fine. I'm having trouble finding information on how to create a mute button that mutes the audio but the video continues to play. All documentation that I've read relates to controlling sound from an loaded .mp3 file. Does anyone know how I can do this? The gotoandlearn.com site explains it using as2 only.
ThanksI figured it out:
sound_mc.addEventListener(MouseEvent.CLICK, soundOFF);
function soundOFF(e:MouseEvent) {
var transform:SoundTransform = new SoundTransform();
transform.volume = 0;
stream.soundTransform = transform;
Thanks for all your help on this. You'll probably see more of my post as I struggle with AS3 and my flash project. -
Hello there,
I've created a mute button but instead of simply just
stopping, I want the sound to fade out and when the mute button is
clicked again, to fade back in; not however, just abruptly starting
again.
Thanks in advance,
All the best,
Kristopher (UK).quote:
Originally posted by:
Newsgroup User
adrianTNT, I encourage you to spell out a bit of the code you
used,...
David Stiller
Sure, here is the code used, first import a sound by file
> import then in library right cick the sound and select
'linkage' and type a name in the 'identifier' field, that name will
be used in code, in this case name was
"jermai_smoke_on_the_hip_hop.mp3", here is the code:
some_sound = new Sound();
some_sound.attachSound("jermai_smoke_on_the_hip_hop.mp3");
some_sound.start();
some_sound.setVolume(100);
function increase_volume() {
counter++;
some_sound.setVolume(counter);
if (counter>=100) {
clearInterval(my_int);
if (counter<=0) {
clearInterval(my_int);
function decrease_volume() {
counter++;
some_sound.setVolume(100-counter);
if (counter>=100) {
clearInterval(my_int);
if (counter<=0) {
clearInterval(my_int);
fade_out_btn.onRelease = function() {
counter = 0;
my_int = setInterval(decrease_volume, 10);
fade_in_btn.onRelease = function() {
counter = 0;
my_int = setInterval(increase_volume, 10);
}; -
PLEASE for the Iphone 5 create a lock button so it don't mute, make calls or press buttons while talking on the phone!! This is a major set back and would make my decission wheather or not I stay with another apple Iphone! I know it is sensitive and is a touch screen but a simple button to press and lock while on phone would be smart thing.
You are not addressing Apple here. We are iphone users like you.
You can leave feedback for Apple at:
http://www.apple.com/feedback -
Adding mute button to time line
hello,
I currently have several photos that rotate in an out and i also have a music clip which plays when i test the movie.
i want to add a mute button from the components tab onto a timeline.
Not sure how difficult this is for a novice, but I would like to try and figure it out. Most of the tutorial i've looked at tell you how to create the button and link it to the music. I haven't come across anything that tells you how to embed it into a timeline. any help would be great. owenthat gives you the least control of your sound.
but for a mute button you can either:
1. assign your sound's sync property to stream and stop the timeline when you want the sound to stop or
2. use SoundMixer.stopAll() (as3) or stopAllSounds() (as2). -
Mute Button on a Midi controller. How do I set this up?
I want to setup a button on my midi controller keyboard, as a mute button for a certain track.
I select the track, hit 'Mute' with the mouse, and then 'learn controller assignment'. I then proceed by pushing the button on the midi controller.
The Parameter is "Learned", but doesn't work as a toggle button: I have to press the button two times for it to work.
Any Ideas?
Tibook 867 Mac OS X (10.3.9)fotofono, depending on the kind of result you're after, you may want to consider a sidechain. I'm pasting text from a previous post I did where someone wanted to be able to create a stutter effect (with mute) on a vocal track. It may apply to what you're trying to do.
Here's how:
On the vocal track you want to create the stutter effect, insert a noise gate.
On the noise gate plug-in window, look for the sidechain input (top right).
Pick 'Bus 32' for example, or a bus that you don't have in the environment window.
Pick an empty midi track in the arrange window, insert an EXS piano or any other Audio Instrument (something with good attack works best). Assign it's output to Bus 32.
Since bus 32 is not in the environment window (make sure it isn't), it won't output any sound to the main outs, and you won't hear that Audio Instrument you've just inserted. Nevertheless the audio is still being routed within Logic, and will affect the SideChain of the noise gate, which is what you want to create the stutter.
Sequence the rhythm for the stutter into the midi track (you won't hear the Audio Instrument, but you should hear the vocal track stuttering to your midi track playing), do any quantizing you want, etc, and the noise gate will follow the notes.
You can also tweak the Noise Gate of course, to ease the threshold of the stutter, etc.
Even if it's not what you're after, you may find it's a really useful tool for many kinds of results.
Regards,
Luis
www.logicprocorner.com -
Hi all,
how to set the FLV Playback Custom UI's mute button to
default state to "OFF"?
Any ideas?In case I don't come back:
AS2:
Drag the component on stage, double click to get inside.
Create a new layer and open up the actions panel, add this:
off_mc.swapDepths(on_mc);
AS3:
Drag the component on stage, click it once and give it an
instance name of, mute_btn, create a new layer and open the actions
panel, add this:
mute_btn.setChildIndex(mute_btn.getChildAt(1), 0);
**Notice Difference**
AS2 you go into the component to add the actions, and the
instance names are already there by default. AS3 you need to give
the component an instance name, and don't go into the component,
put that script on the main stage. -
Mute Button- Turning sound back on
I've made a mute button for my embedded FLV sound. I'm using
SoundMixer.stopAll(); as the controlling action. How do I start the
sound up again? From what I could tell, there wasn't a
SoundMixer.playAll();, which would be the logical choice.
The sound is embedded into the FLV, so I don't have direct
control over it.
Thank you.Would you be able to tell me, or direct me to a tutorial, how
to create a volume control? I'm very much a newbie in Actionscript
and especially AS3. I don't have a sound object to control, which
is what most tutorials seem to require. -
Sup guys, just now the mute button on my keyboard doesnt want to get off mute, Ive pressed it and nothing, it stays mute and tried pressing the button to raise the volume and stays mute. Using Hp assistant i have this error IDT HIgh Definition Audio CODEC Error(52) Version 6.10.6395.0. I have a hp envy 4 ultrabook 1015dx...any help?
This question was solved.
View Solution.Hi,
Try the following.
Download the IDT Audio installer on the link below and save it to your Downloads folder.
http://ftp.hp.com/pub/softpaq/sp56501-57000/sp56717.exe
When done, open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers. Right click the IDT device and select Uninstall - you should also get a prompt to remove the current driver, tick the box to allow this and then proceed with the uninstall.
When complete, restart the notebook and let Windows fully load. Open your Downloads folder, right click on the IDT installer and select 'Run as Administrator' to start the installation. When this has completed, restart the notebook again.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
How to create a rollover button effect in Captivate 7?
Hi,
I recently upgraded from Captivate 6 to Captivate 7 and am curious to know how I can create a rollover state for a SmartShape button. Basically, let's say I have a SmartShape being used as a button. What I want is to have the button have a glow effect and a shadow effect each time the mouse is hovered over it. Is there an easier way than having two objects on the slide -- one as the normal state and one the mouse hoever image. What I'm thinking is that the mouse hovered state image will have it's 'Visible in Output' set as unchecked and I can use an Advanced Action to show the object on mouse hover. Perhaps I can have the mouse hovered state image as a rollover SmartShape too?
Nonetheless, this looks like too much work. If I have 10 clickables on the page for which I want rollover effects, I would need to have 10 additional objects with their rollover states -- just seems like too much, but perhaps that's the Captivate way. Or I am I missing the obvious?
Any help would be appreciated.
Thanks,
SeanMost people would say the easiest way to achieve what you are talking about would be to just create your own custom image button in a graphics editor and give the Over state image having the glow effect that you want.
If you decide to go that route, this tutorial describes the process of creating an image button:
http://www.infosemantics.com.au/adobe-captivate/create-custom-image-buttons
Another possibility is that you can use the Infosemantics Event Handler widget to trigger an Apply Effect action and use the Glow filter as the effect.
However, this may require some tweaking since it's not that easy to time effects that are applied via an advanced action. -
Difference b/w create and createInsert button
hi,
what is the difference b/w create and createInsert button in ADF data control.first go through
https://forums.oracle.com/forums/ann.jspa?annID=56
next look
http://jjzheng.blogspot.in/2010/04/create-or-createinsert.html
ADF Faces & BC: Difference between Create and CreateInsert. -
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
How Can I Create a Print Button on a PDF Using Acrobat Pro That Will Also Work on iOS?
I created a Print Button on a PDF document using Adobe Acrobat Pro on my Mac. The Print button works perfectly on different browsers on my Mac and on Windows (running under Parallels Desktop) as well.
When I open the document on my iPad the Print button doesn't even appear. I am guessing that this is a Flash issue but it may be more related to the fact the the action for the button is to access the Print menu item, which doesn't exist under iOS.
Is there any way to create a Print button using Acrobat Pro that will work on a Mac and Windows but also on iOS?In order to initiate printing by clicking a button, the button has to have either an "execute menu item" type action or use the "print" JavaScript method. As you guessed, the former won't work since there are no menu items to execute, and the latter can only work if the particular PDF viewer you're using supports it. I'm not aware of any that do on iOS.
The button doesn't appear because you're probably opening it in the default PDF viewer, which doesn't support forms at all. If you were to open the form in Adobe Reader, you'd see the button but it wouldn't work. -
How To Create On Submit Button For Master_detail Page ?
I have adf page that is master And detail view.
i want to have one submit button for master and detail blockDuplicate of How To Create On Submit Button For Master_detail Page ?
Please don'r post your question multiple times.
Timo
Maybe you are looking for
-
Hi gurus, I am thinking if following requirement is possible: Condition types are not marked as accruals. ( Since these condition types will be the basis of tax calculation) Post the amount of these condition types to dedicated G/L account other than
-
From flash develop into flash builder?
Recently, I'm trying to use flashbuilder as the editor to associate with augmented reality. I'm useing in2ar sdk to compile the ar function. In the official in2ar tutorial they used flash develop as a example. However, when I import the sdk to the fl
-
How do I change my icloud e-mail
I need to change my icloud e-mail. How do I do this?
-
Mysterious yellow behind text--not an underline
Hi, I'm cleaning up a file from another designer (converted from Quark) and I've run into something odd with a Zapf Dingbats character. No matter what I do, a yellow background appears behind all Zapf Dingbats characters in this document. It looks li
-
I want to look TV Seasons/shows in switzerland.
I want to look here in switzerland or other not so big countrys TV/TV shows. This is a bit of a complaint but aswell a request. Please Apple make the iTunes store in little countrys bigger to we can look for example the Simpsons in the iTunes Store.