3D Embedded JavaScript Disabled in Acrobat X

I usually work with Acrobat 9 (Reader/Pro) and have created a 3D PDF with a lot of javascripting at the document level and 3D annotation level.  I recently tried viewing the PDF in Acrobat X and discovered that all the functionality that I encoded in the 3D annotation has been stripped.  The document level javascripts seem to all work, including the one's that accesses the 3D context.  Has anyone encountered this?  Is there a work around?

It looks like the administrators have selectively blocked some 3D JavaScript functionality on our latest Acrobat Reader X install.  I noticed that javascript that are embedded with the 3D annot has been disabled on Reader X.  However, 3D scripts executed at the PDF document level does work, i.e. when you access the 3D context like:
     context3D = getAnnots3D(0)[0].context3D;
Can you set up 3D event handlers at the PDF document level?  For example, can you do something like this?
     context3D = getAnnots3D(0)[0].context3D;
     myMouseHandler = new context3D.MouseEventHandler();
     myMouseHandler.onEvent = function(event) {
          console.println("test");
     context3D.runtime.addEventHandler(myMouseHandler);
I'm away from my work computer (i.e. no access to Acrobat Pro) so I can't try this out.  Will this work?

Similar Messages

  • Folder level Javascript disabled for a user

    Hi Gurus,
    I created a folder level JS, it works fine on all computer here exept on one. On one computer, the javascript's in the pdf are working but the function called in the folder level script is not executed. (when it works on all the others). The script is in the right folder and the pdf works on other computers. Do I have to enable something in the preferences of acrobat reader 9.1. I checked the settings for JS in edit/preference and they are the same as for the others.
    Thanks for your help guys.

    All the script does it to generate a mail with the mailto function. The Preferences-JavaScript are set as on my pc. So it must be something else. If I email the pdf to my pc, it works, so the pdf form is fine, the script is the same as on my pc.
    --- En date de : Mer 2.9.09, try67 <[email protected]> a écrit :
    De: try67 <[email protected]>
    Objet: Folder level Javascript disabled for a user
    À: "antony clark" <[email protected]>
    Date: Mercredi 2 Septembre 2009, 13h35
    That's why I recommended to make a
    test script, to make sure folder-level
    scripts are working on this machine.
    There's no setting to specifically allow folder-level
    scripts. If they are
    properly placed and JS is enabled then they will launch.
    However, if your script inserts menu items you should make
    sure that this
    option is checked under Preferences-JavaScript, the second
    check-box from
    the top. You should probably check all 4 boxes, just in
    case.
    >

  • Help with embedding Javascript for Lightbox Photo Gallery in Muse!

    Hi all:
    I am fairly new to Muse and I have been having trouble finding relevant information for embedding Javascript in order to get a lightbox to work in Muse. Would anyone be able to walk me through embedding the Javascript for the Lightbox Photogallery for Picasa in Muse?
    This is the code I want to use: Lightbox Photo Gallery and Slideshow for Picasa
    And this is the look I am trying to accomplish within my Muse site: Cycling Around The World / January 2006 / Picasa Template by www.paulvanroekel.nl
    Any help would be appreciate. Thanks much,
    Alexis

    Hi,
    I have tried inserting the script that you have pasted above as HTML on my test site and it worked.
    What happens is whenever you insert something as HTML, Muse by default creates a div tag and places the content within the div tag. What I have done differently is I have inserted the JS with in the <script> tag and it has inserted the Javascript in this manner,
    I beleive that since this a browser re-direct script that you are using, you would like to place this in the head section and not in the body tag, however, that is certainly not possible using Muse as it does not allow access to the code it generates as a muse file.
    You, can still export the pages as HTML and make the appropriate changes there before uploading to the server.
    Hope that helps.
    Regards,

  • How to disable Adobe Acrobat PDF Reader in Safari

    How do I disable Adobe Acrobat Reader to prevent Safari from using it to open PDFs? I have Safari 7.0.5, OS X v10.9.4. FYI, there is nothing in my User> HD> Library> Internet Plugins folder. And I've already right clicked on a PDF in Finder and selected the option to always use Preview to open PDFs. But Safari still opens PDFs with Acrobat Reader. Thanks

    Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
    Step 2
    There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
              Safari ▹ Preferences... ▹ Security
    and check the box marked
              Allow Plug-ins
    Then click
              Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
              Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • Javascript disabled on my nokia lumia 520

    I have just bought a Nokia lumia 520 and downloaded the EBAY app but can use it properly when i try to reply to messages it all is says is JavaScript disabled you must enable it but i havnt got a clue how to do it

    The official eBay app? I haven’t tried myself, however, this is a bug in the app itself, additionally the error message is misleading. I would contact their support. Did you do that, already?

  • Customize look of javascript disabled page items

    I'm using javascript to enable and disable text field items on a page based on the user's access level and role. I chose to use a script for this because every item on the page is affected, and it seemed easier to maintain and debug by collecting all the logic together. This is working great, however it isn't looking so great. The background and text colors are both grayish and the end result looks like an etch into metal plating. What I would like is for the javascript disable function to look like when I disable it through APEX, a white background text field with grayed text. How can I customize the disabled look?

    OK so I've tried your guys' suggestions and here are the results along with some more info.
    It looks like APEX sets the attributes for items that are "Disabled, does not save state" as disabled="disabled", but "Disabled, saves state" as readonly="readonly". Not a big deal, I can just fix both styles. However, the problem is the javascript disable function seems to be overriding the CSS style.
    My javascript function enableDisableItems() is run onload and has a bunch of lines that conditionally run $x_disableItem('P801_MY_ITEM',true); If I don't run enableDisableItems, I can see my CSS styles. But, if I do run it, the styles go away and I'm left with the old metallic look again. I'm guessing that not only does the javascript change the items' state, but also style. I don't understand why it's doing that or how to stop it...

  • How to change CSS if Javascript disabled. Please help.

    Hi all,
    So my pursuit for accessible and good looking pages
    continues.....
    I am working on a new website: XHTML, external CSS, PHP
    driven.
    I decided to use the nice Project Seven vertical scroll menu
    for a looping newsbox. Works great with Javascript enabled and
    opens as it should with Javascript disabled. However, I have the
    scroll menu inside a div called "newsbox", which resides inside a
    floated div. This of course causes the content to extend beyond the
    main container.
    Now to fix this issue what I would like to do is have the
    Project Seven menu display when Javascript is enabled and when
    Javascript is disabled I want to change the CSS of "newsbox" to
    'overflow: scroll' so that the box still displays as a scroll box.
    (This would keep my current design looking nice.)
    I've looked at many solutions online but I need for it to
    validate in XHTML.
    All I want to be able to do is change that one line of CSS
    for the "newsbox" div if Javascript is disabled.
    I know this isn't really Dreamweaver related but I was hoping
    someone might have a simple fix for this.
    Any help or links to relevant online tutorials greatly
    appreciated!
    Thanks,
    Rachelle

    "Rockyjd" <[email protected]> wrote in
    message
    news:gi8r8o$olm$[email protected]..
    > Hi Thierry,
    >
    > Yes, your suggestion is exactly the route I'm trying to
    take. My problem
    > is
    > I'm a complete ignoramus when it comes to Javascript!
    > So this is my current CSS for the div that contains my
    scrolling menu:
    >
    > #newsbox {
    > background-color: #FFF;
    > height: 305px;
    > width: 300px;
    > position: relative;
    > visibility: visible;
    > z-index: auto;
    > left: 0px;
    > top: 0px;
    > margin-bottom: 5px;
    > margin-top: 1px;
    > overflow: scroll;
    > }
    > I've set the default value as 'overflow:scroll' and when
    Javascript is
    > enabled
    > I want it to change to 'overflow:hidden' (so those ugly
    blue scroll bars
    > disappear and my nice Javascript scroll menu then takes
    over.)
    >
    > So would I write the Javascript as follows?
    >
    >
    document.getElementById('newsbox').style.overflow='hidden';
    >
    > And then my next question is: where do I put this
    declaration? In the
    > <head>?
    > In the external CSS file? If it's in the <head>
    should it be in <script>
    > tags
    > or preceded by something to make it work?
    > Sorry for all the questions but I was trying to add the
    Javascript
    > yesterday
    > and it wasn't working so I am definitely doing something
    wrong.
    > As I said I'm a Javascript dunce so any and all help is
    greatly
    > appreciated!
    Hi Rachelle
    Yes it should be inside a script element in head, but you
    can't call it
    before "newsbox" is available. You'd need to call it onload
    or move the
    snippet in the code, after "newsbox".
    Thierry | Adobe Community Expert | Articles and Tutorials ::
    http://www.TJKDesign.com/go/?0
    Spry Widgets |
    http://labs.adobe.com/technologies/spry/samples/
    [click on
    "Widgets"]
    Spry Menu Bar samples |
    http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html

  • JavaScript actions in Acrobat Reader

    Hi,
    Is it possible to create a bookmark with a form button and a javascript action in Acrobat Reader?
    Is it possible to create a report with a form button and a javascript action in Acrobat Reader?
    These actions are possible in Acrobat but in Acrobat Reader, I don't know.
    Regards.
    David

    The JavaScript documentation tells you this information for each
    method. Does the documentation seem to be wrong? (See the "quick bar")
    Aandi Inston

  • JavaScript: Disabling textarea in report column cell  depending on flag

    Hi,
    I got an updateable report with the following behavior:
    - Depending on the value of column "PFT_PCODE" (1 or 2) the column gets a yellow or red background color.
    - If the value of column "PFT_PCODE" is 1 the next column (for remarks) gets a grey background color.
    - Some flags get values set.
    With the kind help of Andy (ATD) I got that running nicely. See also:
    Javascript - Referencing report column value and
    JavaScript: Disabling textarea in report column cell
    Now I want to add an additional feature:
    - If a flag ('P11_SPERR_FLAG') has the value '1' then the column (remarks) (var j) should be disabled.
    I tried the following (see additional code between asterisks) but it's not working. I feel a little stupid since I thought that shoud be an easy fix.
    Anyone has an idea what's wrong with the additional code? I find debugging quite difficult in JavaScript...
    ////////////////// PAGE HTM HEADER //////////////
    function hilite(f1) {
    var ft1 = document.getElementById('P11_FEHLERTYP1_FLAG');
    ft1.value = '0';
    var ft2 = document.getElementById('P11_FEHLERTYP2_FLAG');
    ft2.value = '0';
    *var sperrflag = document.getElementById('P11_SPERR_FLAG');*
    var h = 0;
    if (document.getElementById(f1)) {
         h = document.getElementById(f1);
         var t = h.parentNode;
         while (t.tagName != 'TABLE') {
              t = t.parentNode;
         var rows = t.rows;
         var k;
         var i;
         var j;
         var c;
         var headers = t.getElementsByTagName("TH");
         for (k = 0; k < headers.length; k++) {
              if (headers[k].id == f1) {
                   c = k;
         for (k = 1; k < rows.length; k++) {
              i = rows[k].cells[c];
              j = rows[k].cells[c+1].getElementsByTagName("TEXTAREA")[0];
              *if (sperrflag.value == '1') {*
    *               j.disabled = 'true';*
              if (i.innerHTML == '2') {
                   i.style.backgroundColor = 'yellow';
                   i.style.color = 'white';
                   i.style.fontWeight = 'bold';
                   i.style.fontSize = '18px';
                   ft2.value = '1';
              if (i.innerHTML == '1') {
                   i.style.backgroundColor = 'red';
                   i.style.color = 'white';
                   i.style.fontWeight = 'bold';
                   i.style.fontSize = '18px';
                   j.style.backgroundColor = 'grey';
                   ft1.value = '1';
                   //j.disabled = 'true'; //This would work.
    ////////////////// REGION FOOTER //////////////
    <script type="text/javascript">
    hilite('PFT_PCODE');
    </script>Thank you,
    Roger

    I found the solution, it had nothing to do with JavaScript:
    Item P11_SPERR_FLAG was of type Diplay as Text / Doesn't save state.
    Without saving state the JavaScript wouldn't work.
    Sorry to bother,
    Roger

  • Embedding javascript with xslt generated html

    hi,
    I'm using xml/xslt with xdk to generate html with embedded javascript. The solution works except that I am having problem with proper inclusion of the javascript file. I uset this line:
    <xsl:template match="/">
    <head><title>Screener</title>
    <!-- Javascript declarations -->
    <script language="javascript1.2" src="./screener.js">
    </script>
    I have tested the xslt sheet via IE5 and msxml3 processor and it works fine including loading the javascript file.
    Now using XDK and servlet it doesn't seem to retrieve the javascript file so all javascript function do not work.
    I would appreciate any help.
    thanks,
    ted
    null

    hi brian,
    All those files are in same directory i changed the .xsl file to be i am changing at the right place.
    However, as backup i tried the following:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>
    <script language="javascript1.2">
    <![CDATA[
    <!--
    var isNav4, isIE4;
    if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
    isNav4 = (navigator.appName == "Netscape")? true:false
    isIE4 = (navigator.appName.indexOf("Microsoft" != -1)) ? true:false
    if (isNav4) { document.write("<B>It's a Navigator!</B>");}
    else { document.write("It's an Explorer!");}
    //== shared global variables
    function _alert(e)
    alert(e);
    -->
    ]]>
    </script>
    and here is the html output:
    <html>
    <head>
    <title>Screener</title>
    <script language="javascript1.2">
    &#60;!--
    var isNav4, isIE4;
    if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
    isNav4 = (navigator.appName == "Netscape")? true:false
    isIE4 = (navigator.appName.indexOf("Microsoft" != -1)) ? true:false
    if (isNav4) { document.write("&#60;B>It's a Navigator!&#60;/B>");}
    else { document.write("It's an Explorer!");}
    //== shared global variables
    function _alert(e)
    alert(e);
    -->
    </script>
    </head>
    So everything is being output correctly except for <!--; is there a way around this problem? If I leave out <!-- --> it works but
    i was wondering if the present behavior is what's supposed to happen.
    thanks,
    ted
    null

  • Embedded Javascript and CSS removed from mail

    Hey folks,
    I wrote a small app to send a html email to myself.
    When I sent it inline all the embedded javascript and css were removed.
    When sent as a .html page attachment and opened from within the browser (Gmail, Mozilla 2.0)
    all the embedded script and css were gone. However when downloaded to the machine, it was all there.
    Looks like this is a browser issue, would anyone know how to get around it?
    It's so that I can have collapsable headers in my email message.
    Thanks,
    Mark.

    Hi Tony.
    Yes, it's possible. Read [Wiki WPC FAQ|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer-FrequentlyAskedQuestions+%28FAQ%29#WebPageComposer-FrequentlyAskedQuestions%28FAQ%29-WhataboutusingstandardHTMLpagesinWPC%3F].
    KM supports relative links in HTML documents so it may be necessary include any dependent files in the same folder as the HTML document.
    In case of a web page and its dependent files are stored in different folders you need editing the source html code:
    1. use Portal Drive and any text editor (I prefer Notepad++. It has the feature "Search and Replace in files") to open the html source file.
    2. search for links to dependent files and add the following pattern: /irj/go/km/docs//<path to an dependent file>/ before a filename, for example:
    You have a web page with css file. The page is stored in documents repository under the folder with ID old_pages. The css is resides in css folder.
    So the existing code
    <LINK REL=STYLESHEET TYPE="text/css" HREF="css/style.css">
    should be replaced with the
    <LINK REL=STYLESHEET TYPE="text/css" HREF="/irj/go/km/docs//documents/old_pages/css/style.css">
    Best regards,
    Aliaksandr

  • Page-embedded Javascript and uploaded images are not cached.

    Hello All,
    I was reading in Wiki APEX and I found this line mentioned as cons: "Page-embedded Javascript and uploaded images are not cached".
    The question that I have posted many questions here how to enable the cache for Images and Javascripts but didn't get it right, is the wiki info right about the cache for images and JS?
    thanks,
    Fadi.

    Look at the bottom of this page as well [http://carlback.blogspot.com/2007/12/apex-and-3rd-party-js-libraries.html]
    Patrick Wolf
    Carl,
    the only drawback with #WORKSPACE_IMAGES# and #APP_IMAGES# is that it doesn't get cached by the browser. So each page request will transmit the hole file again. A caching option for the "Static Files" in the Shared Components would be nice :-)
    About lazy loading with the #WORKSPACE_IMAGES#. I could think about a mod_rewrite rule which translates the additional file request of the JS library into a valid request for APEX.
    Carl Backstrom
    In 3.1 we emit a last modified header now for uploaded files so that should help with browser caching.
    I wonder if anything's changed since then.
    Kofi

  • Call JavaScript function from Acrobat Plugin

    Hi All,
    I want to call JavaScript function from Acrobat Plugin? Where is to write JavaScript function in Acrobat SDK? Please reply..
    Thanks in advance..

    Hi Malkyt,
    Thanks.. where is to write JavaScript code in the application..
    function GetWelcome()
    alert("Welcome");
    this above code. how to use this javascript code to plugin application.
    static ACCB1 ASBool ACCB2 AVPageViewMouseClick (AVPageView pageView, AVDevCoord xhit, AVDevCoord yhit, AVFlagBits16 flags, AVTCount clickNo, void *data)
    char jsscript[200];
    AFExecuteThisScript (pddoc, jsscript, NULL);
    i want to display welcome message of JS file.. give me step to perform above task.. Please reply...

  • Web page embedded Javascript has stopped working

    Hi,
    Since updating somewhere around v5 or so, some embedded Javascript no longer works, despite ticking the "Allow Javascript" box.
    Was hoping that v9 would have fixed this problem, but no.
    Thanks

    Thanks cor-el, but not being computer literate I do not understand what you mean; neither do I understand any of the responses posted under http://kb.mozillazine.org/Resizing_oversize_window
    What annoys me intensely is that there is an existing option to tick the box to a) "Enable JavaScript" and within that to b) "Move or resize existing windows".
    What is the point of those tick boxes?
    Do not mean to waste your or anyone else's time, but am ready to leave FF for just that simple problem. The way in which I open FF is such that I use an internal own-design web page with positions itself exactly where I want it on my large screen. This option has now been removed by FF; it works fine in IE.
    Thanks to all for trying to sort this out, it is a FF problem that can surely be sorted?

  • Javascripts folder for Acrobat X on MAC

    there is a Javascripts folder for Acrobat 9 under the install location, but I do not see that for the acrobat x installation on MAC.
    any ideas?
    thanks!

    Run this code in the interactove JavaScript console:
    app.getPath("app", "javascript");
    But since that can be difficult to do with certain mac keyboards, here is what it give me for my system with Acrobat 9:
    /Macintosh HD/Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/JavaScripts/
    It should be similar for Acrobat 10.
    For Reader 10, I have: /Macintosh HD/Applications/Adobe Reader.app/Contents/Resources/JavaScripts/
    If you're looking for the user JavaScript folder, try this:
    app.getPath("user", "javascript");

Maybe you are looking for

  • XI Basics - Tough question

    Hi I am trying to develop a file-XI--HTTP scenario. This is done to transport a pdf as it is. As a test I created a file-XI--file scenario but it keeps failing. Note: Messages from other interface(receiver) also fail and they all have the same error

  • Profile creation for PP

    I need to create new profile for CO26. In which I need to include 2 customized fields from AFVGD_USR08 & AFVGD_USR09. To enable these fields I appended the fieldu2019s names in to IOHEADER structure. I was able to successfully create the new profile

  • What is this 99meg file at nvidias ftp "soundstorm"

    I guess I will find out when its finished. sorry the file is at either of their ftp sites but I suggest using download1 not plain download as I am getting 16k on the download and 200 on the download1 here you go

  • Can't clear a file that keeps on dowloading from the download manager

    I clicked a link (linking to a .jpeg) in an e-mail for something I purchased thinking it was an extra to the purchase, but afterwards I realised it was just an Image to accompany the e-mail. The problem is I can't clear the download from the download

  • Error loading Inventory Service

    Just completed several installs of Zen for Desktops 6.5 SP2. No problems except for one server that will not load the Inventory service. Tried renaming the Zenworks folders and reinstalling, deleting the objects and reinstalling, etc... Found the fol