JavaScript in buttons in player, not html

I'm wondering if the javascript can control the swf player
without the swf being embedded into an html page.
I know the filename_skin.swf gives player control etc, but
does captivate understand javascript internally.
I want to just play the filename.swf rather than the
filename_skin.swf in order to control the movie. I'm thinking i was
wrong
to believe I could use javascript for advanced slide control
using buttons etc but that seems to require a browser.
I simply want to have a pause using a button, but these files
are not going into html pages. just using the player.
I can't simply use the "pause after ?? seconds" i want the
user to pause when they need to in order to absorb the info being
delivered at their pace.

Hi Frank,
Many thanks,
the when-Button-pressed trigger of my Exit button contains the following code:
DECLARE
url_txt varchar2(1000);
BEGIN url_txt := 'http://servername/closing_window.htm';
WEB.SHOW_DOCUMENT(url_txt,'_self');
END;
The closing_window.htm is a simple page:
<html>
<HEAD>
<body onLoad="window.close();">
</html>
</HEAD>
Data in my form are already committed when I exit it.
How to commit is maybe an issue, in fact if I commit before calling the web.show_document the browser is not closed and a black window appears.
Thanks

Similar Messages

  • JavaScript Print Button Page Range Not Working Ubuntu Linux

    I have created a PDF file that has several button programed in Javascript to print a page or page range in the file.  It works great in Windows and Mac but in Ubuntu Linux there is a problem.  When you hit the button it brings up the Print window but it has all pages set to print instead of the 1 or 2 pages it is programed to print.  How do you fix this.  I used the following Javascript.  Please help.
    this.print({
    bUI: true,
    bSilent: true,
    bShrinkToFit: true,
    nStart: 1,
    nEnd: 1
    This is supposed to print only page 2 of the document but in Adobe Reader in Linux it wants to print page 1-12.  Apparently the nStart and nEnd does not work.  Is there another way to do this so it will work in Ubuntu Linux.
    Thanks

    I suspect that the problem has to do with the added security
    included in Flash 8 and above that restricts javascript. If you
    search the flash player KnowledgeBase on Adobe.com you'll find more
    detailed information about fixes, but here is what worked for my
    Javascripted items.
    Find your Program Files > Adobe > Adobe Captivate 4
    > Templates > Publish folder. Within the folder is a
    standard.htm file. Open this file (for this simple task, i just use
    notepad). In the script section, add...
    so.addParam("allowScriptAccess", "always");
    you'll see other similar param declarations. It doesn't
    matter the order.
    You can edit the individual .htm file if you want to test
    this first.
    That should do it.
    Here is the KB article that discusses the security features
    in greater detail:
    http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps_04.html

  • Javascript and adobe flash player is not being recognized on my school's webpage.

    The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Adobe Flash Player. If you are using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Adobe Flash Player by downloading here. At this point i have adobe flash player and javascript enabled. but firefox is not recognizing it.

    Your System Details list shows the Shockwave Flash plugin.
    *http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    Do you see a Lego block icon the at the left end of the location/address bar that a plugin is used on the page?
    *https://support.mozilla.org/kb/why-do-i-have-click-activate-plugins
    *http://kb.mozillazine.org/Issues_related_to_plugins#Click_to_Play
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I updated my reader to version 10.1.6 and now my javascript email button does not create an email???

    Our business has updated Adobe reader to 10.1.6.  I have a BUTTON that I use to send an email using Javascript but now it will not work and sometimes it freezes up.  When I open the same file in Acrobat Pro X it works fine.  I need it to work in Adobe reader since my coworkers do not have Pro on their computers.
    I do have a computer that has an older version of Adobe reader on it and it has the repair option in the help section and when I click repair the file starts to work but with the update to 10.1.6 the repair option is gone.  I cannot uninstall or revert back to the older version because our IT department will not allow it so that option is not available to me.
    Can anyone help please?

    I'm experiencing a similar issue in Reader 11.0.06 and the latest Acrobat XI as well. Anyone using 11.0.05 is fine. What changed in the latest update?
    Update: I've been playing around with the Javascript settings in the preferences panel and I'm not sure what combination of the checkboxes makes the difference, but it seems to be working properly now. I'll update this post when I have the time to figure it out. (I had a feeling it was a security thing — the update notes for 11.0.06 weren't very enlightening, but they did say "security".)
    Message was edited by: schelling

  • Binding a button in the "index.html" page to a Javascript .js file via Mobile JQuery

    I'm unable to bind an event to a button in the index.html file, without calling onclick("eventHandler") within the button element.  Please note that the event handler was declared in a seperate .js file and included in the index.html file. 

    Not enough information.  Can we see your code or a link to your online test page?
    Nancy O.

  • Javascript functions to control QuickTime not working in Firefox

    I am using the provided Javascript functions to control QuickTime (7.6.2); however, the functions are not working in Firefox (3.0.11), whereas they are working in Safari (4.0.1).
    I create a QuickTime Player, as follows:
    QT_WriteOBJECT('Music.mp3', '0', '0', '', 'AUTOPLAY', 'True', 'KIOSKMODE', 'True', 'CONTROLLER', 'False', 'LOOP', 'False', 'obj#id', 'qtp', 'emb#name', 'qtp', 'emb#id', 'qtpID', 'ENABLEJAVASCRIPT', 'True', 'SHOWLOGO', 'False', 'VOLUME', '256');
    The Music.mp3 file starts playing in both Safari and Firefox; however, the Javascript functions to control that playing work only in Safari, not in Firefox.
    Examples of QuickTime functions that work in Safari, but not in Firefox:
    document.qtp.Stop();
    document.embeds[0].GetRate();
    document.embeds["qtp"].GetTime();
    document.embeds["qtpID"].GetQuickTimeVersion();
    The GetRate and GetTime functions always return a "0" in Firefox, the Stop command is ineffectual in Firefox, and the GetQuickTimeVersion function aborts the Javascript code in Firefox.
    Any ideas what's happening?

    Dave, what you have done is very similar to what I have done, with the following exceptions:
    1. I'm using the regular HTML version of QT_WriteOBJECT rather than the XHTML version.
    2. My first parameter is an .mp3 file rather than a .mov poster in combination with an 'href'.
    3. I'm not using some of your parameters, such as, 'target', 'targetcache', 'scale', 'href', and 'name'.
    4. Instead of 'name', I'm using --- 'obj#id', 'qtp', 'emb#name', 'qtp' --- which allows me to then reference the QuickTime functions as --- document.qtp.Play(); document.qtp.Stop(); --- etc.
    5. I'm not creating HTML buttons as player controls; rather I am using my javascript program to detect and control the player operation with functions such as --- document.qtp.GetRate(); document.qtp.GetTime(); document.qtp.GetDuration(); document.qtp.SetVolume(); document.qtp.SetMute(); document.qtp.Play(); document.qtp.Rewind(); document.qtp.Stop() --- etc.
    6. I change my .mp3 files using --- document.qtp.SetURL();
    7. All my javascript is contained in an iWeb HTML snippet using an iframe.
    Essentially, I've created a jukebox with button images of album covers that can be visually scrolled and then clicked to play an album via the HTML onClick, onMouseOver, and onMouseOut functions.
    This all works without a hitch in Safari; however, in FF, NN, and Opera, it only works if the iframe is completely visible on the screen. It can't be scrolled offpage, and the HTML album cover buttons in the iframe cannot be dimensionless, hidden, or blocked from view.
    I really think it's the iframe that is causing this behavior in all the browsers (except Safari).
    BTW, as an aside, I don't have a Windows machine, but no one I know using IE on a PC has been able to get my QuickTime Player working. I think it's because, when I want to collapse an album cover, I set its width to '1px' ('0px' works only in Safari), but I think IE may require a minimum width of '2px'. I have not tried changing my image widths to '2px' yet.

  • DVD Player Not Working - Need Help Please!

    My eMac is currently not reading DVDs. The drive will recognize and automatically play commercial music CDs and software, as well as burned music CDs. However, when a commercial DVD is inserted into a drive, not only will the DVD player not recognize or play it, the eMac does not even notice that there is a DVD in the disk drive.
    Any suggestions or assistance would be greatly appreciated. Thanks in advance!
    eMac   Mac OS X (10.3.9)  

    hi there--
    there are a number of things for you to try. one is to do a pmu reset. instructions are found in step 6 of this article. http://docs.info.apple.com/article.html?artnum=34885 if you have an ati graphics emac or later, then the pmu button is on the right side, not the left. if that doesn't work, then try resetting the firmware. boot to open firmware by holding apple-option-o-f and then type in the following commands--
    reset-nvram (hit return)
    set-defaults (hit return)
    reset-all (hit return)
    the last command will restart the computer. if neither of those things works, then i would try booting to the install disk and running disk utility. http://docs.info.apple.com/article.html?artnum=106214 if that fails, then i would create a test user (system preferences > accounts, then hit the plus sign) and see if there is any difference there. let me know how that is going for you. Sherry

  • Executing Javascript with button

    How can I go about executing javascript with an item level button?
    In the HTML DB 2 day tutorial it says this:
    Calling a JavaScript from a button is a great way to confirm a request. Oracle HTML
    DB actually uses this technique for the delete operation of most objects. For example,
    when you delete a button, a JavaScript Alert Box appears asking you to confirm your
    request. Consider the following example:
    <script language="JavaScript1.1" type="text/javascript">
    function deleteConfirm(msg)
    var confDel = msg;
    if(confDel ==null)
    confDel= confirm("Would you like to perform this delete action?");
    else
    confDel= confirm(msg);
    if (confDel== true)
    doSubmit('Delete');
    </script>
    This example creates a function to confirm a delete action and then calls that function
    from a button. Note that the function optionally submits the page and sets the value of
    the internal variable :REQUEST to "Delete," thus performing the delete using a process
    that conditionally executes based on the value of request.
    Note that when you create the button you would need to select the Action Redirect to
    URL without submitting page . Then, you would specify a URL target such as the
    following:
    javascript:confirmDelete('Would you like to perform this delete action?');
    Can I only do this from a region button?

    hi,
    I have created a javascript form validation and finally (if its passes the validation) I am setting the :REQUEST as doSubmit('GO');
    I am calling a conditional process with condition as request = expression1
    with expression 1 as GO.
    The javascript is as follows
    function message_name_not_null(){
    if(document.getElementById('P14_MESSAGE_NAME').value.length==0)
    alert("Message Name is Mandatory!!");
    return;
    else if(document.getElementById('P14_MESSAGE_TEXT').value.length==0)
    alert("Message Text is Mandatory!!");
    return;
    else
    doSubmit('GO');
    My problem is my process is not getting called in button click(I have called the javascript from this button as javascript:message_name_not_null(); in Optional URL Redirect section)
    I have specified the :REQUEST value in the branches also.
    Any sort of help please..
    Thanks in Advance
    Kaushik

  • Adobe Flash Player not working on any browser in computer

    I really need help flash player not working in any browser in google chrome. For example in http://www.twitch.tv/ You need Adobe Flash Player to watch this video.  Download it from Adobe. I already did everything to fix it shown in support page please help!!!!

    Same problem on the same website here, pls help
    -Hi, i think I've manage to solve the problem by following the instruction on the following page
    http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    http://helpx.adobe.com/flash-player/kb/flash-player-games-video-or.html
    remember to restart your browser after doing the steps

  • How to play videos directly in player using html hyperlink in Mac??

    hi all, i am using Mac, i have a issue that i want to play flv videos directly in flv player when user clicks on video link.
    In windows when i click on html video link then windows automatically play that video in corresponding player but in Mac it just opens that folder location where i kept those videos but dont play them.
    how can i play videos directly in player using html hyperlink in Mac???

    What does any of this have to do with Java?
    It sounds like you've misconfigured your browser, but I'm not sure what you're even talking about.
    You know that apple.com has all sorts of forums for mac users, right?

  • How to Create a Persistent button on the top HTML gallery

    Hi,
    In my InDesign Folio I have an article with full page HTML photo gallery. The photo grid occupies the full screen. I want to create a Persistent button on the top of this gallery which user can tap to go to the Main Menu page. This button is  always visible at one place even as user scrolls up and down the gallery. I tried creating it on the top layer, and on the top layer for Master page, but the button disapperas when the HTML gallery loads.
    So the user does not see any button to navigate out of the gallery to another article.
    Any ideas how to create the persistent button ?
    Thanks in advance.
    -MP

    Depending on if you are using the HTML as either an article or in an overlay, you may be able to either use the standard navto and goto hyperlinks syntax or place a blank button on top of your link in the HTML.
    I am not sure if using the standard navto and goto syntax will work between an HTML article and an Indesign article. Maybe Bob Bringhurst, Bob Levine, or one of the staff members can clarify. If you are using your HTML in an overlay, you can add a transparent button on top of your link or image to return to whatever page you like.

  • Javascript on Button displayed among this region's items?

    Hello,
    I have implemented Javascripts to used manual LOV, has well describe in "How To", and everything work well.
    I now want to put a button in my LOV page to return back a fix value to the calling page/item. From this button, I'm calling the javascript javascript:passBack('fix_value');
    If I put this javascript in URL Target of a region button, it is working well.
    But position of the button is not what I want. If I try to use a "button among region items" and I define a branching with URL target equal to the same javascript, I get a page not found error.
    Is there an easy solution for this?
    Thank you
    Jean

    check out whether this helps you.....
    when we create a button then automatically javascript:doSubmit("request") function gets attached to it and in this function , current page is submitted.
    If you have created the button among the region items , then i am pretty much sure that you wanted to display this button adjacent to some item (let us say A ) in the region
    If above assumption is right then i think it is better to use a IMG tag (displaying the button ) in < Post Element Text > of item A instead of creating the button in the region...
    e.g then you can put the same in <Post Elment Text > of item A of the region
    <IMG SRC="img src"
    alt="Query" border="0" align="bottom left"
    onclick = "<call javascript>">
    here you can
    1. use HREF to redirect ....then no need of javascript function
    2. put "#" in HREF and use a javascript function to re-direct...
    i have used this approach extensively and it works fine ...plus it gives you freedom to exactly place the button where you wanted on ur page ...
    P.S. i tried creating doSubmit(request) function on the page and thought that this function might override the HTMLDB's doSubmit function ..but it did not work
    ----------------------------------------------------------

  • Disabling Radio Button Conditionally is not working Well

    Hi friends,
    I have three radio buttons
    <li>self
    <li>New Hire
    <li>On Behalf of
    I will be showing this radio button conditionally according to the user who logs into the application.
    Assume, suppose if a person 'A' enters into the application means he will be shown only these radio button options ---NH---,----OB----,----Self-----
    Suppose, if a person 'B' enters into the application means he will be shown only these radio button options ----NH----,----Self---
    If a person 'C' enters into the application means he will be shown only these radio button options ---Self---
    I have restricted those radio buttons according to the users who enter into the application using their roles.
    But my challenge here is once the user logged in and if he select anyone of the radio button means,
    Example if he selects----NH---means, then ---OB----and -----Self---radio button has to disable and if he selects ---OB----means then ----NH-----and ---Self---has to
    disable(vice versa).
    I have also achieved the same using the DA.
    With true action as: javascript Expression i have given the following codings( i have written the below DA for three cases, if the request_class_code is equal to
    (NH,OB,S)
    var enabled=$v('P22_REQUEST_CLASS_CODE');
    if (!$u_SubString(enabled,'S')) $('#P22_REQUEST_CLASS_CODE_2').attr("disabled","disabled");
    if (!$u_SubString(enabled,'NH')) $('#P22_REQUEST_CLASS_CODE_0').attr("disabled","disabled");
    if (!$u_SubString(enabled,'OB')) $('#P22_REQUEST_CLASS_CODE_1').attr("disabled","disabled"); The above DA is working great only for the user who has the option of viewing three radio buttons in my form(i.e)(NH,OB,S).
    For the user who has the option of viewing two or one radio button, it is not working properly(i.e)(NH,S) or(OB,S) or(S).
    Why it is not working for the user with two options or with one option radio button means, the source of that radio button property is changing. Since i have taken
    the source of my radio button in my DA only when the three options are present.
    How i can solve this issue for the user who is having this two radio option or one radio option.
    Hope you understood clearly about the problem.
    Brgds,
    Mini

    Hi,
    If I did understand what you like have this might work
    var lVal = $v('P22_REQUEST_CLASS_CODE');
    $('#P22_REQUEST_CLASS_CODE input:not([value="' + lVal + '"])').attr("disabled","disabled");Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME

  • TS3274 music won't play, play button on music not running

    music won't play, play button on music not running, closed all programs and restatred twice, still won't play

    Here is the list of supported codac formats supported by Android and like I thought, WMA isnt listed as a supported format unless a 3rd party app was installed that WMA worked with but the native OS does not have support for the file you are tring to play...
    Check out formats at http://developer.android.com/guide/appendix/media-formats.html
    Update:  Looks like I missed something because I found a post that reports they will work but Android site says they wont so I guess its one of those situations if they work that fine but if they dont, dont be suprised.  All I can say is it would be simple enough to convert the files to MP3 and remove this restriction.
    http://androidcommunity.com/forums/f41/wma-format-3359/

  • Flash player not working after several reinstallations and uninstallation...

    my flash player randomly stopped working yesterday i have tried continously to fix it by reinstalling it and uninstalling restartin the computer and re installing it and no matter how many times i do it and it successfully completes as soon as i go to watch a video it says i need to download adobe flash player! also adobe flash player does not show up in my add ons on firefox. it will however work on google chrome.
    Please help me thank you.
    i have a 62 bit, acer aspire 5517 laptop, using mozilla firefox, windows 7
    thanks,
    sarah

    Uninstall Flash Player from your Control Panel
    Download the Adobe Flash Player installer directly by clicking one of the following links.
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    For further info on trouble installing, see here: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header

Maybe you are looking for