Video sound stops when setVolume on root music background

I made a flash animation with a backgroung music loop and
buttons. When a button is clicked, a video file embeded in a swf
plays in a movieclip on the stage. Also, I set the background music
volume to 0 as to listen to the video sound. The problem is that
when the background music volume is changed, the video plays but
the audio changes the same. I tried to stop the background music,
and then the video sound also stops!
Can someone help?
Here is my code:
_root.my_sound = new Sound();
_root.my_sound.attachSound("music.mp3");
_root.my_sound.start(0,1000);
_root.["bt_mc"].onPress = function(){
_root.my_sound.setVolume(0); // or _root.my_sound.stop();
_root.videoDisplay.loadMovie(this.videoclip);
//_root.videoDisplay is the target mc
}

"yduab" <[email protected]> wrote in message
news:e7oua3$hsk$[email protected]..
>I made a flash animation with a backgroung music loop and
buttons. When a
> button is clicked, a video file embeded in a swf plays
in a movieclip on the
> stage. Also, I set the background music volume to 0 as
to listen to the video
> sound. The problem is that when the background music
volume is changed, the
> video plays but the audio changes the same. I tried to
stop the background
> music, and then the video sound also stops!
> Can someone help?
> Here is my code:
> _root.my_sound = new Sound();
> _root.my_sound.attachSound("music.mp3");
> _root.my_sound.start(0,1000);
> }
> _root.["bt_mc"].onPress = function(){
> _root.my_sound.setVolume(0); // or
_root.my_sound.stop();
> _root.videoDisplay.loadMovie(this.videoclip);
//_root.videoDisplay is the
> target mc
> }
To have separate volume levels you have to attach the sound
objects to different movieclips like this..
_root.my_sound = new Sound(one_mc);
The movieclip can be just an empty clip that you make with
createEmptyMovieClip.
tralfaz

