Control where to start and stop an SWF file inserted into a Captivate 6 slide.

I am working on a project in which I need to insert SWFs on to slides in Captivate 6 and I've reached a hick-up. Some of the SWFs only need to start play at a specific frame (which is not necessarily the beginning of the SWF) and stop play at a specific frame (which is not necessarily the end of the SWF).
Is there a way, by use of "Execute Advanced Actions" or "JavaScript", to control the play of a SWF, inserted on a slide, so that it starts and stops at desired frames?

I think it is almost there now. Thanks for putting me int he right direction. You may be able to offer observations on my coding:
this.onLoad = function() {
    stop();
this.onMouseMove=function()
    // Test current mouse position is within the dimensions of the image
    if(_root._xmouse >= 0 && _root._xmouse <= 130 &&
       _root._ymouse >= 0 && _root._ymouse <= 420)
        // It is safe to play the animation as the mouse is within the
        // stage area
        play();
    else
        // We must stop animating and revert back to the first frame
        gotoAndStop(1);
this.onRollOut = function() {
    stop();
http://www.trucklesoft.co.uk/silcox/lounge.html

Similar Messages

  • Control DC Motor (start and stop) with LabView

    I never used Lab View before. For a project, we have to use Lab View to make a small dc motor (HP:1/2, RPM 1725) start, and stop. I have no idea how to do this. Any advice/help anyone? Any tutorial or vi. would help!

    Hi there,
    Search for “H-bridge” for a common DC motor control circuit, the input terminals from the bridge can be controlled using any DAQ device with digital output lines from LabVIEW. For example: https://decibel.ni.com/content/docs/DOC-17062
    Regards,
    Alejandro | Academic Program Engineer | National Instruments

  • Starting and stopping multiple audio files throughout Keynote

    I have Keynote 08. Can you do this in the next version. It doesn't seem like you can play a song in the document and have it stop a certain slide and start up again on another slide or stop at a certain slide and start a new song.
    The only three options seem to be:
    1. Play a song in the background that has no idea where you are in the presentation.
    2. Play a song on particular slides which will stop whenever you go to the next slide.
    3. Switch to a new Keynote document by a hyperlink that plays a new song. You'll then need to have multiple keynote documents.

    Try the following; it works for me.
    First Audio clip: Build-in (Start Audio) will begin playback
    Build-out (Stop Audio) will end playback.
    Second Audio clip: Build-in (Start Audio) will begin playback
    To have first clip end when second begins, create a Build-Out (Stop Audio) and have the Build-In (Start Audio) of the second clip occur simultaneously with the Build-Out of the first clip.
    By the way, you can have these audio clips associated with a slide and still have an audio track running in the background as a Soundtrack. Be sure, however, that you record the various audio tracks at an appropriate level before you import them into Keynote because you cannot balance them while in Keynote.
    Message was edited by: Ron Streicher

  • Inserting FLV videos that allow student to start and stop anywhere

    Hello,
    I am inserting flv videos that students need to be able to start and stop anywhere, and when the video reaches the end, the student clicks on the NEXT button to go to next slide.
    As long as the student lets the video play without any interruptions, the NEXT button appears at the end.
    THe problem I am having is that everything works except the NEXT button is not appearing at the end of the Video unless the NEXT button is visible for the whole time the video is on.
    If the NEXT button is visible during the whole time the video is showing, the student is able to skip the video without watching it.
    I need the students to view the whole video as part of the course.
    Is this possible?

    Your original post didn't mention that the students should be able to repeat a portion of the video again if they choose to do so. This of course complicates matters further as you would then need to show either one of the standard Captivate playbars or use a Playbar widget as you are doing now. However, this also opens up for the user being able to skip the video once again, so it's not the best solution.
    As I see it you have two options:
    1) Present the video without the playbar as I described in my first post. Add the next button at the end of the video. This will make sure that the video has been watched to the end before the user can continue to the next slide. Perhaps you could add a "Replay" button so that the user would be able to watch the entire video again simply by replaying the slide.You can create Start and Stop(Pause) buttons by inserting Smart Shapes or Regular buttons and assign an Advanced Action to Pause or Continue the project.
    2) Modify one of the Playbar widgets so that the scrubber and the next button isn't activated until a certain frame has been reached on that particular slide. Once this frame is reached the widget could activate Play and Scrubber allowing the users to navigate to the next slide or move around in the video. However, this requires extensive knowledge of Flash and Actionscript to achieve and it will also be a very troublesome approach as the frame numbers would change if you insert new slides (or extend / shorten existing slides) prior to the slide(s) containing the video.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • Allow a user access to start and stop a particular service in Solaris 11 using RBAC controls

    So, using svcbundle I created a service called "oracle" that starts and shutdown a db. I'm aware of how to grant RBAC access to be a "service operator" to be able to control start/stop ALL services. But I'd like to grant a user access to start and stop JUST this service.
    in this document on page 15, it states that it's possible to do this kind of granularity but doesn't explain how to do it step by step.
    how does one achieve this?
    thanks.

    You need to add a property group such as
    <property_group name='general' type='framework'>
      <!-- to start stop oracle -->
      <propval name='action_authorization' type='astring'
      value='solaris.smf.manage.oracle' />
    </property_group>
    Then add the solaris.smf.manage.oracle authorization to the user profile.
    As an example, see Less known Solaris features: RBAC and Privileges - Part 2: Role based access control - c0t0d0s0.org

  • Is there a way to Start and Stop OC4J through Services

    Currently we are starting and stopping OC4J manually through the Dos command prompt on our servers. We are interested in making it a Services where we can start and stop OC4J thourgh the services option on the control panel in windows. Any suggestions would be greatly appriciated.
    Thanks!
    Chad

    This has been discussed several times in this forum. One of the thread is
    How can I set the export path in Form Builder 6i?
    yes, you can use Windows Resource Kit or some third party freeware to do so.
    regards
    Debu

  • Starting and Stopping a Timer in Java Card + GSM

    Hi,
    I seem to not be able to start a timer that my applet has
    allocated using the PRO_CMD_TIMER_MANAGEMENT
    pro active command. I want to for example set the timer
    interval to 5 seconds and I understand from the gsm
    specs that the TLV value should then be {(byte) 0x00,
    (byte) 0x00, (byte) 0x05} as the hour is zero, the minute is
    zero and the seconds = 5 .
    The command qualifier I set to 0x00 to start the timer and
    I set it to 0x02 to stop the timer. The start and stop I
    control from two menu items. From the GSM spec the first 2 bits
    control the timer and the remaining 6 are RFU (reserved for future use),
    now I assume I can then set the RFU bits to 0.
    I then have a EVENT_TIMER_EXPIRED in my processToolkit which then plays a tone.
    The tone proactive command works but I dont seem to be able to start the time or
    stop it ?
    HELP ?
    is there any suggestions or any error in my reasoning here ?

    I tried your solution but it seems to have no effect (?)
    This is the log entry of the comms during sneding of the timer start
    command:
    (Notice that where you have the Timer Identifier tag = A4, here it is
    24 and where you have Timer Value Tag = A5, here it is 25 - these tags and the APDU's are generated with the GSM java card libs in the development kit I'm using.....) It seems to go through but the TIMER_EVENT_EXPIRED never happens....Help ? Have a look at the source code I included (maybe I'm doing something wrong)....
    **THE APDU's
    //346:
    A0 12 00 00 13
    //Fetch
    //     RAPDU = D0 11 81 03 01 27 00 82 02 81 82 24 01 01 25 03 00 00 10
    //     SW = 9000
    //347:
    A0 14 00 00 0C 81 03 01 27 00 02 02 82 81 03 01 31
    //>>Terminal response
    //     SW = 9142
    **SOURCE CODE
    //IN A METHOD CALLED FROM A MENU ITEM SELECTED
    byte[] valCurrentCallUnit = {
    (byte)0x00, (byte)0x00, (byte)0x10
    }; //i.e. 1 second
    timerHandle = reg.allocateTimer();
    proHdlr.init(PRO_CMD_TIMER_MANAGEMENT,(byte)0x00,DEV_ID_ME);
    proHdlr.appendTLV((byte) TAG_TIMER_IDENTIFIER,timerHandle);
    proHdlr.appendTLV((byte) TAG_TIMER_VALUE,valCurrentCallUnit,
    (short) 0, (short) 3);
    result = proHdlr.send();
    //the following is not suppose to be required according to GSM 11.14
    reg.setEvent(EVENT_TIMER_EXPIRATION);
    //IN THE processToolkit method, I have:
    public void processToolkit(byte event) {
         EnvelopeHandler envHdlr = EnvelopeHandler.getTheHandler();
         ProactiveHandler proHdlr = ProactiveHandler.getTheHandler();
         ProactiveResponseHandler rspHdlr;
    switch(event) {
    case EVENT_TIMER_EXPIRATION:
    doSomething();
    proHdlr.init(PRO_CMD_TIMER_MANAGEMENT,
    (byte)0x00,DEV_ID_ME);
    proHdlr.appendTLV((byte) TAG_TIMER_IDENTIFIER,timerHandle);
    proHdlr.appendTLV((byte) TAG_TIMER_VALUE,valCurrentCallUnit,
    (short) 0, (short) 3);
    result = proHdlr.send();
    break;
    } /** switch event */
    }/** processToolkit */
    Any help would be appreciated....

  • FLV starting and stopping at specific times?

    Im using the flvplayback to put up a video in my swf.
    in my swf i also have several buttons.
    the thing i want to do is when i for example click a button i want to
    start playing the movie from 5 seconds in it and then stop the movie at for
    example 10 seconds in it. even if the video is 20 seconds long i want to
    be able to stop it automatically at 10 seconds in the movie. the start and stop should be
    controlled from the button..
    i know how to start the movie at a specific time but i dont know
    how to stop it at a specific time. is this possible?
    thanks for helping med out!

    FLVPlayback class has a property playheadTime.You will need to read the value of it periodically - so when a desired time is reached, you implement required functionality.
    To do that you will need to add either Event.ENTER_FRAME listener or instantiate Timer class or setInterval method for reading playheadTime.

  • Need help getting Tomcat 5.0.28 to start (and stop, eventually)

    Hi!
    I am such a newbie to the Terminal and writing scripts, so please forgive my naiveté. I have successfully installed Tomcat in my /usr/local directory, but I am having trouble creating files to start and stop Tomcat, per the instructions on the following page:
    http://developer.apple.com/internet/java/tomcat1.html
    I've followed the directions but continue to get the following error after I execute ~/bin/start_tomcat.
    -bash: start_tomcat: command not found
    My file contains the following code:
    #!/bin/sh /n
    export CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.28 /n
    export JAVA_HOME=/usr /n
    $CATALINA_HOME/bin/startup.sh /n
    If anyone can help me, I would really, really, really appreciate it!
    Thanks!
    PowerBook G4 12"   Mac OS X (10.4.5)  

    Why are there all those "/n" there? Either you or the place you copied from has the wrong slash. But still, it's wronger than that to have them at all: "\n" means a newline (i.e., press "return") not the actual "backslash en" characters. Sometimes people post code with those \n visible: by making it explicit where a line-break should be, one doesn't have as much trouble when a web browser reformats the text and puts line breaks where they don't belong.

  • Start and stop a loop automatica​lly subtractin​g at each iteration

    Hi there,
    I know that there are some topics about it, but I could not find any solution, especially because I use the version 7.1 and cannot open new version files.
    My problem is as follows:
    I need to charge a tank from 6 to 10 in the morning, every day during 3 days. The process must start and stop automatically, which means, no bottoms to start or stop. The start and stop conditions come from the hour.
    I start with a big loop of 72 iterations, which corresponds to 72 hours.
    The tank must start at level 6 every time it starts.
    After the start, 1 unit must be subtracted in each iteration. Which means, that at 6 am the tank has level 10, at 7 am level 9 and so on. In the end, at 10 am the tank level is equal to 2.
    In the next day, the process must start again and the tank must start at level 6.
    Any suggestions? Thanks in advance.
    Solved!
    Go to Solution.

    While this may work it can be improved significantly. This really isn't a state machine. This is basically the same as your flat sequence with the exception of using a While loop with a Case statement to implement each frame.
    You should define what your actions are and create a typedefed ENUM naming them. State names of 1 through 24 are meaningless. Not to mention in your code many of the cases are duplicates of others. That would mean that all of those can be one state with logic to determine what action/state comes next. A properly defined state machine would not need the outside For loop. Without knowing your specific needs some examples of reason state names would be the following: Start, Stop, Exit, Error, Initialize, Get Tank Level, Fill Tank, Drain Tank, Idle, etc. Can you see how these are easier to understand than 1 through 24.
    There are lots of examples of state machines here. Try a search and take a look at some of them.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • My ipod nano 7th gen. won't save the changes I make to a song's start and stop time. How do I fix this?

    So I have a few songs that I don't like the intro to or the end of it that I had cut to where I wanted on my previous ipod. When I try to do the ame thing with this one with the start and stop time, it will work for awhile and then randomly start and stop where it had originally. I have done it like 4 times now for some songs and I can't seem to get it to stick. Suggestions?

    If you use the Sync feature in iTunes, then it needs to be done to the song in your Music Library, then synced with the iPod.  If you do not use the Sync feature and are performing the changes to the song on your iPod specifically, then the setting may be getting overwritten when you drag the song that's already on the iPod back onto the iPod.  It will overwrite all local settings for the song on the iPod with the settings in your library. 
    Try performing the changes to the song in your music library, and then dragging it back over to your ipod (or Sync your iPod if you use that feature).  This will make sure that the setting are consistent in both your library and iPod in-case you were to ever overwrite the song once more.

  • How to copy only part of a binary file after selecting a start and stop byte?

    I need to copy a selectable block of binary data from one file to a new file.  The binary file is made up of several data widths (8/16/32 signed and unsigned).  If I use a read binary function I will need to account for the data types within the file.  I was hoping to do a copy function with a start and stop byte control. Any pointers?  

    The attached Rube Goldberg Code copies two arrays of clusters to two arrays of indicators.
    Ben
    BTW: It does so by writtng the flattened data to a fixed length file and decoding same on the read.
    Message Edited by Ben on 03-24-2007 12:54 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    File Decode.JPG ‏137 KB
    FileDecode.vi ‏125 KB

  • Start and Stop Oracle BI services on UNIX box?

    Hi All,
    We have OBIEE installed on the Unix Servers and want to start and stop the Bi services.
    What is the command to do so?

    user11001347 wrote:
    Hi,
    At the Unix prmompt I am executing the following command but it throws an error saying : run-sa.sh command not found,I am in the OracleBI\Set up Directory on the unix machine
    -bash-3.00$run-sa.sh stop
    does anyone has idea is that the exact command to I am missing anything?In what directory are you trying to execute that command? Do "pwd" to see where you are. You seem to need Unix training. In Unix (like in DOS) you can only execute a command/program that exists the PATH environment variable. Most likely the OBIEE bin directory won't be in the path, unless someone specifically added it. Further more the current directory (referred as ".") is not usually in the PATH variable either so when you execute commands you have to prefix them with the full path or with the current directory as Vinodh suggested.

  • How to start and stop looping

    I'm very new to Flash / action script, so I just need to know where to put both the start loop, and the end loop code (below) in my Flash file to make the waving effect on this flag (link below) start and stop when I need it to, because I'm adding a small amount of flash both before and after it. thanks.....
    loopI = setInterval(loopF,40);
    to start the waving and use:
    clearInterval(loopI);
    to stop the waving.
    function loopF(){
        // move the matrix by speed along x to shift the noise
        shift.translate(speed, 0);
        // drawing in the perlin movie clip,
        // create a rectangle with the perlin noise
        // drawn in it with an offset supplied by the
        // shift matrix
        with (displace_mc.perlin){
            clear();
            beginBitmapFill(noiseBitmap, shift);
            moveTo(0,0);
            lineTo(ramp._width, 0);
            lineTo(ramp._width, ramp._height);
            lineTo(0, ramp._height);
            lineTo(0, 0);
            endFill();
        // draw the displacement movie clip in the
        // displaceBitmap (used in displaceFilter)
        displaceBitmap.draw(displace_mc);
        // apply displaceFilter to the flag
        flag_mc.filters = [displaceFilter];
    updateAfterEvent();
    http://www.senocular.com/flash/source.php?id=0.188

    i told you and it's in your message:
    use:
    loopI = setInterval(loopF,40);
    to start the waving.
    use:
    clearInterval(loopI);
    to stop the waving.
    // do not edit the below code:
    function loopF(){
        // move the matrix by speed along x to shift the noise
        shift.translate(speed, 0);
        // drawing in the perlin movie clip,
        // create a rectangle with the perlin noise
        // drawn in it with an offset supplied by the
        // shift matrix
        with (displace_mc.perlin){
            clear();
            beginBitmapFill(noiseBitmap, shift);
            moveTo(0,0);
            lineTo(ramp._width, 0);
            lineTo(ramp._width, ramp._height);
            lineTo(0, ramp._height);
            lineTo(0, 0);
            endFill();
        // draw the displacement movie clip in the
        // displaceBitmap (used in displaceFilter)
        displaceBitmap.draw(displace_mc);
        // apply displaceFilter to the flag
        flag_mc.filters = [displaceFilter];
    updateAfterEvent();
    http://www.senocular.com/flash/source.php?id=0.188

  • How to Start and Stop the SAP System

    Hi,
    I have installed "Sneak Preview"; Searched for start and stop scripts but there are more than one script which has named start.bat and stop.bat. Moreover, I searched the documents which comes with Sneak Preview but could find useful instruction there either.
    Question: Could you please point me to the documentation where it explains the starting and stopping SAP, for Sneak Preview?
    Thanks in advance
    Jawad Kakar

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

Maybe you are looking for

  • Can the included instruments with LPX be installed on a secondary drive?

    Hi Guys, I've just taken the plunge and purchased Logic Pro X - upon first opening, it shows a message that "Logic Pro X is currently downloading an essential collection of instruements... (etc)" I'm wondering if, once these are downloaded, it is pos

  • Can't install 10.8 on my mac

    Hi all, i tried a lot but i always get the same error. When i try to install 10.8 on my Mac Book Pro 17" Early 2008 (running 10.7.5) it says that the image i loaded from the App Store is corrupt and i do have to load it again. But that doesn't work.

  • Co Standard Rpeort requirement, if any

    Hi, Is there any SAP Std. t code or Report. to find New Product Cost after Cost Roll up in order to bifurcate RMC (till last level of BOM) & OH for all levels? After Cost roll up of FG with Wt. Avg Cost, it been copied to Std. Cost which will give dr

  • Simple Pause/Play/Resume in timeline not audio

    So sorry if this is simple. I HOPE it is simple, it should be simple. I have a very simple looping timeline. I just want to create a TOGGLE function so that the user can pause and resume. Like a freeze frame. Or the space bar in some movie editing pr

  • USB RECOGNITION IN CLASSIC WHILE RUNNING TIGER

    I need to be able to use a Keyspan serial assitant USA-28X B to interface with a Fanuc 18i-MB control via RS-232. To make a long story short, I've been using Microphone II in the classic environment on older macs for years to up/download from a Fanuc