Play and Pause button

Hello,
Because my playbar is disabled due to my pretest within my file I dont have a play and pause button.
i have created 2 buttons. One to pause the program and the other to play.
The problem is, once I click on the pause button, then on the play, then on the pause again - the pause button is disabled. in other words, i am only ever able to click on either one of the buttons once.
I have the 'infinite' button checked but i am still not sure why its not working.
-Stephanie

Hi Stephanie,
You didn't tell how you trigger pause/play with those 'buttons' - since you are on CP6 or later, use shape buttons that can be put on the master slides or timed for the rest of the project.
http://blog.lilybiri.com/why-i-like-shape-buttons-captivate-6
http://blog.lilybiri.com/toggle-shape-buttons
If you use a simple action (using the Action accordion), another possibility besides the excellent event-handler widget (only for SWF-output) is to replace it by a standard action: http://blog.lilybiri.com/why-choose-standard-over-simple-action
Lilybiri

Similar Messages

  • Sometimes my play and pause button(F8) is not working.

    I don't know why, sometimes the button of play and pause button is not working why?
    do you have any advice or do you think is broken??

    Try resetting the PRAM (if you are able to do so).
    Otherwise, I would take it in for diagnosis.
    Barry

  • The play and pause buttons in control center

    the play and pause buttons in control center some times work and some times not !!!
    any solution please ? !

    Hi m-tillawy,
    Thanks for using Apple Support Communities.  I would try a restart/reset of the iPhone:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    If the issue persists after that, I would attempt a reset of all settings as per this article:
    Reset iPhone Settings - iPhone User Guide
    http://help.apple.com/iphone/7/#/iph7a2a9399b
    Reset iPhone settings
    Reset iPhone settings. Go to Settings > General > Reset, then choose an option:Reset All Settings:  All your preferences and settings are reset.
    Cheers,
    - Ari

  • Play and pause button and control bar are missing below xfinity player

    when I want to watch a video noticed play and pause button and control bar are missing below xfinity player.

    For the two soundchannel sounds you have, you will need to keep track if and which one is playing so that you can use some logic to stop the sound right after you mark where the sound was (position)  so that you can resume playing it again when the play button is selected.
    So if the stroke sound is started, you could assign a boolean variable named something like 'strokeplaying' to be true (setting the other sounds similar boolean false).  Then, in your pause function you would test to see if strokeplaying is true and if it is, store the position property and stop the channel playing. 
    When play is selected, similarly, you test if that sound is true and if so you restart it using the position value you stored as the starting point.  You do the same for the other sound... remembering that it is possible neither is playing when pause it clicked.

  • My apple wireless keyboard is not responding on all the buttons starting from esc up to the play and pause button,please can u help me on how to solve this problem

    The mission control,launchpad ,two brightness button,reverse & play & pause button are not working on my apple wireless keyboard,please help me

    Try resetting the PRAM (if you are able to do so).
    Otherwise, I would take it in for diagnosis.
    Barry

  • HTML5/quicktime player plays and pauses several times a second

    We've been getting some weird entries in our statistics logging on our streaming media system, and I've managed to not-so-much recreate the problem as be around when it occurs.
    Playing about with the interface (scrubbing quickly, then playing/pausing repeatedly, etc) doesn't seem to trigger the problem - it just seems to happen occasionally after a few minutes of a player being open in full-screen mode.
    The actual symptoms are the the stream suddenly starts pausing and playing incredibly quickly - upwards of 10 times a second - and you can see the play and pause buttons swapping incredibly quickly. We're not getting this problem with any other of our players, and we're using the iPad's built-in player, not our own HTML5 player, although I'm still not entirely convinced it isn't a bug with our servers.
    The stream also seems to start looping, and as soon as it reaches the end of the stream it starts again, which is making me wonder if it's a bug with the UI itself, as if the play and pause buttons are getting triggered constantly, but changing the rotation doesn't stop it happening. I also wondered if it was something silly, like someone sneezing on the screen and the moisture triggering the touch screen, but that doesn't seem to be the problem either.
    Has anyone else seen this behaviour before? I don't seem to be able to directly trigger it - it just seems to happen occasionally.
    I'm trying to get a video of the symptoms, but it's not playing ball at the moment. If I can get it to do it again, I'll add a video example in a later post/edit.

    We've been getting some weird entries in our statistics logging on our streaming media system, and I've managed to not-so-much recreate the problem as be around when it occurs.
    Playing about with the interface (scrubbing quickly, then playing/pausing repeatedly, etc) doesn't seem to trigger the problem - it just seems to happen occasionally after a few minutes of a player being open in full-screen mode.
    The actual symptoms are the the stream suddenly starts pausing and playing incredibly quickly - upwards of 10 times a second - and you can see the play and pause buttons swapping incredibly quickly. We're not getting this problem with any other of our players, and we're using the iPad's built-in player, not our own HTML5 player, although I'm still not entirely convinced it isn't a bug with our servers.
    The stream also seems to start looping, and as soon as it reaches the end of the stream it starts again, which is making me wonder if it's a bug with the UI itself, as if the play and pause buttons are getting triggered constantly, but changing the rotation doesn't stop it happening. I also wondered if it was something silly, like someone sneezing on the screen and the moisture triggering the touch screen, but that doesn't seem to be the problem either.
    Has anyone else seen this behaviour before? I don't seem to be able to directly trigger it - it just seems to happen occasionally.
    I'm trying to get a video of the symptoms, but it's not playing ball at the moment. If I can get it to do it again, I'll add a video example in a later post/edit.

  • Play and plause button and control bar are missing belw xfinity player

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/840891]</blockquote>
    when watching video, can not see play and pause button and control bar, it is missing below xfinity player.

    Ok BE...I took you advice and used a prebuilt skin, but tweeked it to get it looking how I wanted. However, now when I switch between the different videos, the playhead stays at the spot that it previously was. For example, if the playhead is currently 50% through video #1 and I click video #2, the playhead is still sitting at 50%. How would I reset the playhead to the beginning of the new video?
    import fl.video.*;
    var flvPlayer:FLVPlayback = new FLVPlayback();
    addChild(flvPlayer);
    flvPlayer.skin = "MySkin.swf";
    flvPlayer.skinAutoHide = true;
    flvPlayer.skinFadeTime = 300;
    flvPlayer.x=78;
    flvPlayer.y=89;
    flvPlayer.width=640;
    flvPlayer.height=360;
    flvPlayer.source = "flv/Video1.f4v";
    vid1.addEventListener(MouseEvent.CLICK, fl_ClickToSetSource1);
    function fl_ClickToSetSource1(event:MouseEvent):void
    flvPlayer.source = "flv/Video1.f4v";
    vid2.addEventListener(MouseEvent.CLICK, fl_ClickToSetSource2);
    function fl_ClickToSetSource2(event:MouseEvent):void
    flvPlayer.source = "flv/Video2.f4v";
    I know I need to do something in the setSource function, but don't know how.
    Thanks.
    Mike

  • How to code a button to play and pause sound using load sound?

    how to code a button to play and pause sound using load sound?I have used load sound methos to attach the sound.Can anyone help me?

    Hey thnx,
    I have used this code on sound's button's frame.and my stop n play button is on another screen.main sound button and stop button is on diffrent screen.
    Here is my code-
    stop();
    adaDrut1.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.loadSound("F#/Bhajni1.ark", true);
    mySoundC.onSoundComplete = function() {
    _root.mySoundC.start(0,999); }
             gotoAndPlay("play2");
            _global.myTaalLaya = "Low1";
    adaDrut1 is a sound button.And there are lot of buttons with diffrent sound.
    Thanks..

  • [svn:osmf:] 10017: Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons.

    Revision: 10017
    Author:   [email protected]
    Date:     2009-09-04 06:43:44 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons. Setting theme color to red.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/openvideoplayer/view/MainWindowLayout .mxml
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/ExamplePlayer.css
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/assets.swf

    Revision: 10017
    Author:   [email protected]
    Date:     2009-09-04 06:43:44 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons. Setting theme color to red.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/openvideoplayer/view/MainWindowLayout .mxml
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/ExamplePlayer.css
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/assets.swf

  • The music app on my Iphone 5 is acting up, it keeps skipping  songs and wont allow the to play. You can see the music icon the on notification bar play and pause. When i go back to the app is states the url is not responding. I have restored it.

    The music app on my Iphone 5 is acting up, it keeps skipping  songs and wont allow the to play. You can see the music icon the on notification bar play and pause. When i go back to the app is states the url is not responding. I have restored it from the backed up cloud save. It is the music app, I played music on pandora and it worked fine. I think it must be the app or the ios.

    restore with itunes not from an itunes backup or cloud save they do absolutely nothing only a clean restore will solve your problem

  • VI executable (.exe) without running, running continuously, abort execution and pause button

    Dear All,
    I want to make build an application (.exe) from a VI and I don´t want the front panel to show the running, running continuously, abort execution and pause buttons (VI Toolbar Buttons). The purpose is to make a SCADA application without the risk of accidental STOP.
    Maybe the question is too trivial but I am new to LabVIEW and I don´t find the way to do it (I unchecked the "Show Abort Button", from the VI properties menuo of the Build Specifications but nothing happens).
    Thank you very much
    Javier
    Solved!
    Go to Solution.

    Just hide the entire toolbar.
    LabVIEW Champion . Do more with less code and in less time .

  • Can i make the keyboard keys like play and pause work on my computer with iTunes

    I have an m11x with windows 7

    Check this thread out -> iTunes 10.4 & Multimedia Keyboard
    It doesn't look like there is a fix yet, but some people in the thread are pointing to this workaround:
    pikot wrote:
    Following some suggestion i seem to have found a solution for the problem and my play/pause, next and previous buttons work with iTunes 10.4.1
    - You need to open a text editor (like notepad) as an administrator.
    - Open the SetPoint players.ini file (C:\Program Files\Logitech\SetPointP\players.ini)
    - Edit the line under the [Players] section to match the line bellow (bold is the wndClass which is to be changed)
    iTunes=wac,iTunes.exe,ITWindow,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,iTunes
    - Save the file
    - Restart the SetPoint and hopefully play/pause, next and previous buttons should work (at least they work for me)

  • AS3 play and pause timeline as well as soundchannels

    I am trying to make global playback control buttons to play & pause the timeline as well as the sound channels. I have managed to get the buttons to function correctly with  controlling the timeline but I need them to also work with the  soundchannels too.
    Here is the code I created for the buttons:
    btnStop.visible = true;
    btnPlay.visible = false;
    var movieclip:MovieClip;
    function stopMovieClip(mc:MovieClip):void{
    mc.stop();
    for (var i:int = 0; i < mc.numChildren; i++)
    var mcChild = mc.getChildAt(i);
    if (mcChild is MovieClip) stopMovieClip(mcChild);
    btnPlay.visible = true;
    btnStop.visible = false;
    function playMovieClip(mcPlaying:MovieClip):void{
    mcPlaying.play();
    for (var j:int = 0; j < mcPlaying.numChildren; j++)
    var mcPlay = mcPlaying.getChildAt(j);
    if (mcPlay is MovieClip) playMovieClip(mcPlay);
    btnStop.visible = true;
    btnPlay.visible = false;
    btnStop.addEventListener(MouseEvent.CLICK, stopAll);
    function stopAll(event:MouseEvent):void
    stopMovieClip(con);
    btnPlay.addEventListener(MouseEvent.CLICK, PlayMC);
    function PlayMC(event:MouseEvent):void
    playMovieClip(con);
    And the code for the soundchannels:
    import flash.media.SoundChannel;
    var strokeVOSound:strokeVO = new strokeVO();
    var strokeVOChannel:SoundChannel = new SoundChannel();
    var bleedVOSound:bleedVO = new bleedVO();
    var bleedVOChannel:SoundChannel = new SoundChannel();
    yellow_mc.visible=false;
    blue_mc.visible=false;
    strokebtn_mc.addEventListener(MouseEvent.CLICK, displayStroke);
    strokebtn_mc.buttonMode = true;
    function displayStroke(e:MouseEvent):void {
    trace ('Clicked')
    yellow_mc.visible=true;
    blue_mc.visible=false;
    bleedVOChannel.stop();
    strokeVOChannel = strokeVOSound.play();
    bleedbtn_mc.addEventListener(MouseEvent.CLICK, displaybleed);
    bleedbtn_mc.buttonMode = true;
    function displaybleed(e:MouseEvent):void {
    yellow_mc.visible=false;
    blue_mc.visible=true;
    trace ('Clicked')
    strokeVOChannel.stop();
    bleedVOChannel = bleedVOSound.play();
    The soundchannels are triggered by a movieclip which acts as a button.
    Any help would be much appreciated.
    Thanks

    For the two soundchannel sounds you have, you will need to keep track if and which one is playing so that you can use some logic to stop the sound right after you mark where the sound was (position)  so that you can resume playing it again when the play button is selected.
    So if the stroke sound is started, you could assign a boolean variable named something like 'strokeplaying' to be true (setting the other sounds similar boolean false).  Then, in your pause function you would test to see if strokeplaying is true and if it is, store the position property and stop the channel playing. 
    When play is selected, similarly, you test if that sound is true and if so you restart it using the position value you stored as the starting point.  You do the same for the other sound... remembering that it is possible neither is playing when pause it clicked.

  • Menu and Pause buttons won't work on iPod classic.

    I've had the iPod for a while, long enough that my warranty is over. My problem with the pause button started a few months ago, it would go in spurts of working fine and working on and off. In the past few weeks the menu button has started to not work as well. As of yesterday they have both completely stopped working. I've tried restoring it to factory settings, syncing it over and over, and resetting it (which I can't do now because my menu button won't work). Does anyone have any suggestions? Or is it time for me to get a new iPod...

    It might also be a good idea to let the iPod's battery fully drain. Then charge it back up and restore it once more in iTunes.
    Otherwise, it's likely a hardware issue with the iPod's clickwheel, meaning you'll need to take or send your iPod in for service either via Apple or a third party repair service. Here is Apple's repair pricing.
    http://www.apple.com/support/ipod/service/prices/
    Note that they don't actually repair the device, but exchange it for one of the same generation, model, and capacity.  A third party service will actually replace the damage part for a little less.  Google "iPod repair" and you should get a number of results to work with.
    B-rock

  • Stop and Pause Buttons and Estimated Execution Time

    I have more or less completed my programme (as attached).
    I am just left with two doubts - first: is it possible to let the user know the estimated time to finish executing the entire code/ running the entire experiment on my devices?
    I am currently trying to calculate this estimated time by using the arithmetic functions and time stamp. I tried putting on both the left and right sides of my case structure but it never runs - I tired running the code and after all other commands are executed, the estimated time is still not displayed. I suspect that even if the estimated time is displayed, it would only be displayed after all other commands are executed.
    I have tried looking up on timed structures but they don't seem to fit the job.
    Do you have any advice on this?
    Second: While loops could only be stopped (by pressing my 'STOP' button/Boolean that is linked to the loop condition) only after the first execution of the loop. How could I let my user stop the execution of code during the first run of the loop or should I wire my code differently using another structure?
    As for the 'Pause' button to pause the VI, I have read about the 'Wait for' function (http://zone.ni.com/reference/en-XX/help/371361H-01/glang/wait_for_front_panel_act/). I am not sure if this is the right function I am looking for and if this function enables the user to 'un-pause'/toggle the switch and enable the execution of the subsequent commands.
    This function seems useful but it does not solve the problem of the while loop having to execute at least once before I terminate it and it seems like this function acts like a 'Stop' function that exits the loop, terminating all commands instead of pausing the VI.
    What is your advice on this?
    Thank you so so much!

    Duplicate Post

Maybe you are looking for

  • Syntax error on include of Function Module (user exit)  EXIT_SAPLRSAP_002

    When I do a syntax check in the a routine within inlude ZXRSAU02 of FM EXIT_SAPLRSAP_002, I get an error.  This object has been in production so I must be doing the syntax check incorrectly. The error is 'Field i_t_data is unknown. It is neither in o

  • Controlling the no of records display in report

    Hi, I want to create a display field(text box item) in which user will write the number of records he wants to display in a SQL tabular report. I donot want the next button. Please suggest. regards Kaushik

  • ANT and JUnit in weblogic

    Hi. I see that the problem with ant and junit is discussed here, but with no absolutte solution. The problem: I create an build.xml containing the <junit>-task and want to run this from within the BEA Workshop. The standard error-message is that it c

  • Background clones locked?

    I'm playing around with running parallel reentrant loops in order to solve a larger problem. I've run Popup.vi and Popupmain.vi and I understand how they work. The difference with mine is I have to pass a different value to the front panel of each cl

  • Create a second RDS host cluster, with existing brokers and redirectors?

    We currently have a RDS 2008 R2 environment with;  1.  Two clustered RDS broker machines with a highly available connection broker service.   2. Two RDS dedicated session redirectors 3.  7 RDS Host servers We aren't using NLB. We connect to it throug