Add logic to an audio file to play only 1 time.

I have a slide in which the user will come back several times. It contains an audio file that I would only play the first time that the user is viewing this slide. How do I do that? I have 9 Captivate.

This makes it easier. Remove the slide audio, first find in the library, because you will use a command to run only the first time.

Create a v_visit variable user with a default value of 0.

Create this conditional action advances (or shared):

IF v_visit equals 0

Play Audio... Add the extract audio from library

Assign the v_visit with 1

Continue

ON THE OTHER

Continue

Oops, forgot one last step: trigger this action by the event to enter the slide.

If you prefer to use across multiple slides, you need to reset the variable to 0, perhaps by using the next button on the slide? Do not use the on exit event, unless you are sure that the last image of the slide will be reached. This is not the case if you have a button depending on who has the action «Go ├a next page»

Rick workflow was the only possible in older versions, before ordering that Play Audio appeared. I spoke on this subject:

Audio objects: control them! -Captivate Blog

Tags: Adobe Captivate

Similar Questions

  • Flash can allow me to put an audio file to play once you click on the audio icon that one once?

    I saw this on a Web site for languages.  the site received the audio file and I only had to click on the audio icon and he played the audio file.  In addition, flash offers several types of icons to the choice that I can use as that of my document?  I am totally new to Flash so I need help.  Just so you know what I mean, the site is spanicity.com.  It's a language site.  You can see what I'm trying to do.

    Involves free for to do me my own, so if you want free you will have the chance to find them using Google... just be aware that there are a number of sites involving 'free' which are gateways to attacks from viruses... so if you arrive at a site and things start to appear and act funny... get outta here fast.

    Insofar as the download of files will, for images can be as simple as a right click on the image, select Save in the menu that appears.  As to bring them into a Flash file, you use the file-> import orders... to bring in pictures of your local hard disks.  I don't think that Flash supports .ico files if you really intend to files of icons.

  • How predownload (cache) audio files then play

    Hi everyone, I will develop an online exam system. There are a lot of audio files in the review and it's time to load. I'm looking for a way to predownload (cache) audio files so students not waiting for loading file after the start of the review. I want to use a single page to download files, and this step is not included in the time.
    Can someone give me some advice Quick predownload (cache) audio files then play?

    Thank you.

    You can't the preload/fast loading anything.  Speed unladen is out of your control unless you do the download.

    all you can do is

    1. start download until it is necessary.

    2 prevent the user access to a place where the download is necessary until the download is complete.

  • newbie question on audio file that plays while the attached object is always visible

    I know how to link a sound file to an object, but is it possible to have the audio file set when the object is always visible (but not continuous, as an embedded sound file)? The object in question is the partitions and the sound file is the recording of the music, so you can see why I would want to see the old and hear the latter at the same time.

    Thanks for your help!

    . TIF isn't a standard web image file type.  TIF is mainly used in print media.   Open an image in your favourite graphic application (Photoshop or Fireworks).  Save for Web as optimized JPEG, GIF or PNG in your Local Site of DW folder.

    In addition, AIFF will be a problem because not all users have a Media Player installed on their machine that can handle this type of file.  On the web, you will reach a wider audience with a built-in MP3 player and MP3 audio files.  I highly recommend the Reader Pickle - play button.

    Nancy O.

  • Is it possible to have an audio file to play throughout a digital publication on iPad?

    Good afternoon!

    I played with the idea of having an audio track to play throughout our digital publication on the iPad. I now work in a single article, but it stops once you move to a new article. Is it not possible to have it continue playing while the user navigates in the other articles?

    Thanks to everyone in the community, you have helped me through some difficult problems!

    http://forums.Adobe.com/message/4047712#4047712

  • audio files incorporated plays not

    https://courses.worldcampus.PSU.edu/public/multimedia/audioPlayer/DEVinline.html

    will not play in firefox 23 or dev build 24 and try to understand why any help would be appreciated.

    Thank you
    Mike

    people who work with the player in looking thanks for all the help

  • Importing Audio files to Windows Movie Maker

    I'm trying to import 4 different Woindows Movie Maker audio files to play at different times during a slide show.  They are all in MP3 format.  The other return will work an error saying quite simply impossible to import.  Help please!

    Convert MP3 files to WMA format before
    import into Movie Maker should dissipate the problam.

  • How can you add 3 audio files to movie maker to play both?

    I do something and I passed the age trying to figure out how to make 3 audio file crash at the same time. It isn't working and I really need help as soon as possible. Thank you.

    It is not possible in Windows Movie Maker.  You will need a program like Adobe Premier, Sony Vegas or Camtasia.

  • How to play audio files, one after the other?

    Hi, I try to create an application that tries to read audio files a few one after the other. I've created a loop for playing audio files. But only the first track is played and the second song is playing only about 5 seconds while the rest do not get played at all and the two files that have played, pieces overlap, which is not supposed to be. Can you guys help me? I need urgent assistance that I need to finish it tonight.

    Here are my codes I created for the application:

    package mypackage;
    
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.lang.Class;
    import javax.microedition.rms.RecordStore;
    import java.io.InputStream;
    import java.io.ByteArrayInputStream;
    import net.rim.device.api.media.protocol.ByteArrayInputStreamDataSource;
    import net.rim.device.api.system.*;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.extension.container.*;
    import net.rim.device.api.ui.UiApplication;
    import java.io.IOException;
    
    public class PlayMedia extends UiApplication{
        /**
         * Entry point for application
         * @param args Command line arguments (not used)
         */
        public static void main(String[] args){
    
            PlayMedia theApp = new PlayMedia();
            theApp.enterEventDispatcher();
        }
    
        public PlayMedia()
        {
    
            pushScreen(new PlayMediaScreen());
    
        }
        /**
         * A class extending the MainScreen class, which provides default standard
         * behavior for BlackBerry GUI applications.
         */
        final class PlayMediaScreen extends MainScreen
        {
            /**
             * Creates a new PlayMediaScreen object
             */
            public Player p = null;
            PlayMediaScreen()
            {
                String test3 = "Test(2seconds).mp3";
                String test5 = "Test(2seconds)2.mp3";
                //String test6 = "Test(2seconds)3.mp3";
                String test4 = "Test(2seconds)4.mp3";
                String test1 = "blind_willie.mp3";
                String test2 = "blind_willie.mp3";
                String mp3 = null;
    
                for(int i=0;i<5;i++){
                    if(i == 0){
                        mp3 = test1;
                    }
                    else if(i == 1){
                        mp3 = test2;
                    }
                    else if(i == 2){
                        mp3 = test3;
                    }
                    else if(i == 3){
                        mp3 = test4;
                    }
                    else if(i == 4){
                        mp3 = test5;
                    }
                    //testing
                    System.out.println("Song is "+ mp3 + "???????????????????????????????????????");
    
                    play(mp3);
    
                    System.out.println("Song is "+ mp3 + "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                }
            }
    
            private void play(String mp3){
    
            InputStream stream = (InputStream)this.getClass().getResourceAsStream("/" + mp3);
    
                try {
                    //p = Manager.createPlayer(source);
                    p = Manager.createPlayer(stream, "audio/mpeg");
                    p.realize();
                    p.prefetch();
    
                    //testing
                    System.out.println("Creating Players!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
                    System.out.println("The mp3 is " + mp3 + "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
    
                } catch (IOException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
    
                    //testing
                    System.out.println("IO Exeception!!!!!!!!!!!!!!!!1 " + e);
    
                    //testing
                    System.out.println(p);
    
                } catch (MediaException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
    
                //testing
                System.out.println("Media Exeception!!!!!!!!!!!!!!!!1" + e);
    
                //testing
                System.out.println(p);
                }
                /*
                 * Best practice is to invoke realize(), then prefetch(), then start().
                 * Following this sequence reduces delays in starting media playback.
                 *
                 * Invoking start() as shown below will cause start() to invoke  prefetch(0),
                 * which invokes realize() before media playback is started.
                 */
                try {
                    p.start();
                } catch (MediaException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
    
                    //testing
                    System.out.println("Media Exeception for starting!!!!!!!!!!!!!!!!1" + e);
    
                    //testing
                    System.out.println(p);
                }
                /*
                try {
                    p.stop();
                } catch (MediaException e) {
                // TODO Auto-generated catch block
                    e.printStackTrace();
                }
                p.deallocate();
                p.close();
                */
    
            }
        }
    }
    

    Please help me! Thanks in advance!

    What you will do, is add the PlayerListener and / if you have in your loop code would go in the treatment of the END_OF_MEDIA event. Once that noise has stopped you will start the next sound and add the listener of player.

    //Declarations
    PlayerListener pListen;
    String mp3 = "";
    
    ..........
    ..........
    
    pListen = new PlayerListener(){
       public void playerUpdate(Player player, String event, Object eventData) {
          if (event.equals(PlayerListener.END_OF_MEDIA)) {
             if( mp3.equals(test1) ) mp3 = test;
             else if( mp3.equals(test2) ) mp3 = test3;
             else if( mp3.equals(test3) ) mp3 = test4;
             .........
    
             InputStream stream = (InputStream)this.getClass().getResourceAsStream("/" + mp3);
             p = Manager.createPlayer(stream, "audio/mpeg");
             p.realize();
             p.prefetch();
             p.addPlayerListener(pListen);
             p.start();
          }
       }
    }
    
    InputStream stream = (InputStream)this.getClass().getResourceAsStream("/" + mp3);
    p = Manager.createPlayer(stream, "audio/mpeg");
    p.realize();
    p.prefetch();
    p.addPlayerListener(pListen);
    p.start();
    

    So, add the try-catch blocks.

  • Problem reading - video/audio files play for less than 3 seconds and then stops

    I have the first items 13.1 installed on a Dell XPS 8700 with 10 Home Windows (64-bit), Intel Core processor i7-4790 CPU @ 3.60 GHz with 8 GB of RAM.

    When I add an audio file (MP3 or M2TS) and then insert it to the timeline, the file will play only 3 seconds or less before stopping automatically.

    I have always run SmartFix and make the work area before playing.

    Andrew

    Based on your video source...

    Manually set the project preset

    PAL

    AVCHD

    1080i25 Full HD

    Do follow the following scenario

    • Open the project in the workspace Expert and go to file menu/new project and change the settings.
    • In the settings, set the project preset to the foregoing. OK to get out of there.
    • In the dialog box new project opens, rename the project and make sure you have a checkmark next to the "Force selected setting on this project." OK to get out of there.
    • In the Expert workspace, import your source media with the help of add media/files and folders.

    Your files that you see 50i designated are not 50 frames per second. The 50i is 50 frames per second, which equals 25 frames per second interlaced (25i).

    Once you drag the first video on the timeline, new note if there is an orange line on the content of the timeline, not the orange line (stretching) running through audio and video clips.

    When I used the clips of 1080i from your camera in my Premiere Elements project, I came across a large number of problems that have not remedied by applying Options for interlacing preview fields. But all this "ironed out" export when I selected the export parameters progressive who essentially deinterlaced export.

    Please take into account and then let us know if the foregoing had positive effects on the results.

    Thank you to discover additional troubleshooting suggestions.

    RTA

  • How to play several audio files at the same time and mute toggle some voices?

    Hi all

    Forgive me if this is mentioned elsewhere and kindly point me in the right direction.  I'm a kid with flash and action script so if you are in doubt, error on the side of more specific in your response, there is a lot of vocabulary I still don't know.

    The goal:

    I have 4 audio files which are Soprano, Alto, tenor and low voice of a musical example.  The result should allow the user to play all 4 voices at once and dumb voice specific to hear all the possible combinations of voices playing together or solo.  I imagined a check box at the beginning of each rated musical line that puts that voice muted when checked.

    It would be ideal to have the game, interrupt and stop reproduction choices where 'Stop' resets playback at the start and 'Pause' maintains the current place in time and takes over from there, once playback is started again.

    I am able to get the simple audio files to play from a single button, but I am struggling to find how to link multiple audio files to start at the same time by a single button.  I found this link: https://forums.adobe.com/thread/1069107?start=0 & tstart = 0

    where the last message mentions the use of tables, but being a complete beginner, I don't completely understand what they are doing.

    I know it's a big piece of questions at once, but if you could meet any part of it, or direct me to a tutorial/instructions, I would really appreciate it.

    Thank you for taking the time to help others

    use:

    kglad wrote:

    use:

    import flash.events.MouseEvent;

    import flash.media.SoundTransform;

    var soprano: Sound = new Soprano();

    Var high: Sound = new Alto();

    var tenor: Sound = new Tenor();

    var bass: Sound = new Bass();

    Ash var: Array = [soprano, alto, tenor, low];

    var offsetA:Array =]

    var st: SoundTransform = new SoundTransform();

    play_btn.addEventListener (MouseEvent.CLICK, playF);

    pause_btn.addEventListener (MouseEvent.CLICK, pauseF);

    stop_btn.addEventListener (MouseEvent.CLICK, stopF);

    playF function (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    This ["sc_" + i] = [i] Sunda () .play;

    }

    }

    function pauseF (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    offsetA [i] = this ["sc_" + i] .position;

    This ["sc_" + i]. Stop();

    }

    }

    function stopF (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    offsetA [i] = 0;

    This ["sc_" + i]. Stop();

    }

    }

    function unpauseF(e:MouseEvent):void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    This ["sc_" + i] = Sunda [i] .play (offsetA [i]);

    }

    }

    function muteF(i:int):void {}

    St.volume = 0;

    This ["sc_" + i] .soundTransform = m;

    }

    function unmuteF(i:int):void {}

    St.volume = 1;

    This ["sc_" + i] .soundTransform = m;

    }

  • Want the audio file, click on the box to play when you click

    Hi all

    I would like to have a click box that plays a short audio file when you click it, much the way you can have a view of the legend and a playing audio file with a bearing. It seems that there is no way to get the 'success on click' action to be 'read the audio file '. I can associate an audio file with the box click on the Audio tab, but this makes the audio file play automatically when the click box, not display when clicked.

    If someone was able to get an audio file to play when the user clicks on a click box, as I describe it, without connection to another slide and without the help of a button? I don't want to use a button because the real object that is clicked is a box of nail on something else. The highlight box means that there is more information about the highlighted item.

    In addition, I don't want to create a branch to another slide, because they are really short texts of audio presentation bit, and I have three of them. I prefer to have interactivity on a slide, rather that force the user to navigate around.

    If anyone did what I describe and has ideas, I welcome them. At this point, I think a bearing with legend and play on the mouse on an audio file can be the best thing, except if the user moves the mouse out of the hotspot, the sound stops. Maybe it's not bad anyway, but thought I'd check here everything first before resorting to a reversal.

    Thank you very much!
    Lisa

    Hi Rick!

    Thanks a lot for your answer. Hmm... I think in my situation, workaround to reread the previous slide to reset the box click doesn't work. Before arriving at these interactive click boxes, the slide has other text and audio playback. Start the slide would re-read everything until the blade stops, then display the interactive elements. However, I think that something like that might work for a project where the interactive stuff "starts" immediately on the slide. It's simply not how mine is set up at this stage. I think that the legend of attached with audio reversal will probably be my best option right now.

    Thanks again for your response!
    Lisa

  • store a series of audio files

    Hi, I'm developing an application where I wanted to add a series of audio files.  my current prototype does not load in the Simulator as soon as I add more of both .mp3.  I exchanged the actual mp3s and exit the project folder "/ bin", so it seems related to the overall size of the project.

    My question is: what is the most effective way to store and play audio files?  I'm targeting 9800 models for my user base.  the best option would be to have install the audio files as a separate filesystem, where my code will then point to a constant file location?  which would limit the model of phones that I could target if I look at more than just 9800 models?

    tips are very welcome!

    The best way to store mp3 files is located on the media map file system. I do not recommend to store mp3 files in the file system that is located in the device memory. Because in situations when it is internal memory volume lack smart phone BlackBerry becomes crazy and works unstable.

    If you want to distribute with your application mp3 files, I see two ways.

    The first: distribute mp3 files in the archive to be downloaded and extracted from the card out of holder of the device connected (via USB).

    The second: download all the files needed by your application is installed and install on the SD card.

    The second way is more expensive for your customers. You can implement both directions and letting a client select, an approach he prefers. Remember user about additional fees if client review selects installation wireless mp3 files.

  • Is there audio events aboard animate 3.0? -Need to know when an audio file stops

    I'm working on a project where there is an audio playback button.  When the user clicks and audio playback, I want to show a version the button highlighted, but when the audio is finished, I want to emphasize to hide again.

    I did successfully using the library of buzz.js, but I try to use anime new native audio support, and I hope I can do the same thing.  With buzz, I would like to do this...

    ARM.bind ("pause", Function {}

    SYM.$("play_arm").Attr("src","images/play_btn.png");

    });

    ARM.bind ("playing", Function {}

    SYM.$("play_arm").Attr("src","images/stop_btn.png");

    });

    In this case, 'arms' is a variable that contains the audio, and I'm in the binder to the 'pause' and 'pay' events thrown by buzz.

    This syntax does not work for the audio native, so I wonder if there is another way to do this, or if there is no usable event.

    Any suggestions will be greatly appreciated.  Thank you!

    Fred

    I have it.

    Instead of link the action to the event, you add an event listener. Then...

    ARM.bind ("pause", Function {}

    SYM.$("play_arm").Attr("src","images/play_btn.png");

    });

    becomes

    arm.addEventListener ('complete', function() {}

    ...

    });

    You will also notice that I used "completed" instead of "pause".  My audio files are playing throughout of my current project, so 'done' is the best event.  'Break' also triggered at the end, then, really, that you can use.

    Hope this helps someone who has the same problem.  Thank you!

    Fred

  • A user selected audio file cannot be read

    I have problems to get a selected user audio file to play. I know that you can not play the RIM supplies those, but here's what I have:

    Class cl = Class.forName("bb.cen.CallEnd");InputStream input = cl.getResourceAsStream(soundToPlay);
    
    m_player = Manager.createPlayer(input, "audio/mpeg");m_player.realize();m_player.prefetch(); 
    

    soundToPlay is obtained from:

    soundToPlay = "file:///" + oData.getStringElement(OptionsData.USERSOUND);
    

    OptionsData.USERSOUND is obtained from a form popup of file selection using getFile().

    It is usually something like /SDCard/Blackberry/ringtones/sound.wav

    Whenever I run it well, I can select the file, but I always get a

    CAFETERIA: impossible to find...

    I know I'm getting this because getResourceAsStream returns null.

    How to do that it returns is not null?

    getResourceAsStream Gets a file that is integrated with a RIM approx. soundToPlay goes to a file location, try from soundToPlay in Manager.createPlayer instead of trying to get * beep * an embedded resource. If it is an embedded resource, you must access it as you would with Class.forName, only you pass the string in getResourceAsStream.

    Hope that makes sense.

Maybe you are looking for

  • OSX Server caching does not work after update

    It was low on my priority list, but the OSX Server that we run in the House for the caching seems to have stopped caching; from what I remember, it was related to the update software to 10.11.4 of what it was before, and server software everything th

  • Failed to install wireless

    Try installing a L7580 as a printer wireless on a Macbook pro. I opened the airport and insert the HP installation CD.  The installer through the acceptance of the user license, and then loops indefinitely when it reaches the HP customer Participatio

  • How to use my webcam? I have a aspire E1

    I have a aspire e1 - 572. I don't know how to use my webcam. Can someone explain how to start? I know it works, Facebook took my picture with him. Now I'm stuck. Help, please

  • I think I have a fake security alert, I have kaspersky 2011

    But cant uplaod on my laptop againas I had removed.  Can someone help me please?  IM worried about my safety online.

  • GDI +.

    I use a USB Modem application provided by the seller, called "3 G - Connect.exe", to access internet on my desktop. As soon as I connect to Windows, as usual, when I drag any window to its title bar mouse pointer of the it shows content of the window