Executing actionscript at the start of a Captivate swf

Hello,
I'd like to run the stopAllSounds actionscript function when my swf is loaded. Is there a way to do this with advanced actions, or some other method?
Thanks!

Thanks, but I don't think that will work. The problem I am trying to workaround is that when a user leaves the page that contains a Captivate swf
with audio, the audio continues to play. So when the user lands on another page that contains another swf with audio, you end up with multiple narrations talking at the same time.  I want to do something to stop any currently playing audio before starting the audio from another swf. Ideally, I'd like to be able to stop all sounds when the user navigates away from the page that runs the swf. But I can't figure out a way to do that.
This cpCmndMute sounds like it does the same thing as pressing the mute button--but I need the sound file itself to be stopped.
Thanks!
Joel

Similar Messages

  • Preloader Not Loading Until The Start of Lesson In Captivate 7

    I created a Scorm 2004 compliant lesson using Captivate 7. The file size is ~7MB. When I load and run the lesson on our LMS I don't see the preloader until 3-4 seconds before the file loads. I'm staring at a blank screen for about 45 seconds before anything happens. I have the preloader set at 10% but I can't get it to work.
    I loaded the file to one of our FTP sites and ran it on an html page and it does the same thing.
    Our customers are asking us why there is no indication that the lesson is loading and all I can say is it's a problem with Captivate 7.
    I upgraded to 7 because I was told the problem was fixed, but it's still bad.
    Any help is appreciated.
    Thanks

    Yes, it's set to look in the Cp7 preloader folder. I found this on a Captivate website and I think it answers the question.
    "As mentioned, preloaders are only really applicable for HTM/SWF output. But what you may not realize is that they will only work if the content is served from a web server over HTTP. Conversely, the preloaders will NOT work if the same content is served up from a LAN server drive over TCP/IP.  This is due to the fact that SWF preloaders need to communicate with the server to calculate and show the percentage of file currently loaded.  This communication works with web servers, but not with LAN servers."
    Unfortunately, Cp7 preloader is going to work on our LMS. I'm going to build a preloader class in Flash and call the Cp7 swf using that.
    Thanks for your help
    Date: Sat, 18 Jan 2014 00:34:37 -0800
    From: [email protected]
    To: [email protected]
    Subject: Preloader Not Loading Until The Start of Lesson In Captivate 7
        Re: Preloader Not Loading Until The Start of Lesson In Captivate 7
        created by RodWard in Adobe Captivate - View the full discussion
    If you still have Captivate 6 on your PC, then make sure that the preloader in this Cp7 project is not pointing at a folder in the Cp6 install directory.  It should be using a Cp7 preloader.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6026026#6026026
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6026026#6026026
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6026026#6026026. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Adobe Captivate at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Executing a JAVA program from a DOS prompt vs the START = RUN dialog

    Another novice programmer question...I hope you have the patience...
    I have a demo JAVA program that runs fine on my Windows PC when I execute it from a DOS prompt:
    K:\COMMON\ITS\STEVEB\java\WhileDemo>java WhileDemo
    Count is: 1
    Count is: 2
    Count is: 3
    Count is: 4
    Count is: 5
    Count is: 6
    Count is: 7
    Count is: 8
    Count is: 9
    Count is: 10Can I run this same command from the Windows START => RUN dialog? If I cut an paste the same command, 'K:\COMMON\ITS\STEVEB\java\WhileDemo>java WhileDemo', into the START => RUN dialog I get the following error:
    "Windows cannot find 'K:\COMMON\ITS\STEVEB\java\WhileDemo>java WhileDemo'. Make sure you have typed the name correctly, and then try again. To search for a file, click the Start button and then click Search."
    Is what I'm attempting to do even possible? Any insights would be greatly appreciated. Thanks.

    Will a .JAR keep the window from closing on exit? Nope... creating java-archives (jar's) is just the next step down the "how to publish my java application" road. You will eventually (almost certainly) need to progress that far... but there's no rush.
    Compiling to and running from class files will do for now.
    If you want a command prompt which stays open then open it yourself... Start ~ run: cmd (on NT, XP, Fista)
    See also: "cmd here" is one of the windows power toys: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

  • How many times can i call the start()

    Hi All:
    I would like to know how many time you can actually call the start(),
    cuz my app is doing some really strange things,
    here is a fragament of my code:
    private void spawnThreads()
    ListIterator it = _vWorker.listIterator();
    while ( it.hasNext() ) {
    ClientWorker client_worker = (ClientWorker) it.next();
    client_worker.start();
    ClientWorker is another Thread, and in the run() of the ClientWorker, I have
    public void run() {
    Runtime rt = Runtime.getRuntime();
         try {
         // Start the timer
         Process child = rt.exec(_fileName);
         // gobble any error or output streams
    StreamGobbler errorGobbler = new
    StreamGobbler(child.getErrorStream(), "ERROR");
    StreamGobbler outputGobbler = new
    StreamGobbler(child.getInputStream(), "OUTPUT");
    errorGobbler.start();
    outputGobbler.start();
    child.waitFor();
                                            } catch (IOException e) {
                   System.err.println("IOException starting process!");
              } catch (InterruptedException e) {
                   System.err.println("Interrupted waiting for process!");
    I have a couple of cmd files to execute, so This spawnThreads() will be called a couple of times,and the funny thing is , it will execute the first cmd files, and that is it, it won't execute the 2nd or the 3rd cmd files, it will start the thread, but then the run()won't actually gets invoked,,,so I am just wondering if anyone of you has encountered this problem, perhaps you could lend me some insight on this?
    thanks,

    Yes, you can run the start() of a Thread more than once,
    here is my Test App,
    public static void main(String[] args) throws Exception {
    Vector vec = new Vector();
    for (int i=0;i<4;i++){
    ClientThread ct = new ClientThread();
    vec.add(ct);
    ListIterator it = vec.listIterator();
    while(it.hasNext()){
    ClientThread ct = (ClientThread)it.next();
    ct.start();
    and as you have already guessed it the run() of ClientThread simply does system.out.println()
    and here is the output
    run started
    run started
    run started
    run started
    so..yeah..I don't really have any idea what is happening to my app and why it is not executing any cmd files after executing the very first cmd file

  • I am running IE 11 on Windows 7 Home Premium 64 Bit Service Pack 1. When I attempt to install Flash Player, it goes through all of the steps, tells me the player is installed, and welcomes me. I cannot open the player and it does not appear in the Start M

    I am running IE 11 on Windows 7 Home Premium 64 Bit Service Pack 1. When I attempt to install Flash Player, it goes through all of the steps, tells me the player is installed, and welcomes me. I cannot open the player and it does not appear in the Start Menu, Task Manager, System Tray, or anywhere else. When I try to open a file, the site tells me Flash player is not installed. I have even downloaded it to a separate folder and ran the install with IE shut down completely. And Shockwave in ENABLED but in 32 bit .I have been trying to get this to work for about 3 weeks now.  HELP!!!

    Flash Player is a browser add-on, not an executable program.
    If you need to open a local SWF file you will need the standalone player (Projector) from http://www.adobe.com/support/flashplayer/downloads.html
    Note that the download is the player, not an installer, so you will need to make the file association manually.

  • Using a LOV for the Start of a Tree - Pblms using LOV value for Start SQL

    I'm trying out my first APEX Tree using P20 and am having problems with it. The data structure is I have a clients table, an users table, a plans table and a union table (plan_users) that shows which users for a client are working on plans. An user belongs to a client and can be assigned to plans (plan_users).
    client_id (key to clients table and part of the composite key for users, plans and plan_users) is available as an application item which I can reference as :FOCUS_CLIENT_ID.
    I created several LOV's in the Shared Components. The PLANS_LOV returns all plans defined for the :FOCUS_CLIENT_ID. I've referenced this PLANS_LOV in the P20_ROOT_TREE which is setup to display the list of Plans for the Client as a SELECT LIST WITH SUBMIT. That seems to work and I can select the Plan.
    I then modified the SOURCE for the P20_ROOT_TREE to add a select statement to take the PLANS_ID selected in the LOV and use it in a Select to bring up the owner of the plan as the starting user for the tree. This is where I get an error when executing the SOURCE select statement which looks like this:
    select p.user_id id, p.plan_owner_id pid, u.user_lname name, null link
    from plan_users p, users u
    where p.client_id = :FOCUS_PLAN_ID and p.PLAN_ID = :PLANS_LOV
    and p.user_id = p.plan_owner_id
    and u.client_id = :FOCUS_PLAN_ID and u.user_id = p.user_id
    I'm guessing that the problem is what I'm referencing as :PLANS_LOV in the statement below. However I cannot find any information on how to reference the returned value from the PLANS_LOV for Page 20 so I've tried this.
    If this works right, then I want the user to select a PLAN from the LOV box and then see a tree displayed with all USERS hierarchically displayed beneath the Plan Owner. There may be multiple levels of users display under the Plan Owner.
    Here's the DEBUG page error I get. The number 4 is the correct Plan # I want to select Users for. The title on the page is "Available Plans". - Select Plan - is the default Null Value and Test Plan One is the Plan (#4) that I selected.
    Item: P20_TREE_ROOT COMBOBOX_WITH_SUBMIT
    Available Plans
    -Select Plan -Test Plan One
    [javascript:popupURL('f?p=4000:371:1020131294804981::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:1096326828951548,101,20');|Edit]Warning: Tree root ID "4" not found.
    0.05: Computation point: AFTER_BOX_BODY 0.05:
    Processing point: AFTER_BOX_BODY
    The query I'm using for populating the rest of the tree after the START is this statement below, but I don't think I'm getting to this point yet.
    select p.user_id id, p.plan_owner_id pid, u.user_lname name, null link, null a1, null a2
    from plan_users p, users u
    where p.client_id = :FOCUS_CLIENT_ID
    and u.client_id = :focus_client_id
    and u.user_id = p.client_id
    order by name
    I haven't been able to find any examples of someone using a LOV as part of the START definition for a Tree. All of the examples I've seen use a fixed value (i.e. 1).
    Anyone have some ideas?
    Thanks!
    Rob

    Hi,
    Try something like:
    select p.user_id id, p.plan_owner_id pid, u.user_lname name, null link, null a1, null a2
    from plan_users p, users u
    where p.client_id = :FOCUS_CLIENT_ID
    and u.client_id = :focus_client_id
    and u.user_id = p.client_id
    START WITH :FIRST_USER_ID
    CONNECT BY PRIOR p.user_id = p.plan_owner_id
    order by name:FIRST_USER_ID should be computed to be the first p.user_id value that matches the filter. Ideally, the p.plan_owner_id value should be null for this user as this user should identify the top of the tree. As an example, the following, using the EMP table, will allow you to display a tree with any manager as the root:
    SELECT
    EMPNO ID,
    ENAME NAME,
    CASE WHEN EMPNO = :P1_EMPNO THEN NULL ELSE MGR END PID,
    null LINK,
    null a1,
    null a2
    FROM EMP
    START WITH EMPNO = :P1_EMPNO
    CONNECT BY PRIOR EMPNO = MGRAndy

  • Execute ABAP code in Start Routine only once

    I have ABAP code in a start routine that I only want to execute once. Is there a way to tell this is first execution of the start routine?
    Also can I find out these value in the start routine ABAP:
    1. How many data packets there are?
    2. What data packet I am processing?
    Regards,
    Mike...

    Hi,
    I've just setup a little test:
    TRules, Start Routine Global Decl:
    DATA: GVI TYPE I, GVN(5) TYPE N.
    Start Routine:
    IF GVI IS INITIAL.
    GVI = 1.
    ELSE.
    ADD 1 TO GVI.
    ENDIF.
    MOVE GVI TO GVN.
    This is basically counting the times the start routine is executed and populating the var GVN; I am posting GVN in a char ZTESTGV in the target cube. I am posting as well the datapakID in my cube.
    I have loaded two requests (each 4 packets)
    the first one first to PSA and then from the PSA to the target: this is Serially using one single process. Here's the result in the cube:
    Request________________________________DATAPAKID_____ZTESTGV
    REQU_8B5ASGQNYYNIV1OJN68HFH1SR____________1____________1
    REQU_8B5ASGQNYYNIV1OJN68HFH1SR____________2____________2
    REQU_8B5ASGQNYYNIV1OJN68HFH1SR____________3____________3
    REQU_8B5ASGQNYYNIV1OJN68HFH1SR____________4____________4
    In this case the global variable is persistent accross packets.
    the second request is loaded in paralell: this is, multiple processes are executed at the time. Here's the result in the cube:
    Request________________________________DATAPAKID_____ZTESTGV
    REQU_14QVH21BSVH44FAJW94BD7N2H____________1____________1
    REQU_14QVH21BSVH44FAJW94BD7N2H____________2____________1
    REQU_14QVH21BSVH44FAJW94BD7N2H____________3____________1
    REQU_14QVH21BSVH44FAJW94BD7N2H____________4____________1
    In this case the global variable is always1 !!
    This is logic since several a process cannot access the internal memory used by another one...
    Conclusion; the global variable will work only if the load is serial...
    hope this helps...
    Olivier.

  • Reduce/Eliminate the start up time for a batch job

    I'm looking for ideas on how I might be able to modify either my jobs, workflow or data flow in an effort to reduce the "start up" time that I'm encountering.
    Currently I have a batch job we execute several hundred times a day. One of the parameters we pass to this job is a file path. The data flow reads a flat text file in this file path, processes the data through several transforms, and writes a flat text file back into the file path.
    The actual processing time varies with the number of records being processed -- as one would expect.
    However, even for the smallest - single record - input file the job takes between 40 and 50 seconds to complete. If I watch the trace file during this time it appears that 95% of this time is spent getting ready to run the job. The actual processing is almost instantaneous.
    Is there anything that I can look at changing in order to improve the overall performance of these jobs?
    I should mention that I am aware of setting up real time jobs, and how they would not require this "start up" time for each job submitted. However this jobs we process could between 1 to 1,000,000 records. Passing that many records in a single web service call does not seem reasonable. I would deal with issue on the submission side and then the potential timeout issue when waiting on the response -- which could also be quite large.

    Thanks Michael --
    I must admit I'm a bit lost when it comes to the issue of codepages.
    Is there any documentation you could refer me to with regard to setting the correct codepage for the data sources and targets?
    Also, from the trace log I see the following statement:
    Changed engine runtime locale <eng_us.cp1252> to <Unicode (UTF-16)> because data flow <DF_Suppression> contains a transform that requires processing with the Unicode (UTF-16) code page.
    Other than the data source and data targets I do not see any option to set, or change, the codepage within any of transforms that I am using. (URAC, Name Cleanse, Query, Case, Match transforms are used)
    Right now my source and targets are set to "default", which would seem to need to be changed. Where is the "default" set?
    Sorry for so many questions about this.

  • Error executing Webservice for Process Start via Web Dynpro

    Hi Community,
    I have a strange issue when executing a webservice that starts a process using web Dynpro. I have configured, the Service Group, the Communication profile.
    When I try to execute the Service via Web Dynpro, I get the following exception which is in my opinion fully missleading and does not make sense to me. As the Authentication Profile and the Communication profile allow the same Authentication Methods.
    com.sap.esi.esp.lib.mm.config.exceptions.TechnicalException: Failed to create Logical Port for Service Reference with id [YourID here].
    Reason for the failure is that no one of the following Authentication Methods [None], [SAP Logon Ticket], or [SAML Assertion] is allowed in the related Communication Profile.
    Such an Authentication Method is needed as the Authenticaton Profile is [businessOrTechnicalUser] and no User Account is assigned, so the Authenticaton Profile is considered to be noAuthentication or businessUser.
    Related Communication Profile is [SAP_DEFAULT_PROFILE 1] and it allows Authentication Method(s) [User Name/Password (Basic), X.509 Client Certificate, SAP Logon Ticket, SAML Assertion, X.509 Certificate Doc.Auth., User Name/Password Doc.Auth.]
    Thanks for your support.
    Best Regards Nicolas

    Hi Nicolas,
    make sure you have
    - assigned a communication profile (with no- or basic authentication) to the provided service
    - created a provider system with a similar profile
    - assigned the provider system to the (consumer) service group
    For a full guide on service configuration please check this article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3
    Best Regards,
    Christian

  • Replacement for PhaseListener in RAP 3.0 - execute code on the UI thread

    Hello,
    we've used a PhaseListener to open/close a database connection for each request.
    The database connection is tied to the current UI thread.
    Do you have any suggestion how to realize this without using a phase listener in RAP 3.0?
    I've tried to use a MessageFilter but the handleMessage method is not executed on the UI thread.
    Thank you,
    Ken

    Hi Ralf,
    thank you for the explanation.
    We actually do not open a connection for each request. We just start a "unit of work" for the current thread that is able to track the database connections that are created on demand. This unit of work (and hence the underlying connections) is closed after a request.
    Now the problem is that we need to execute the code that starts and stops the unit of work within the UI thread. This is due to the fact that our model objects (that are displayed by JFace viewers for example) are bound to an entity manager that requires an active unit of work for the current thread to open an underlying database connection.
    I don't see any other solutions as using a phase listener for the start and stop events of the UI thread or starting/stopping the unit of work for any individual interaction with the model objects. It is practically impossible to implement the latter in a clean way.
    Any comments or suggestions are welcome.
    Best regards,
    Ken

  • Calling a function in the HTML window the course sits inside - Captivate 8

    Hi,
    I've scoured the forums for an answer to this but as yet have come up blank.
    Our LMS launches a course in a popup window and inside of this the .htm Captivate output file sits.
    Currently this pop up window has a button in it which executes a function.  The problem is this button is rather unsightly sitting above the course in the HTML window and I'd like to be able to call this function from inside the Captivate course itself.
    The function is called closeSCOContent() and it closes the course window but crucially forwards the user to a feedback page.
    So essentially is it possible to call this function using the Javascript function in Captivate 8?
    I hope I've explained that sufficiently
    Many thanks!

    Hi,
    This gave me the nudge in the right direction I needed, after a bit of basic frameset research I've got the desired functionality.
    Huge thanks!

  • MAXL SCRIPT TO EXECUTE IN BACKGROUND THE DATA LOAD

    Hi,
    I have problem with a MaxL script, I don´t know the command to execute a data load in the background, someone knows??? it would be very grateful if you can help me because now I have to load the data manually and then tick execute in background.
    Thanks for your help
    Regards,

    If the two processes are in no way dependent on each other, why not just use two separate MaxL scripts and run / schedule them separately?
    If you really need to launch multiple MaxL operations against different cubes to run in the background from a single script you can only do this with a shell / command script, not 'natively' in MaxL. If you're on Windows and using CMD, for example, see the 'START' command.
    --EDIT: Crossed over with Sunil, think he pretty much covers it!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • The video file jumping to the start point.

    Hello, Is anyone know why the video file, when he get to the end he is jumping to the start point, And Is there  any way to prevent this?
    thanks a lot
    anat/

    Hi Anat,
    Can you please confirm complete version of Adobe Captivate (Help > About Adobe Captivate).
    How have you inserted the video? multi slide synchronized video or event video?
    Is it jumpiing to the start point of the video or the start of your project?
    In which format have you published your output?
    Thanks.

  • Execute program in background - Start Condition Pop up

    Hey there,
    When navigating the menu from the initial screen of any report, Program --> Execute in Background, im getting a start condition popup similar to the one when changing the start condition of a job in transaction sm37.
    Once I confirm the Background Print Parameters when navigating the menu to execute the report in background, im getting the following popup - Screenshot of pop - http://imgur.com/O9X0q.jpg
    This has arisen since the latest implementation of the latest SPIs.
    There is a requirement now to suppress this pop-up. How can one achieve this?
    Thanks!

    Hey,
    Before it just got released and sat there and would execute at 11pm the evening or something like that Or until the user manually changed it thru sm37 and executed it.
    Had a look at the SAP Portal already no luck yet. But I'll have to keep looking.
    Cheers

Maybe you are looking for

  • Coldfusion 10 will not start

    I am running CF 10 on Redhat Linux 6 and everything was working fine until recently, but now I cannot get CF to start up.  I had created a datasource to connect to a unidata database and it was not working, so I needed a newer version of the database

  • My Airport disconnects randomly when USB disk is attached..HELP NEEDED !!!!

    My Airport Extreme disconnects randomly when USB disk is attached, I have searched this forum but found now obvious solution. The Airport Extreme has the latest firmware. Since the airdisk solution is quite useless at this time, I would kindly accept

  • Format when composing email

    This may be a dumb question but I want to be able to compose my email so that it will print exactly as it looks on screen. I can size the window and print and it looks perfect, but each time I open & close Mail it changes. I looked for tools to forma

  • Ipad needs unified inbox for multiple accounts

    I hope you can get to this soon!!!

  • DB Console:  Monitoring Configuration

    I was forced to use the DB console for one of the RAC database's in our environment due to a number of reasons. I'm familiar with GC but I've never used the DB Console. First, I wasn't able to find info on how to do a RAC configuration so I simply fo