Custom buttons for control 3d PDF Animate

I am currently using the 3d PDF Animate program distributed by Tetra4d to animate some 3d models that I imported into a pdf.  The only actions that the default buttons provide are Play, PlayAll, Pause, Preivous, Next, First, and Last.  I am trying to create a button that would play specidic steps without having to hit next or previous to get to it, but nothing I try seems to work.  I have no experience in java or javascript so i am basicly just trying to piece things together based on what I see, but as I said, nothing is working.  If anybody has any experience in the program, I would sure appreciate some input.

There are two ways to animate the contents of a 3D annotation - either the keyframe data is stored within the 3D model itself (as a timeline) or JavaScript is used to move each element based on a ticker loop. In both cases there must be a JavaScript controller function attached to the 3D annotation in order for control buttons to work, and when that code is added by a commercial plugin it is usually obfuscated so it cannot be modified.
Aside from inspecting the internal structure of the file, you can tell where the animation comes from by how the inbuilt controls work. Open the properties of the 3D annotation in Acrobat Pro, go to the 3D tab and 'Clear' the embedded script (don't save the file!). Re-activate the 3D scene, and look at the popup toolbar. If there's an embedded timeline, the play/scrub controller on the 3D toolbar will work. If it doesn't, the animation is script-controlled.
With embedded timelines there is usually only one animation (which covers all steps), and the various buttons assigned by the plugin simply refer to start/stop times within that animation - the 'play all' button simply tells the script to ignore all the intermediate markers. If you wanted to play a particular step, you would have to work out the time (in seconds) that the step begins and ends, then add your own code to play through only that range. However, given the code already attached to the annotation cannot be edited or removed without breaking everything, and a 3D annotation cannot have more than one attached script, the only option to make even a minor change would be to write it all again from scratch. That's the disadvantage of using tools like this - they make one thing very easy, but in doing so make it next-to-impossible to change the end result.

Similar Messages

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Is it possible to create custom buttons for quizzes in Adobe Presenter?

    My company is not happy with the quiz buttons in Adobe Presenter and I was wondering if it is possibe to create custom buttons for quizzes and use them as defaults. Like you can do in Captivate.  I'm using Adobe Presenter 8 in Windows 7. 

    Hi,
    Do you want to change the appearance and position of buttons ?
    or
    Do you want to change the action when the button is pressed ?
    Thanks,
    Alpi Agarwal

  • Need custom button for Thunderbird for FF toolbar; Don't know the website.

    I have had a Thunderbird Custom Button for my FF toolbar and have lost it. This happened once before had someone gave me a website where all of the old custom buttons qwe listwed and I was able to drag & drop the button from there. Unfortunately I do nor had that website and hope that someone will be able to provide it for me. Thanks.

    Take a look at [http://www.google.com/search?q=Thunderbird+Custom+Button+for+my+FF+toolbar&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8num=100 this search]

  • Adding Navigation Buttons for Users of PDF Documents

    The default for Acrobat Reader (and even the Pro version)
    seems to leave the Forward and Back navigation buttons OFF the
    Acrobat Reader tool bar. You have to deliberately go into the Tools
    - Customize Tools menu and turn on these two buttons in order for
    them to appear in the tool bar. This creates problems for readers
    of your PDF documents if the readers of your documents aren't very
    computer savy. If you have links in your PDF document so readers
    can navigate around, not having the Forward and Back buttons up on
    the tool bar as a default makes these links almost useless. The
    reader has to know how to turn these two buttons on and some
    readers may not have a clue how to do that.
    My question: Is there a way to put 2 navigation buttons on a
    reader's toolbar AUTOMATICALLY when they open your document--ie,
    something embedded in the PDF doc that automatically turns these
    buttons on for the reader so they don't have to do it
    themselves?

    Thank you for your post. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Importing custom pics for controls?

    Hello all,
    After poking around in the NI Example Finder I found a VI that verifies that I can modify the interface with custom pics and such...  I found it under "Building User Interfaces / Customizing Controls / Using Custom Controls.VI"  I'm trying to find out how they changed the pictures for the sliders and such, but each interface simply has  "Custom pics were imported for the...."  in the properties folder.
    ...ok, HOW did they import the custom pics?   Maybe I'm making this too hard.  Is there a bitmap image of the slider or knob that that I can modify?  I've done a search in the Knowledge Base, searched on here, searched on LAVA... I'm probably making this too hard, but if someone in the know will point me in the right direction I'd really appreciate it!
    Thanks!
    Chad

    Yair's Nugget may be helpful.
    ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Customizing Authorization for Controlling

    Hello, Experts,
      I need to create a role with authorization for SPRO but only for the Controling branch.
    How do I do it ?
    Thank you !
    Rami Kleiman - HP

    Hi,
    DSK-  How do create configuration project ?
    Anil - Can you be more specific ? PFCG is transaction for creating roles.
    When I add SPRO to the role, it DOES NOT add all the authorization for
    the SPRO options.
    Thank you,
    Rami

  • Hi all I am having some dificulty with a submit button for emailing a PDF

    I am using Adobe Livecycle Designer ES 8.2 to create an order form with a submit by email button at the end.
    The button works fine and emails the form to sales@*.ie. My problem is the form is editable by the receipt which I dont want.
    Is there a way of creating a pre submit script to change the file to read only or non-interactive and removing the print and submit buttons.
    I have been at this for hours and have looked every where and have not found anything.
    I am new to this and would appreciate the help.
    Thanks

    Thanks, That worked
    I was pulling my hair out

  • Custom Buttons for 3D Interaction?

    How can I set a button to change the 3D tool using javascript?
    As example, I have a button I've made to change to the zoom tool. I'd like to click on it and have the 3d tool change from the default spin tool to the zoom tool.
    I've tried a couple different things but am having no luck. Any help would be greatly appreciated.
    Thanks!
    -Ted

    Yo Zero,
    Here's a hunk of code to do what you want. You should know that when Acrobat processes 3D annotations, there are TWO javascript engines running: a document-level engine (Escript) and a 3D-specific engine (Extendscript). There are reasons for this. Regardless, there are API's present to allow the two to talk to each other for page-annot interaction.
    This hunk of code could be shorter (very much) but I left it a little verbose to give you an idea of what's going on.
    //==============================
    //get index of page containing the Annot3D object (count starts at 0)
    var pageIndex = this.pageNum;
    //index of the Annot3D (count starts at 0)
    var annotIndex = 0;
    //get the annot object
    var a3d = getAnnots3D(pageIndex)[annotIndex];
    console.println("a3d = " + a3d);
    //now forcibly activate it
    a3d.activated = true;
    console.println("a3d.activated = " + a3d.activated);
    //get a reference to the Annot3D script context
    var c3d = a3d.context3D;
    console.println("c3d = " + c3d);
    //set 3D tool with the 3D API 'runtime' object global properties and methods
    c3d.runtime.setCurrentTool(c3d.runtime.TOOL_NAME_ZOOM);
    console.println("c3d = " + c3d);
    //==============================

  • Custom Filename for PDF Report

    Hi,
    I have a requirement to download pdf for a report. I provided the download action as a column link on the report. Clicking the link I direct to the URL for the custom report I created (f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT= MyReport). Pdf gets downloaded with the name MyReport.pdf. But I need to provide a custom name for the downloaded pdf, it should be based on the Id value of the report column something like this Emp123.pdf where 123 is the employee Id (selected row's employee id value in my report).
    I searched in the forums and came across this thread APEX 3 PDF Report Export Custom Filename? but here its mentioned that
    " In this case there's no separate attribute for the file name. And we don't do substitutions on the report query name, so setting the name dynamically as you described in your sample, won't be possible. "
    Since the thread is a old one so posting a new one. Any pointers is highly appreciated.
    Thanks,
    Rakesh

    1. Call the report with utl_http.
    2. Store the output as a BLOB. Either local variable or store it in a table.
    3. Print the blob.
    Here is how you can print the blob and read the package spec for utl_http.
    Re: display a blob on webpage using mod-plsql

  • Is there a way to create a button for the tool bar that will View a page in "No Style'?

    I guess what I'm asking is...Is there a way to make a customized button for the toolbar that will allow me to change the view on a webpage to 'No Style' as listed under the view menu. If so, How can I do this?

    Try this add-on: <br />
    https://addons.mozilla.org/en-US/firefox/addon/custom-buttons/

  • ***How to call BSP App when custom button event fired from toolbar group***

    Dear PCUI Experts,
       I have created one custom button for the transaction CRMD_BUS2000116.
    And my urgnet requirement is , I need to call BSP application which is used to   take data from custom fields and stores into BP table.
    How to call the BSP App. when i clicks on the button.
    Please help me..
    I will reward with great points.
    Regards,
    Stella.

    Hi Purushothaman,
                                 I have created a button in CRRM_ACCOUNT application.
    Now i want to call  a custom bsp application by clicking on that button.I have followed step given in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But the event is not triggered.Do I have to create an iview for my bsp application?
    How to do that?Plz help.
    Regards,
    Ruby.

  • 11.5.10 UI Custom Button to Remove/Delete an Instance?

    Hello,
    I'm in 11.5.10 and I have created a UI from scratch for my base model and on it I have created a Custom Button with the the Associated Model Node->Specified->My Sub Model along with the Button Action->Add Instance. When I test the model i'm able to click my custom button that I made to make as many instances of the child model as I want, however, when I go to the UI in developer mode for the child Model i try to make a custom button for it but there is not a delete instance action. Leading me to my question, how do I then delete the child models that i have spawned off? Like say on my main model I clicked my add instance button 5 times but then I decided i would like to remove one of them, how to do this?
    Thanks

    Hi;
    In that it mentioned how to create custom top but i want to remove itI know :) As i said make steps from reverse(start from application than delete files from OS)
    Regard
    Helios

  • Custom button table of contents widget

    Hi guys,
    I used to have a widget that would allow you to create a custom button for expanding the table of contents ... one for the default state and then it would swap the image when it was expanded, the button would attach to the right hand side of the TOC ... does anyone know if this widget still exists and preferably one that works in version 7?

    Do you really still need it? Since Captivate 6 in the TOC-settings you have the possibility to upload custom Collapse/Expand icons to use as buttons:

  • How to add Custom button to existing ALV toolbar

    Hi,
    I want to add custom buttons for varaints in the existing row PRINT VERSION/EXPORT
    How do we do that?
    Rgds
    Vara

    I have used the standard component u2018salv_wd_tableu2019 in my application and will be able to give example by adding a button named 'NEW__BUTTON' .
    In the WDDOINIT method of the component controller, use the following code to define column name, your own buttons, visible column for the same component usage.
    DATA:
    lr_salv_wd_table_usage TYPE REF TO if_wd_component_usage,
    lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
    *Check ALV component usage
    lr_salv_wd_table_usage = wd_this->wd_cpuse_alv( ).
    IF lr_salv_wd_table_usage->has_active_component( ) IS INITIAL.
    lr_salv_wd_table_usage->create_component( ).
    ELSE.
    lr_salv_wd_table_usage->delete_component( ).
    lr_salv_wd_table_usage->create_component( ).
    ENDIF.
    *Get ALV component
    lr_salv_wd_table = wd_this->wd_cpifc_alv( ).
    wd_this->mr_table type ref to CL_SALV_WD_CONFIG_TABLE.
    *Get ConfigurationModel from ALV Component
    wd_this->mr_table = lr_salv_wd_table->get_model( ).
    *Set table settings
    DATA:
    lr_table_settings TYPE REF TO if_salv_wd_table_settings.
    lr_table_settings ?= wd_this->mr_table .
    lr_table_settings->set_visible_row_count( '5' ).
    lr_table_settings->set_width( '100%' ).
    DATA:
    lr_header TYPE REF TO cl_salv_wd_header,
    l_header_text TYPE string.
    lr_header = lr_table_settings->get_header( ).
    l_header_text = cl_wd_utilities=>get_otr_text_by_alias( 'NEW__BUTTON' ).
    lr_header->set_text( l_header_text ).
    lr_header->set_tooltip( l_header_text ).
    "lr_table_settings->set_selection_mode( cl_wd_table=>e_selection_mode-multi_no_lead ).
    *Set functions
    IF wd_this->mb_no_maintain NE abap_true.
    DATA:
    lr_function TYPE REF TO cl_salv_wd_function,
    lr_fe_button TYPE REF TO cl_salv_wd_fe_button,
    l_btn_text TYPE string.
    *Add the button here for validation on the top of the ALV
    *This is where you add the buttons on the same ROW.
    lr_function = lr_functions->create_function( 'NEW__BUTTON' ).
    CREATE OBJECT lr_fe_button.
    l_btn_text = cl_wd_utilities=>get_otr_text_by_alias( 'NEW__BUTTON' ).
    lr_fe_button->set_text( l_btn_text ).
    lr_fe_button->set_tooltip( l_btn_text ).
    lr_function->set_editor( lr_fe_button ).
    After defining the buttons 'NEW__BUTTON' , handle the actions for the same using the method u2018LIST_ACTIONu2019 which should have the event as u2018ON_FUNCTIONu2019, controller as u2018interface controlleru2019 and component use as the name you have given say u2018ALVu2019.
    In the method u2018LIST_ACTIONu2019, handle the actions as below. This method will have the following importing parameters.
    WDEVENT Importing CL_WD_CUSTOM_EVENT
    R_PARAM Importing IF_SALV_WD_TABLE_FUNCTION
    method list_action .
    case r_param->id .
    when  'NEW__BUTTON'.
    "Do the validation here-"
    endcase.
    endmethod.
    Thanks,
    Rajkumar.S

Maybe you are looking for