Similar Messages

  • I want to listen to itunes through my 5.1 amp on apple tv but sound stops when tv is switched off how can I stop this?

    I want to listen to itunes through my 5.1 amp thru apple tv but the sound stops when when my television is switched off how can I stop this?
    All I want to be on is my PC and my amp connected thru ATV via optical linkl

    Welcome to the Apple Community.
    Yes there have been a number of reports posted about this, it seems different people experience different results here with some finding the same as you, some finding that it won't work at all with the TV turned off and some finding that if music is sent from iTunes on the mac/pc that as long as the TV is on when the stream starts, the TV can be turned off afterwards.
    My assumption here is that it depends on the TV itself, although that probably doesn't help all that much.

  • My iphone music player automatically stop when i was playing music

    my iphone music player automatically stop when i was playing music after a few minute or an hour

    Try This...
    Close All Open Apps...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Why does video out stop when ipad screen locks?

    Why does video out stop when ipad screen locks?

    Thanks.  I should have been more specific.  I am watching using video out cables to the TV, and would like to watch the entire episode without unlocking the screen every five minutes.

  • All of a sudden my sound stopped when i plug in my hdmi cable

    all of a sudden my sound stopped when my hdmi cable is plugged in to my tv. sound bar works when cable is unplugged

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • PBS POV video streaming stops when I order actual program to begin. Am up-to-date re PBS, in USA. Never happened before. Started when had POV ready to go when Avira Free Mac Security signalled download available;"told" to wait.Deleted Avira but nadaut noh

    PBS POV video streaming stops when I order actual program to begin. Am up-to-date re PBS, in USA. Never happened before. Problem started  when  had POV ready to go and Avira Free Mac Security suddenly signalled download available--;"told"it  to wait.Deleted Avira but still fails to stream. Presently: screen jumps but remains dark when I order the streaming. Any suggestions, please?  Harry H.

    hello sir,
    i want to your help
    i was installed fresh windows 7 via cd rom and then after installed all software.
    and now after 1 day customer complained me that cd rom not read any cd and i m also check when i insurt cd so its not read and when i am double click on cd rom icon its eject so what i do for that please reply on my email address.
    [text removed for privacy]
    VIMAL

  • Sound stops when set flash obj visibility to false on IE

    How can I prevent sound from stopping on IE when I set a
    flash <object> visibility to false, through javascript ?
    i.e.: document.getElementById('flashObj').style.visibility =
    'false';
    All other web browsers behave normally (they just hide the
    player, sound, as the movie, is keep playing on...).
    Any ideas?

    "yduab" <[email protected]> wrote in message
    news:e7oua3$hsk$[email protected]..
    >I made a flash animation with a backgroung music loop and
    buttons. When a
    > button is clicked, a video file embeded in a swf plays
    in a movieclip on the
    > stage. Also, I set the background music volume to 0 as
    to listen to the video
    > sound. The problem is that when the background music
    volume is changed, the
    > video plays but the audio changes the same. I tried to
    stop the background
    > music, and then the video sound also stops!
    > Can someone help?
    > Here is my code:
    > _root.my_sound = new Sound();
    > _root.my_sound.attachSound("music.mp3");
    > _root.my_sound.start(0,1000);
    > }
    > _root.["bt_mc"].onPress = function(){
    > _root.my_sound.setVolume(0); // or
    _root.my_sound.stop();
    > _root.videoDisplay.loadMovie(this.videoclip);
    //_root.videoDisplay is the
    > target mc
    > }
    To have separate volume levels you have to attach the sound
    objects to different movieclips like this..
    _root.my_sound = new Sound(one_mc);
    The movieclip can be just an empty clip that you make with
    createEmptyMovieClip.
    tralfaz

  • HP Pavilion dm4-2070us Sound stop when put the headphone jack

    Hi
    When I remove or put the headphones jack, the sound stops to work in the speakers and in the headphones. To turn it back, I have to close the player(music, video or sound streamer from the web site) and start it again, but if the headphones is pluged in it works very well, if I remove the jack stop again, it happens in reverse case.
    Could you please tell me the solution for this problem?
    Notebook info
    IDT High Definition Audio CODEC
    Genuine Windows 7 Home Premium 64-Bit  SP1
    Intel(R) Core(TM) i5-2410M
    6GB system memory
    Thanks
    Roberto
    This question was solved.
    View Solution.

    I had the same problem with dm4-2070us and I just finished chatting with HP customer service. The representative asked me to do few things including setting the BIOS to default. I also reinstalled the driver. NOTHING WROKED.
    He told me to do a  complete revovery of the system to factory reset. I didn't want to go that route.
    What I did is downloaded the older driver for dm4-1162us and installed on my dm4-2070 and it fixed the problem. Now the only thing I'm missing is the Dolby sound, about which I don't care that much.
    Hope this help you also.
    Conclusion: It's a software problem. May HP come uo with a new driver to fix it, SOON.
    Thanks.

  • ITunes plays videos and podcasts when I click on music.

    Hi all I have a problem.
    when i click on music in the left menu. I notice when playign through my music set to randome that i get all media including podcasts, mpe books and other things that i woul dnot expect to be showing. I just want to randomly cycle through my music not listen to the books and podcasts etc.
    is there a way to resove this issue.
    OS: OSX 10.9.2, Mavericks
    Itunes: 11.1.5 (s) 64-bit
    Thanks for any ideas, tips, tricks and all you wish to share to help resolve this. 
    Edit: A good way to fix this would be able to select the type of media so it shows up in the right place. eg when importing or editing the album, file, cd podcast etc be able to select what type of media it is eg music, video, podcast, books and have the catogries show. only in what is selected. I have not come accross this feature.

    See:
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod
    iTunes: Frequently asked questions about viewing and syncing videos
    You may need a computer app like the free HandBrake to convert the format to one compatible with the iPod.

  • Mainstage 2.1 - EXS sound stop when playback loop start

    Hi,
    i use with MacBookPro 4(Go) and audio Kontrol (Native instrument)
    i have some concert with exs24 sound violin , when i play a note and start a loop in Playback after, the violin sound stop!
    do you have an issu?
    Thanks

    Sure, a quick reply: create a multi audio track song in Logic using markers. Bounce this to AIFF files - one for each instrument say.
    Using the MS multi track mixer template, drag the bounced files into playback instances and set the synch option to "wait for marker"
    Start MS playback then use the jump back/forth between markers buttons to do that. MS should continue playing untill it reaches the end of the section, then jump. It does but the results are unpredictable. Mostly I get white noise. This used to work under 2.1
    This is very well documented in another post and YT vid which I will try to find and append later today.
    Here it is: http://discussions.apple.com/thread.jspa?threadID=2372092&tstart=75
    Message was edited by: randallp

  • Video not stop when i escape from full screen mode of video

    [http://www.mozilla.com/en-US/firefox/video/?video=fx4-ui mozilla intro video features]
    i am using windows xp
    ram 512
    500 gb memory
    p 4
    when i open the above link website
    and when i play the video, i wait for to complete its buffer
    then i switch it to full screen after the video stop when i escape from full screen mode then video still playing but only with audio no video
    i am using firefox 4.0 rc

    so far 0 for 34
    where you at adobe?
    i didnt have this problem on the older version seems to b a problem you created, want to fix it

  • [solved] video playback stops when I move any window in xfce

    Hello,
    when I view a video with xine or mplayer and I move/resize any window the video playback stops.
    In xine the audio still plays, in mplayer video and audio stops.
    When I stop moving or resizing the window the playback continues.
    Is this normal in xfce or xorg in general ?
    Do other desktop environments handle this without stopping the video playback ?
    How does it work on your systems ?
    I am using the "nvidia" driver (geforce m 8600 gt - notebook). I haven't tested it with "nv".
    Last edited by baro (2009-04-28 15:03:21)

    ok, there is a setting for hiding a windows content on resizing for moving.
    I thought this would just apply to the window I resize and not to all windows on the desktop.
    Unmarking those did fix my problem.

  • Sound Stop when a MIAW open

    Hello... second doubt.
    I am doing a Director movie that calls a MIAW.
    How can I do to the sound do not stop when the MIAW
    show?

    I am a little confused...
    Do you want the sound to stop when a MIAW is opened, or keep
    playing?
    Sound in the stage should actually keep playing on its own if
    a MIAW is opened, therefore I am going to assume you want the sound
    to stop playing (or at least mute)
    Check out the help on whether or not the soundchannel is
    busy. Use that type of script in the MIAW so it stops the sound if
    running. Or you can similarly use the script in the stage to
    monitor for MIAW's and pause or stop when one is detected.

  • The Sound stop when the movie change

    Hello,
    I am doing a Director movie that calls another movie.
    How can I do to the sound do not stop when the movie
    change?

    Chrome has its own Flash Player plugin called "PepperFlash". It functions independently of the ActiveX plugin for IE. ActiveX causes more problems for IE than it will ever solve... and for that reason, I don't use Microsoft's pathetic excuse for a browser. It's pure garbage.
    I recommend using any other browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • Why sound stop when youtube video playing?

    the imac 0s&system software>os x mountain Lion i don't know doesn't working with my imac computer i don't know why?

    The iPad's work.  I believe that we will see some iOS improvement with version 5. I hope with the iOS 5 update for ATV2 will help as well. Maybe even a bluetooth keyboard for 'Safari for Apple TV'

Maybe you are looking for