Can I have an action occur only after a button / click box is clicked and held for three seconds?

Within Captivate, I am trying to simulate touching and holding a button for three seconds on a touch pad to get a second window to come up.  I have an image of the touchpad and an image of the second window.  Now I have to set up the interaction.  Is it possible for me to have an image "show" -- in this case, the second window -  only after a click box or button is held for three (or more) seconds?
Thanks for any help!
Ryan

Hi TLCMediaDesign,
That sounds very interesting and I would like to learn how to do it. I just read Common JS interface and I know how to manipulate the output at runtime using the JS console, but that is all I really know how to do...
To understand your answer, I had to make a few assumptions.  When you say JS "post publishing", you mean going into one of the JS files that get published with the project such as standard.js and manipulating that.  Is that correct?
My second question has to do with the event listener.  I have some experience with JS in the past and manipulating HTML elements, for example.  How do I find a particular button, or any Captivate object in the JS?  HTML elements always have IDs and classes...
Thanks for any help..

Similar Messages

  • Close current swf after a button clicked to call for another swf

    daftar_isi.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_2);
    import fl.display.ProLoader;
    var fl_ProLoader_2:ProLoader;
    var fl_ToLoad_2:Boolean = true;
    function fl_ClickToLoadUnloadSWF_2(event:MouseEvent):void
      if(fl_ToLoad_2)
      fl_ProLoader_2 = new ProLoader();
      fl_ProLoader_2.load(new URLRequest("daftarisi_c.swf"));
      addChild(fl_ProLoader_2);
      else
      fl_ProLoader_2.unload();
      removeChild(fl_ProLoader_2);
      fl_ProLoader_2 = null;
      fl_ToLoad_2 = !fl_ToLoad_2;
    What script should i add to kill this current swf after i clicked on "daftar_isi" button which will play daftarisi_c.swf?
    thanks.

    Thx ned. The new swf is added above the first swf. I need to kill the first swf when i click on the "daftar_isi" button inside first swf after it call out the new swf.
    So the button have 2 function at the same time when clicked:
    1. Call out the new swf
    2. Kill the current swf itself

  • This is a hint to anyone who cannot find their airprint printer from their ipad:  after 10 hours of trying everything imaginable, i can now print directly from my iPad by turning off the bluetooth in settings and waiting for 30 seconds.  presto!

    after spending a full day and a half trying everything imaginable, i finally found a way to get my ipad to find my new airprint capable  printer.  I could print from email or the cloud, but not directly from my ipad.  After reading a discussion about bluetooth printers, i turned off bluetooth in settings, waited 30 seconds, and voila!!  I was able to print directly from my ipad.  Try it if you are having troubles

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • How can I have both functions "Read Only" & "Write" mode on the same form?

    Dear all,
    How can I have both functions "Read Only" & "Write" mode on the same form? Is it possibile for this?
    Please advice,
    Amy

    This is what I use in some dialogs:
    PROCEDURE SET_QUERY_ONLY IS
      -- Procedure Set_query_only
      -- Rend les blocks non modifiables   --
      -- Disable menus Insert/Delete/Clear --
      -- Entree               :
      -- Sortie               :
      -- Ent/Sortie     :
      -- Creation               : FD    10/2003
      -- Modification     : 
         LC$Block     Varchar2(30) ;
    BEGIN
      Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
      Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
      Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
      Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
      LC$Block := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
      -- Tous les blocs en Query only --
      While LC$Block is not null Loop
           Enable_Block( LC$Block, FALSE ) ;
           LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ;
      End loop ;
    END;
    PROCEDURE ENABLE_BLOCK
              PC$Block in Varchar2,
              PB$Enable in Boolean Default TRUE
         ) IS
      -- Procedure Enable_block
      -- Rend le bloc Enable / Disable --
      -- Entree          : PC$Block (nom du bloc Forms)
      --               : PB$Enable (TRUE ou FALSE)
      -- Sortie          :
      -- Ent/Sortie             :
      -- Creation          : FD    10/2003
      -- Modification     : 
    BEGIN
         If PB$Enable Then
              Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_TRUE ) ;
              Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_TRUE ) ;
              Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_TRUE ) ;
              Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_TRUE ) ;
              Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_TRUE ) ;
              Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_TRUE ) ;
              Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_TRUE ) ;
         Else
              Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_FALSE ) ;
              Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_FALSE ) ;
              Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_FALSE ) ;
              Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
              Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
              Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
              Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
         End if ;
    END;Francois

  • How can I have my iTunes account back after apple has disabled it?

    My Itunes Account has been disabled for not paying . after that I payed and they took the moeny owed.
    but still my account disable.
    How can I have my iTunes account back after apple has disabled it?

    contact iTunes support team

  • HT202213 can home sharing link automatically or do I have to connect each time after connection is lost ie if i leave house for day with phone do I have to connect shared library again on phone in evening when back in house?

    Can home sharing link automatically or do I have to connect each time after connection is lost ie if i leave house for day with iphone or ipad do I have to connect shared library again on iphone/ipad in evening when back in house? It would be good if it just links automatically

    Well then maybe I misunderstood what you meant even though now that you explained it again, I should have though about that.
    When you leave the house in the morning with your device, you lose the connection to the library because you are no longer on the same WiFi network as you are at home. You have to be on the same network in order to use Home Sharing. Once you get home again, you have to select the Shared Library again.
    I apologize for the confusion or misunderstanding.

  • How can I have the same environment on two macs on is a macbook pro and the other a Mac mini

    How can I have the same environment on two macs on is a macbook pro and the other a Mac mini ?

    Forget trying to use iCloud for this - it won't do what you want.  iCloud syncs certain data like contacts and events, but it doesn't sync "environments" on computers.

  • HT5622 Can I have two apple id's on the same iPad. Example me and my spouse want to share the iPad but have different id's

    Can I have two apple id's on the same iPad. Example me and my spouse want to share the iPad but have different id's

    iOS does not support multiple users like a desktop OS does.
    You can use a web interface to your respective email accounts
    to keep things separate; but there is no provision for otherwise
    separating photos, media, etc.
    If you wish, you can contact Apple to let them know of your desire:
         www.apple.com/feedback

  • I used to have a +.- displayed in upper left corner to click and change text size. My sister used my computer and now I can no longer find this feature.

    I used to have a +.- displayed in upper left corner to click and change text size. My sister used my computer and now I can no longer find this feature

    Do you still have all toolbars visible (View > Toolbars)?
    Did you use an extension or the standard zoom buttons that you can find in the toolbar palette in the View > Toolbars > Customize window ?
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.

  • I did the recent update on my ipad 7.0.4 and now it keeps freezing up and can not use it. Tried reboot and works for a second then freezes right up again. Anyone else have this issue or know a fix?

    I did the recent update on my ipad 7.0.4 and now it keeps freezing up and can not use it. Tried reboot and works for a second then freezes right up again. Anyone else have this issue or know a fix?

    Madmonkey,
    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    Gaylefromnewhope,
    Seems like you tried this all ready and it didn't help.
    Next might be to reset all settings.
    Settings > General > Reset > Reset all Settings
    Note that when you do this you will not lose data but you will have to enter all passwords again.
    If that doesn't help you might tries a restore of your iPad using iTunes on the computer you normall sync with. Do a backup and save all data first. Or
    Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • Mail 6.3 (1503) How can I have all sent emails automatically sent to my in box?

    Mail 6.3 (1503) How can I have all sent emails automatically sent to my in box?

    Do you mean you want all the emails that are now ending up in the Sent mailbox to end up in the Inbox?
    If that is what you want to do, you can create a Rule. Go to Mail /Preferences / Rules, and select Add Rule.
    You create the rule there, and Mail will follow it.

  • How can I set the gain on a SCXI-1102 module without having my computer lock-up for 3 seconds?

    Forgive my insolence, but did it never occur to anyone that spinning in a hard loop while polling a status register to set a gain for 3 seconds isn�t a great idea?
    I have a number of SCXI-1102 modules to set the gains on, and it takes several seconds for each. Reading the documentation on the subject indicates that the SCXI_Set_Gain call polls a status register waiting for the gain to settle before returning � and it doesn�t even yield while doing so.
    Are there any other ways I can set the gain? Is there a way that doesn't poll the register that returns in a reasonable amount of time?
    AFAICT, there's no good reason to only allow one module to be s
    etting its gain at a time. An asynchronous call it really needed - one that makes it the API programmer's responsibility to check the status of the register, or one that spawns a thread and sleeps between polls, and signals an event or invokes a callback or some-such-thing. Or you could even just sleep for three seconds after setting all the gains, this way the delay would be 3 seconds total � not 3 seconds for each gain set.

    This NI-DAQ function call directly accesses the nidaq32.dll. While the nidaq32.dll is multithread safe, it is not a multithreaded DLL. This is also described in the KnowledgeBase entry 1V9DSHDM: "Can NI-DAQ Handle Different Operations at the Same Time? Is It a Multi-threaded DLL?"
    You are correct that the SCXI_Set_Gain function is not asynchronous. Thus, you do have to wait till that function returns before calling the next one. LabVIEW has found a way around this. So, you can actually use the LabVIEW functions to set the gain on these modules without having to wait as you do with SCXI_Set_Gain.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Why can't I adjust the scale of my text by clicking and dragging the corner boxes?

    Why can't I adjust the scale of my text by clicking and dragging the corner boxes? Why I have the text selected, all it does it let me highlight it to change font, size, etc, OR all I can do is move it throughout the artboard. Why can I click and drag the corner box to adjust?
    M

    It's because you have a paragraph text box and it doesn't automatically resize text. This way you can change the margins of the text without resizing it which is how paragraph text functions by default.
    I'm not seeing the new text paragraph/area indicator on your text box, which is what you get in Illustrator CC, so the only way to convert this text so you can resize it by dragging on the corners is to copy the text, deselect the text box, use the text tool to click once in another part of your document, and then paste the text. The text will then come into your document as one long line if you don't have hard returns in it, but after reflowing the text manually you'll be able to drag the corners to resize the text.
    I would recommend not going this route as any text you remove from the area type means that the rest of the text has to be manually adjusted to maintain correct margins. Instead just resize the bounds of the paragraph text and adjust the size of the font in the Character panel.

  • I am trying to connect Garritan Personal Symphony to Logic Express and Garageband. A dialog box pops up and asks for plugin Garritan-P. Where do I find it and what do I do with it. I can't locate this plugin doing searches on any of the porgrams.

    I am trying to connect Garritan Personal Symphony to Logic Express and Garageband. A dialog box pops up and asks for plugin Garritan-P. Where do I find it and what do I do with it. I can't locate this plugin doing searches on any of the porgrams.

    I'm not sure which version of Garritan Personal Orchestra you have or when you are getting a window pop-up, but check this link for starters:
    http://afjohnston.blogspot.com/2009/11/using-garritan-personal-orchestra-gpo.htm l

  • After I rt click and hit "save image/page as" the dialog box doesn't open.

    When I try to copy an image or a web page I get no dialog box that opens after I right click and select "save image/page as". The option to send link works.

    Sorry, here the information that is required:
    Version 11.0.4.2 - CS6
    Installed recent updates: Yes
    OS: Windows 7 Pro (Service pack 1) 64 bit
    Model: HP Z420 Workstation
    Processor: Intel Xeon CPU E5-1620 @3.60Ghz
    Ram: 8Gb
    Has it worked before: yes. It started after I opened a project (trough "open project") because double clicking on this project gives the follwoing error: "The directory name is invalid". Via "Open project" I could open it.
    Do you have any third-party I/O hardware (e.g., AJA, Matrox, Blackmagic, MOTU)? No
    Quicktime 7 pro installed
    Do you have any third-party effects or codecs installed? Yes, Optical Flares & Trapcode. But is unrelated since it isn't a specific project.
    Are you using Render Multiple Frames Simultaneously multiprocessing? Yes
    Are you using the ray-traced 3D renderer? No
    Thanks for the help. If you need any other info, let me know

Maybe you are looking for

  • Looking for Simple Password App

    I'm looking for a simple, secure, free app to store my passwords in. I did a google search and there are hundreds out there. I'd like to use one that someone here has had experience with. I don't want anything sophisticated or something that syncs. J

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server. I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials. Then I generated WS proxy client using Jd

  • [SOLVED] Ethernet stops working after a while

    When I work on this computer, the ethernet stops after a while, sometimes this is after 2 minutes, sometimes after half an hour. When I do sudo /etc/rc.d/network restart everything works again for a while. The internet doesn't work in chromium nor pa

  • Statistics Information

    Hi Experts, I am developing the tool to generate statistics information for infocubes and odsobjects, I want to know the best approach to be followed from among the two methods: 1 method: Gather statistics for all infocubes odsobjects and store in a

  • Sorting of Photo in Meida Browser & when dropped into template

    My photos do not appear to be sorted in any manner in the media browser. They are not my image date or file name and when I drop them into the template I have to manually rearrange them. Is there something I am doing wrong? Can I change the order the