Stop audio when projector looses focus???

I am using the MPEG Advance Xtra to play audio. I import the
audio with the Xtra and it places an audio member in my cast. I
then drag that onto the stage and into Channel 20. It spans 10
frames and there is a stop command on the last frame so that the
audio voice over plays to the end.
I have several of these audio sprites throughout my project
and I need a way for audio to pause when the viewer switches to
another program and then start again when the return to my project.
I have UNchecked the box in the projector settings that says, "Play
in Background" so that is not the issue. I tried to place the
following Lingo on the sprite that contains the audio:
on deactivateWindow
sprite(20).stop()
end
on deactivateApplication
sprite(20).stop()
end
These don't work. Maybe I'm placing them in the wrong
location or maybe they are wrong altogether. Your suggestions would
be appreciated!!!
Brad

> I have UNchecked the box in the projector
> settings that says, "Play in Background" so that is not
the issue. I tried to
> place the following Lingo on the sprite that contains
the audio:
>
> on deactivateWindow
> sprite(20).stop()
> end
>
> on deactivateApplication
> sprite(20).stop()
> end
I think you need to re-check the "animate in the background"
box, and
the handlers above need to be in a #movie script - these
messages aren't
sent to sprites.

Similar Messages

  • Asterisk key stops audio when trying to add timeline marker PREL8? ??

    When I try to add a timeline marker using the asterisk key the audio track stops playing and I have to restart it using the space bar or by pressing play?
    Any clues?

    Bill, yes I am using the Asterisk key on the numeric key pad with the nums lock on.  I know this function works as I have used it before in previous versions.  Just not sure if I have used it before in this new installed version of PREL 8.0 that I have.
    I have installed the latest updates also.
    Thanks
    Stewie.

  • Closing when loosing focus

    Hi, how should I do to close a JFrame when it looses focus? In my app, there are times when i have more then 2 JFrames open at the same time, and I need a way to close one of them whenever it looses focus.
    Hope you can help me.

    JFrame frame1 = new JFrame("Frame1");
    frame.addFocusListener(this);
    void focusGained(FocusEvent e)
    void focusLost(FocusEvent e)
    dispose();

  • JTree stop cell editing on lost focus and scrollPathToVIsible behavior

    how can you make a Jtree that uses a DefaultTreeCellEditor stop editing when it loses focus to a component other than the
    cell editor's DefaultTextField component ?
    i had to use a custom TreeCellEditor and attach my focus listener to the DefaultTextField object and attach it also to the JTree object
              DefaultTreeCellEditor celEditor = new DefaultTreeCellEditor(containerTree,renderer)
                   @Override
                   public Component getTreeCellEditorComponent(JTree tree, Object value,
                                     boolean isSelected,
                             boolean expanded,
                             boolean leaf, int row) {
                        Component comp = super.getTreeCellEditorComponent(tree, value, isSelected, expanded, leaf, row);
                        boolean found= false;
                        for(FocusListener f:editingComponent.getFocusListeners())
                             if(focusListener.equals(f))
                                  found=true;
                                  break;
                        if(!found)
                             editingComponent.addFocusListener(focusListener);
                        return comp;
    myTree.addFocusListener(focusListener);in JTable there's a property that you switch on/off which does exactly that, is there anything alike for JTree ?
    one more thing,after adding a new TreeNode to the JTree,i'm calling scrollPathToVisible(<path to the new node>),but for all the nodes i add except the first, the user object is not displayed,am i missing something? here's my code
              ActionListener actionListener = new ActionListener(){
                   public void actionPerformed(ActionEvent ae){
                        DefaultTreeModel model = (DefaultTreeModel)containerTree.getModel();
                        int nodeCount=containerTree.getModel().getChildCount(root);
                        if(ae.getSource().equals(menuAdd))
                             DefaultMutableTreeNode newNode=new DefaultMutableTreeNode();
                             if(currentNode>0 && currentNode+1<nodeCount)
                                  model.insertNodeInto(newNode, root, currentNode+1);
                                  newNode.setUserObject("container #"+(currentNode+1));
                             else
                                  model.insertNodeInto(newNode, root, root.getChildCount());
                                  newNode.setUserObject("container #"+nodeCount);
                             TreePath path = new TreePath(newNode.getPath());
                                            // only works properly for 1st node,for the rest i have to
                                            // click on the new node to get the proper display
                             containerTree.scrollPathToVisible(path);
                        else if(nodeCount>=0 && currentNode!=0)
                             model.removeNodeFromParent((DefaultMutableTreeNode)model.getChild(root, currentNode-1));
              };

    i solved the second issue by selecting the new node and starting to edit it

  • Stopping audio after continue button

    I am trying to stop an audio clip after a continue button is clicked. I added the audio to the button and tried to use the STOP AUDIO WHEN CLICKED button is checked. When I preview it though, the audio does not stop and continues to run for the entire slide. I want to audio to only play while that caption is up and the continue button is not selected.
    For example, I am trying to read a caption box that I have made. I want the user to be able to click continue and see the next caption box which then starts the next reading of the next caption box. Any ideas?
    I am use captivate 4, thanks.

    Hi there
    Place the next caption on a new slide. Then configure the button so the action is to go to the next slide. The audio should be skipped over and the next slide audio should play.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • When I am using powerpoint, if I linger too long on a slide the projector looses the signal from my mac. How do I stop this?

    I have a MacBook Pro with MacOX version 10.6.8
    When I give a powerpoint presentation, if I linger too long on a slide, the projector looses the signal, moves to a grey screen and scrolls through its menu.
    I have tried lengthening the time my Mac has before it goes to a screen saver.  It is not that.  Does anyone know how to keep this from happening?
    It has happened with multiple projectors.
    Angie

    http://answers.microsoft.com/en-us/mac

  • I am trying to use a Logitech USB headset to record with screencast o matic. In the sound file of system preferences the headset is recording audio. However it stops working when I use screen cast o matic. Any advice?

    I am trying to use a Logitech USB headset to record with screencast o matic. In the sound file of system preferences the headset is recording audio. However it stops working when I use screen cast o matic. Any advice?

    See these threads for some possible solutions:
    Bluetooth and 10.7
    Bluetooth speaker error

  • My ipod touch suddenly stopped charging when connected to my iHome audio system.

    My iPod touch suddenly stopped charging when connected to my iHome audio.  I downloaded the newest update to iTunes and then when I plugged my iTouch into my iHome a message popped up that said the iPod touch was unable to charge on the device.

    - Inspect the dock connector on the iPod and dock for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Contact iHome. Maybe there is a firmware update for the dock. Sometimes an iOS update breks compatibility. However, sometimes the following works
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • My windows keeps loosing focus when bluetooth goes active

    Hi, I have a problem with my bluetooth.
    When my bluetooth on my laptop goes active i.e. the "bluetooth B" in the bluetooth icon on the botton tray in Windows goes from white to green this problem accours. At that very moment, the current window I am working in goes inactive. If I am typing in a textbox for example and the bluetooth goes from "white to green", the textbox looses focus and I have to cklick it to resume my typing.
    How dow get rid of that problem and still have a reachable bluetooth device?
    Running on Windows XP Pro, laptop:
    Bluetooth Stack for Windows by Toshibe
    Version v4.42 (D)
    Bluetooth spec:
    Version 2.0, 1.2, 1.1
    Thanks!
    //Doman

    That could be the solution... but no luck..
    Now, I´m running with stack: v6.01.03(D)
    ...and the problem is still there.
    *More background:*
    I am using a SonyEricsson sync program, every morning I connect my mobile via this program. The program is set to autosync the first thing when it detecs the mobile via bluetooth. The laptop stays often in the it´s dock and when I leave it (with the mobile in my pocket) and come back, they find eachother again and the sync starts. This way I never need to start the sync by myself which I always forget otherwhise.
    The problem is that my computer sometimes checks if my mobile is still there (I suspect), and each time it starts to use the internal bluetooth device, the focus of current window I´m using is lost, this is of course very annoing when I´m writing something etc. This occurs regardless of the result of the search, ie regardless of it finds the phone or not.
    Is there any workaround without losing that my phone autoconnects with my computer and the sync starts?

  • Stop sounds when new window opens

    Is there a way to get Flash to stop when a user changes focus
    from the page where the flash is located?
    I have a flash audio player on each page that a person can
    switch on and off while they are on the page but if they click a
    link that opens a new window from that location the audio from the
    flash can still be heard because the page with the flash is still
    up but running in the background. Closing the page in this case is
    not an option. What I want to do is just make flash stop playing
    when a new window is opened.
    Can this be done?

    Hi
    You can use the stopAllsounds() function. Check Flash Help
    for more details.
    Hope it helps.

  • No audio when playing YOUTUBE videos on ipod touch via a docking station

    Hi there, when my ipod touch is docked on its docking station, it will not play audio on youtube videos, it will play the video but not the audio through the docking station speaker. It used to play audio without problems before, but recently it has stopped. When i take the ipod touch off the docking station the audio on the youtube video returns. any ideas why this has happened? it plays the youtube audio through the head phones too, i can play all other audio through the docking station speakers with out a problem.

    There are no setting to change on the iPod.
    Have you updated either the firmware on the car or on the iPod since they last played in the car?
    This may work:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • HT204368 I recently upgraded from an iPhone 4s to an iPhone 5.  I have a Motorola HX550 Bluetooth Headset which worked flawlessly with the iPhone 4s.  However, since upgrading to the iPhone 5, I frequently lose audio when in the middle of a call.  I am no

    I recently upgraded from an iPhone 4s to an iPhone 5.  I have a Motorola HX550 Bluetooth Headset which worked flawlessly with the iPhone 4s.  However, since upgrading to the iPhone 5, I frequently lose audio when in the middle of a call.  I am not certain whether it is a full disconnect or just an audio loss.  The person on the other end reports still being able to hear me, however, I suppose they could hear me speaking over another source even if bluetooth disconnected. The loss of audio is always preceded by a quick shrill noise, so I can easily tell when it happens.  All I have to do to fix the problem is to select Audio Source on the call screen, temporarily switch audio back to the iPhone, and then switch back to the headset, and then it starts working again.
    Is is important to note that I am not the only one experiencing this issue:
    This is a link to someone using the Motorola H19txt headset experiencing the same issue
    https://forums.motorola.com/posts/94ac15ad7c
    If you go to the Plantronics website and look at the "Ratings and Reviews" on the Voyager Legend you will see the same issue reported:
    http://www.plantronics.com/us/product/voyager-legend (next paragraph is taken from the review since there is no direct link to the review.
    Really nice Headset unless you own an Iphone 5. I own several Plantronics headsets and have always loved the quality/ performance. This headset seems not to be compatible with the new Iphone 5. In the middle of a conversation it will lose all incoming audio. This leaves you trying to switch audio sources really fast in order not to lose your phone call. Ive tried 3 legend headsets and they all do the same thing. Hopefully this gets fixed soon because the headset is really nice
    Since this issue appears to affect multiple headsets from multiple vendors, I think it is fair to conclude that it is an issue with the iPhone5 bluetooth itself.
    I am posting this as a new discussion as I don't see any other posts specific to this iPhone 5 Bluetooth issue.  I would have reported this as a problem to Apple, but don't seem to be able to find a way to do this on the web.  Hopefully they are already aware, but if not, maybe they will see i here.

    here is an interesting thing: take the iphone and set lock screen to never. Now make an email with siri--be sure to activate her with call button. get to the body and get some text in there. then just stop talking. LOCK SCREEN APPEARS!!!!!! and of course you draft is gone.
    There does seem to be a work around for some--maybe all these issues. Don't use the call button--use the buttons on the phone.
    Siri seems to behave properly with scenerio above---sans call button. She does not go to lock.

  • I need to play a song on a Keynote presentation, how do I do this ? I use to drag and drop the mp3 in Keynote but it stops playing when the slide move to the other one... how can I make the song keep playing through the whole presentation ? Thanks.

    I need to play a song in a row in a Keynote presentation, how do I do this ? I use to drag and drop the mp3 in Keynote but it stops playing when the slide move to the other one... how can I make the song keep playing through out the presentation ?
    Thanks.

    Drag the file into the audio window in the Document inspector...

  • Window looses focus seemingly at random

    This is very frustrating.  Whenever I am working in any application, the active window auto-magically looses focus.  I don't have a lot running by way of background processes and the computer is fairly new and running all latest software.  I can't figure out why.  Hoping someone from the Apple community can help out...
    Here is detailed information about my MacBook Pro:
    EtreCheck version: 1.9.11 (43) - report generated May 30, 2014 at 9:24:49 AM CDT
    Hardware Information:
              MacBook Pro (15-inch, Mid 2012)
              MacBook Pro - model: MacBookPro9,1
              1 2.3 GHz Intel Core i7 CPU: 4 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: (null)
              NVIDIA GeForce GT 650M - VRAM: 512 MB
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 0 days 17:58:47
    Disk Information:
              Crucial_CT240M500SSD1 disk0 : (240.06 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        disk0s2 (disk0s2) <not mounted>: 239.2 GB
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Logitech USB Receiver
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Configuration files:
              /etc/sysctl.conf - Exists
    Gatekeeper:
              Anywhere
    Kernel Extensions:
              [kext loaded] com.Logitech.Control Center.HID Driver (3.9.1 - SDK 10.8) Support
              [kext loaded] com.Logitech.Unifying.HID Driver (1.3.0 - SDK 10.6) Support
              [kext loaded] com.epson.driver.EPSONProjectorAudio (1.30 - SDK 10.4) Support
              [kext loaded] com.pgp.iokit.PGPdiskDriver (10 - SDK 10.8) Support
              [kext loaded] com.pgp.kext.PGPnke (1.1.3 - SDK 10.8) Support
              [kext loaded] com.plantronics.driver.PlantronicsDriverShield (4.3 - SDK 10.8) Support
              [not loaded] com.symantec.kext.SymAPComm (12.2f1 - SDK 10.6) Support
              [kext loaded] com.symantec.kext.internetSecurity (5.2f1 - SDK 10.6) Support
              [kext loaded] com.symantec.kext.ips (3.5f1 - SDK 10.6) Support
              [kext loaded] com.symantec.kext.ndcengine (1.0f1 - SDK 10.6) Support
    Startup Items:
              ciscod: Path: /System/Library/StartupItems/ciscod
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.barebones.authd.plist Support
              [running] com.cisco.anyconnect.vpnagentd.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [running] com.manageengine.desktopcentral.dcagentservice.plist Support
              [loaded] com.manageengine.desktopcentral.dcagentupgrader.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
              [loaded] com.oracle.java.JavaUpdateHelper.plist Support
              [loaded] com.pgp.framework.PGPwde.plist Support
              [running] com.pgp.wde.pgpwded.plist Support
              [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
              [loaded] com.symantec.liveupdate.daemon.plist Support
              [not loaded] com.symantec.sep.migratesettings.plist Support
              [running] com.symantec.sharedsettings.plist Support
              [running] com.symantec.symdaemon.plist Support
              [not loaded] com.teamviewer.teamviewer_service.plist Support
              [loaded] com.tunnelbear.mac.tbeard.plist Support
              [loaded] com.wuala.WualaFS.KextLoaderHelper.plist Support
              [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    Launch Agents:
              [loaded] com.cisco.anyconnect.gui.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.Logitech.Control Center.Daemon.plist Support
              [not loaded] com.maintain.PurgeInactiveMemory.plist Support
              [not loaded] com.maintain.Restart.plist Support
              [not loaded] com.maintain.ShutDown.plist Support
              [running] com.maintain.SystemEvents.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [running] com.pgp.pgpengine.plist Support
              [running] com.symantec.uiagent.application.plist Support
              [not loaded] com.teamviewer.teamviewer.plist Support
              [not loaded] com.teamviewer.teamviewer_desktop.plist Support
              [running] jp.co.canon.SELPHYCP.BG.plist Support
              [failed] org.gpgtools.gpgmail.enable-bundles.plist Support
              [loaded] org.macosforge.xquartz.startx.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.citrixonline.GoToMeeting.G2MUpdate.plist Support
              [loaded] com.valvesoftware.steamclean.plist Support
    User Login Items:
              UNKNOWN
              Plantronics
              iTunesHelper
              Quicksilver
              Dropbox
              aText
              Box Sync
    Internet Plug-ins:
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
              nplastpass: Version: 2.5.5 Support
              Default Browser: Version: 537 - SDK 10.9
              F5 SSL VPN Plugin: Version: 7080.2013.0319.1 Support
              AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support
              FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
              Silverlight: Version: 5.1.30317.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
              QuickTime Plugin: Version: 7.7.3
              SharePointBrowserPlugin: Version: 14.4.2 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support
              MeetingJoinPlugin: Version: (null) - SDK 10.6 Support
    Safari Extensions:
              LastPass: Version: 3.1.21
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              WebEx64: Version: 1.0 - SDK 10.6 Support
              CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 Support
              f5 sam inspection host plugin: Version: 7060.2013.0312.1 Support
              Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes:
              Flash Player  Support
              Java  Support
              Logitech Control Center  Support
              Plantronics  Support
              Symantec QuickMenu  Support
    Time Machine:
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
              Destinations:
                        Time Machine [Local] (Last used)
                        Total size: 1 
                        Total number of backups: 16
                        Oldest backup: 2013-10-23 15:56:24 +0000
                        Last backup: 2014-05-27 20:27:27 +0000
                        Size of backup disk: Excellent
                                  Backup size 1  > (Disk size 0 B X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   3%          WindowServer
                   1%          Box Sync Monitor
                   1%          Box Sync
                   1%          fontd
                   0%          SystemUIServer
    Top Processes by Memory:
              246 MB          WindowServer
              197 MB          mds_stores
              169 MB          Airmail
              115 MB          Microsoft Outlook
              98 MB          Safari
    Virtual Memory Information:
              3.56 GB          Free RAM
              2.49 GB          Active RAM
              515 MB          Inactive RAM
              982 MB          Wired RAM
              1.74 GB          Page-ins
              40 KB          Page-outs

    ... I don't have a lot running by way of background processes
    There are many background processes running on that Mac. The following will determine its peformance without several that are likely to be causing the problem.
    Please determine if the problems also occur in "Safe Mode":
    Safe Mode or "Safe Boot" is a troubleshooting mode that bypasses all third party system extensions and loads only required system components. Read about it: Starting up in Safe Mode
    You must disable FileVault before you can start your Mac in Safe Mode.
    Starting your Mac in Safe Mode will take longer than usual, graphics will not render smoothly, audio is disabled on some Macs, and some programs (iTunes for example) may not work at all.
    Merely starting your Mac in Safe Mode is not intended to resolve the problem, it's to observe its performance without certain additional components.
    To end Safe Mode restart your Mac normally. Shutdown will take longer as well.

  • Itunes stops working when I try to upload CD

    Itunes stops working when I go to type in info on audio cd file prior to download

    Ah... interesting. I do have errors in the event log for the Bonjour service for all of the times that I have tried to connect (8 for every time I try to connect). They are on the Vista machine and it says : XXX: ERROR: read_msg errno 10054 (An existing connection was forcibly closed by the remote host.)
    The XXX is different number for each of the 8 and includes: 488, 480,476, 472, 468, 464, 460, and 452.
    It also has an application error for itunes:
    Faulting application iTunes.exe, version 9.2.1.5, time stamp 0x4c47745b, faulting module iTunes.dll, version 9.2.1.5, time stamp 0x4c477437, exception code 0xc0000005, fault offset 0x0040efa0, process id 0x12b0, application start time 0x01cb2f69002ea6c0.
    So I tried to restart and start Bonjour and that didn't help. I have rebooted and that didn't help either.

Maybe you are looking for