Control sound in timeline

Hy,
I've some mc called, one a time, with attachMovie named
mcTarget, each of
this has one speaker track sincronized with the animation on
the stage. For
this reason sound is put directly in timeline in stream mode
(proprieties>>Sincr: stream). But now I cant control
the volume of these
sounds. I'll tryed to do this:
//on main root
mySound = new Sound(); //no specify target to refer a "global
sound"
function Volume(val){
mySound.setVolume(val);
trace(val);
// in another place
Volume(50);
This works only with a sound placed in main root but does
nothing if the
sound is placed on a nested mc (my case).
Someone have an idea or a alternative way to do this?
Thanks
Roger

"sneakyimp" <[email protected]> ha scritto
nel messaggio
news:e1kumu$sv6$[email protected]..
> mySound cannot be defined as an empty sound object. it
has to refer to
> the
> soundclip in question.
This is the "canonic way", but you can use that code to do a
something near
at "global sound"
you can see it also in at
http://www.kennybellew.com/tutorial/globally.htm.
>
> // NO
> // mySound is attempting to refer to *one specific
sound*
> // *not* a global sound setting
> mySound = new Sound();
> mySound.setVolume(50);
>
> // YES
> // this is referring to one particular sound
> this.MySound1.setVolume(50);
>
> I'm not sure how this relates to sounds added to the
timeline. i think
> you
> have to use the flash authoring interface controls to do
it. i *don't*
> think
> you can control sounds added this way with actionscript
unless you can
> determine what their target path is.
Sure, it's works with sound put in a root timeline..
> this may or may not be helpful:
Thanks, but I didn't find the solution for my case...
>
http://www.kennybellew.com/tutorial/multiple_scenes.htm
many thanks for the answer.

Similar Messages

  • Sound keys on keyboard no longer control sound. What should I do to fix this?

    Sound keys on keyboard no longer control sound. What should I do to fix this?

    Hey Bill,
    Check to see if the option for "Use all F1, F2, etc. keys as standard function keys." is turned off. When it is turned on, you would need to hold the Fn key while hitting one of those keys will make it work they way icons are displayed. To find out where this option is, go to System Preferences > Keyboard and in the Keyboard tab is where you want to be. Take a look at the article below for more information. 
    How to change the behavior of function keys on your Mac
    http://support.apple.com/en-us/ht3399
    Takre care,
    -Norm G. 

  • Controll sound

    Hello! I'm running Arch Linux with i3 and gnome. But I can't controll the sound in i3. Via gnome I can just controll the sound via the gnome ..urr..sound controlling app. I installed alsa-utils and alsa-oss and tried using alsamixer (via terminal) to controll sound in i3, alsamixer finds the USB sound output device (dac); but I can't controll the sound on it, it has no "sound bar". It is not muted, I can listen to music via spotify/cmus and when running speaker tests (speaker-test -c 2) I get the aproriate sound output, there is how ever no sound in VLC/Gnome Media Player.
    So, any one know how to get controll over my USB sound device? I'll post some (hopefully) helpfull results from commands belllow:
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 3: Audio [DigiHug USB Audio], device 0: USB Audio [USB Audio]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 3: Audio [DigiHug USB Audio], device 1: USB Audio [USB Audio #1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    lsmod | grep '^snd' | column -t:
    snd_usb_audio 93519 4
    snd_usbmidi_lib 18744 1 snd_usb_audio
    snd_rawmidi 18991 1 snd_usbmidi_lib
    snd_seq_device 5300 1 snd_rawmidi
    snd_hda_codec_hdmi 24120 4
    snd_hda_codec_realtek 114123 1
    snd_hda_intel 23989 5
    snd_hda_codec 92713 3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
    snd_hwdep 6556 2 snd_hda_codec,snd_usb_audio
    snd_pcm 74812 5 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_usb_audio
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    snd_timer 19222 1 snd_pcm
    snd 59656 28 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_seq_device,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio
    ls -l /dev/snd:
    ls -l /dev/snd:drwxr-xr-x 2 root root 80 May 19 11:59 by-id
    drwxr-xr-x 2 root root 120 May 19 11:59 by-path
    crw-rw----+ 1 root audio 116, 7 May 19 11:58 controlC0
    crw-rw----+ 1 root audio 116, 16 May 19 11:58 controlC1
    crw-rw----+ 1 root audio 116, 18 May 19 11:58 controlC2
    crw-rw----+ 1 root audio 116, 22 May 19 11:59 controlC3
    crw-rw----+ 1 root audio 116, 6 May 19 11:58 hwC0D0
    crw-rw----+ 1 root audio 116, 15 May 19 11:58 hwC1D0
    crw-rw----+ 1 root audio 116, 14 May 19 11:58 hwC1D1
    crw-rw----+ 1 root audio 116, 13 May 19 11:58 hwC1D2
    crw-rw----+ 1 root audio 116, 12 May 19 11:58 hwC1D3
    crw-rw----+ 1 root audio 116, 5 May 19 14:06 pcmC0D0c
    crw-rw----+ 1 root audio 116, 4 May 19 14:06 pcmC0D0p
    crw-rw----+ 1 root audio 116, 3 May 19 14:06 pcmC0D1p
    crw-rw----+ 1 root audio 116, 2 May 19 11:58 pcmC0D2c
    crw-rw----+ 1 root audio 116, 11 May 19 14:06 pcmC1D3p
    crw-rw----+ 1 root audio 116, 10 May 19 14:06 pcmC1D7p
    crw-rw----+ 1 root audio 116, 9 May 19 14:06 pcmC1D8p
    crw-rw----+ 1 root audio 116, 8 May 19 14:06 pcmC1D9p
    crw-rw----+ 1 root audio 116, 17 May 19 14:06 pcmC2D0c
    crw-rw----+ 1 root audio 116, 21 May 19 14:06 pcmC3D0c
    crw-rw----+ 1 root audio 116, 20 May 19 14:14 pcmC3D0p
    crw-rw----+ 1 root audio 116, 19 May 19 11:59 pcmC3D1p
    crw-rw---- 1 root audio 116, 1 May 19 11:58 seq
    crw-rw----+ 1 root audio 116, 33 May 19 11:58 timer
    Let it be noted that before I re-installed arch (minor screw ups : ) ) alsamixer worked flawlessly, I can't remember having done anything different during install
    Thank you for all replies!
    Last edited by vimes (2012-05-19 12:22:47)

    You should be able to control the sound dynamically via simple scripts, e.g.:
    amixer -q sset Master 1+
    and
    amixer -q sset Master 1-
    For muting the sound, use
    amixer -q sset Master toggle
    You can use xbindkeys to assign them to keyboard shortcuts of your choice. Of course, you can use the native i3 config file / scripting capabilities as well; I don't know this WM's config rules well enough, though.

  • Midi controlled sounds

    My midi controlled sounds cut off when controller keyboard note is lifted creating a click as the "sample is stopped" any Ideas ?
    this is domianent on piano patches

    Thanks for your reply Blueberry. The fact that I have overlapping objects is not in dispute here. What effect does it have? I don't understand what difference it makes in terms of the operations within MainStage2. That's what the question is.
    As it turns out, there are several objects highlighted in blue (in layout view), but that doesn't tell me what it means. In the layout view, I had put pedals and switch controllers together based on the keyboards they are connected to, and they match the physical layout I have on the floor. I also put pitch and mod wheels next to each of the keyboards. I don't know whether I need to do this, but I thought it would help to see what's going on, and to map functions with controls.
    Is it an innocuous message telling me that the graphic might not be clear, or is it saying that there is an underlying configuration issue which will prevent operation ? If it's graphical, then it still looks like I want it to look, but if it's something programmatic which will disable functionality, then that's a different story. In that case, I want to know how to resolve the issue, otherwise there is no issue from my perspective. Things look like I want them to look.
    Still looking for something more conclusive.
    Thanks,
    Glennzone

  • Controll the ROOT timeline from externally loaded movie clip?

    does anyone know how to controll the root timeline from an
    externally loaded movie clip?
    I have loaded a movie clip, which has buttons on it that I
    would like to controll the main original website timeline with.
    something like this.parent.parent?
    thanks a lot
    harky

    feedmeapples <[email protected]> wrote:
    > does anyone know how to controll the root timeline from
    an externally
    > loaded movie clip?
    >
    > I have loaded a movie clip, which has buttons on it that
    I would like
    > to controll the main original website timeline with.
    >
    > something like this.parent.parent?
    _root.doStuff;
    Freundliche Grüße,
    Franz Marksteiner

  • Toolkit for CreateJS: How to control the main timeline from outside the canvas.

    Hey Everyone,
    I'm currently trying to do something simple, but my animation breaks whenever I attempt to change my code. I have created a basic animation in Flash where an object moves from the left side of the canvas, to the right, and then loops from the last frame to the first frame. Nothing else. The animation is simply put on the main timeline. I exported the animation with Toolkit for CreateJS through Flash's extension and the animation runs as it should. I am trying to start and stop (restarting from the first frame) the animation with mouse over and mouse off events. I want the events to fire when moused over/off a div OUTSIDE the animation's canvas tag. Is this possible with CreateJS? I'm trying to figure out how to control the main timeline without being inside the canvas tag.
    Example HTML:
    http://www.thephotoncore.com/testing/example_test.html
    Example Code:
    <section id="container">
      <canvas id="canvas" width="550" height="400" style="background-color:#cccccc"></canvas>
      <section id="animation_control">
        <p>Roll over to start and stop animation.</p>
      </section>
    </section>
    Thanks again for the help!
    -DJ

    Hi DjPhantasy5,
    All movieclips on the stage are children of the stage,
    So on the "mouseover" all movieclips on the stage could be stopped with stop and on the "mouseout" all children could be restarted with gotoAndPlay like this:
    function Stop()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("stop" in child)
                                            child.stop();
    function Restart()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("gotoAndPlay" in child)
                                            child.gotoAndPlay(0);
    See http://www.liauw.nl/forums/adobe/djfantasy5/index.html
    But it is also possible to expose "ball1", for example, by adding it to the document.
    This can be done by adding code to "ball1" like so:
    /* js
    document.ball1 = this;
    Then the stopping of the animation would look like:
    function Stop()
         if ("ball1" in document)
              document.ball1.stop();
    etc.
    Have fun!
    Ronald

  • Controlling sound on user computers

    Hi
    I was wondering if their is a way to control sound when the users log on so they cannot hear on their machines. Is their any setting in Mac Server 10.4.9.
    This would help stop them from going to music sites on line instead of working.
    Can it be done.

    Hi
    This is not a managed preference available on OSX Server. You can mute the sound on each client mac whilst logged in as the administrator. When students log in with their network accounts they won’t hear anything.

  • Controlling Sound Pitch and Speed

    So, I've seen an example of how to control sound Pitch and Speed in ActionScript 3.0, Andre Michelle » Blog Archive » Pitch MP3, but in this example the speed and pitch are being controlled together. Is there any way to control them individually?

    You can control them individually - look in the responses at #6 and #17

  • How can control sound of my tabs?

    I open few tabs. And all of this making noise. I want to control sound of my tabs. I want to turn of some tabs' sound. Can someone help me?
    Sorry for my English...

    You can make a backup copy of the sessionstore.js file that stores session data.
    *http://kb.mozillazine.org/sessionstore.js
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • Control sound on extended keyboard in Mavericks

    In Mountain Lion I could use F keys above the numerical keypad to control sound or to mute sound.
    I got a new Apple extended keypad and installed Mavericks. I can't control sound.
    There are sound icons on F10, 11 and 12 but they do other things such as go to dashboard, show desktop and show open windows, which is fine by me.

    Do you have this System preference pane on your MBP or something similar?

  • Control Sounds: play, return, pause

    Hi All,
    I have a movie clip that i want to add sound to! I currently have three buttons, A) return, B) pause, C) Play. So return brings the movie clip back to frame one to begin again, pause pauses at the current frame, and play resumes play after pause. All this functionality is working properly. However I also want to do this with sound. I found a workout around by going to properties -> Sync -> Stream. Which allows these buttons to also control the sound...im not realy sure how or why?! But what I want to know is there a way to hard code it? I tried stopAllSounds(); but this did not work.
    Here is a code snippet I am currently using for controling the movie clip to give you an idea:
    case returnBt:
                        gotoAndPlay(1);
                        break;
                    case playBt:
                        play();
                        break;
                    case pauseBt:
                        stop();
                        break;
    Thanks all, im curious to hear if there is a way to hard code it.
    AS2 and AS3 answers welcome.

    Look into using the Sound class for playing/controlling sounds.  If you search Google using terms like "AS3 Sound tutorial" you should find what you need to implement this.

  • How to reinstate F10, F11 and F12 to control sound?

    How to reinstate F10, F11 and F12 to control sound?h

    System Preferences  >  Keyboard
    Under Keyboard tab uncheck "Use all F1, F2 keys as standard function keys".

  • I am createding a digintal flipbook for my work, we have adobe cloud. needs to have controls, sound,

    i am createding a digintal flipbook for my work, we have adobe cloud. needs to have controls, sound, allow rss feeds, pdf download, print options, etc. what software works best to do this? are there plugins for flash that have these controls built in, where i just import my my pdf files?

    If you don't already know enough about Flash's capabilities to answer this then you might want to consider an alternate solution, although the level of customization will be limited. The publishing portion of the application family can easily produce ebooks:
    http://www.adobe.com/products/digital-publishing-suite-family.html
    That's about as drag and drop as you can get for your basic needs.
    If you need deep customization at the same time then Flash is perfectly good at this kind of thing, but there is no "easy button" that will do it all for you. There are many flipbook creation services (similar to the digital publishing route), but since you want RSS feeds, controls, sound, etc you may find the result isn't as complicated as you need.
    I'd suggest just using Flash, getting a page roll effect plugin and creating your book by hand, giving you the full coding power of Flash to perform all your tasks. Some of them, like basic page flipping, you can find project source code for (page clipping example).

  • Controlling sound from video player on the timeline

    I'm working on a site that is using frames on the timeline
    for different pages in the site.
    One frame (page) has a video component in it that plays an
    flv file.
    When I play the video in that frame it works great, but then
    when I navigate to another frame, the sound from the video
    component still plays, even though I'm in a frame with no video
    component.
    How can I get the sound to stop when the user navigates away
    from the page with the video component?

    There's no magic solution. However, you don't necessarily have to re-edit it all. Convert the clips in GoPro Studio, using the Fisheye Removal checkbox. In Premiere, right-click a clip in the Bin and use "Replace Footage" and point it to the NEW clip. Do this for each clip. This should replace the clips in the timeline and you won't need to re-edit the clips in the Sequence.
    I've had a similar issue - editing a large, two-camera wedding ceremony and later deciding I wanted to use a DeNoiser filter to clean up the grainy video. Converted the clips externally, then replaced in Premiere. No problems, worked like a charm, all edits and effects intact but using new, cleaned footage.
    Thanks
    Jeff Pulera
    Safe Harbor Computers

  • No sound on timeline

    Have used Final Cut for many years--however, just re-installed. Now I cannot get any audio on the timeline. When I log & Capture, I can listen to the audio directly from the clip that has been captured and sound is great. As soon as I save it or drag it to the timeline, no audio.
    All audio beyond the timeline works great in any program. I can see the audio/peaks and the equalizer appears to have audio, but no sound is coming out!
    I have checked all the Final Cut settings that I know of.

    Make sure your VIEW External Video is set to ALL FRAMES...
    But more importantly - make sure your audio is following your video correctly. Down there at the bottom of the VIEW menu... either set Audio to FOLLOW VIDEO (which, if you have your deck hooked up will go to the deck) or keep it INTERNAL... which - if you are monitoring your video on an external monitor you will have latency issues.
    So - if indeed you want it to follow video AND you are monitoring your video externally (via the deck) make sure your speakers are hooked up thru the deck. I use a little mixing board (ok, actually an old tuner) to control which audio source is being set to the speakers... the Deck is hooked up to AUX and the computer is hooked up to CD - then I just switch between the two on the tuner.
    CaptM

Maybe you are looking for

  • Exceeded RAM..was crashing now freezes on start-up screen..HELP!!

    My mac is only about 2 mths old. I've got about 15GB music, lots of tv shows (about 13 series) and yesterday I installed Microsoft Office. My mac had been freezing occasionally before and I would just have to resart it. The cursor would freeze on the

  • How do I set the imac to go to sleep after 5 min of in activity?

    how do I set the imac to go to sleep after 5 min of in activity?

  • FM to GET file listing of a UNIX directory.

    Hello everyone, Please can anyone provide me a function module that can return to me ALL the files found inside a UNIX directory. I have tried FM EPS_GET_DIRECTORY_LISTING but I can't seem to provide the correct parameter.

  • Collecting the URL for the current page..

    I'd like to collect the complete URL that created the current page. I'd like to pas this information to a succeding dynamic page, so that I can return to the current page. I have tries using the OWA_UTIL.get_cgi... routines but they seem to be lackin

  • Installing photoshop elements 6

    Hi, totally new to all this, and in need of help!! Trying to install PSE6 and it is coming with "java Script Alert" Critical errors were found in set up. Incompatible payloads already installed. See set up log for details. (can't find set up log) I h