Can a 3D view be called from JavaScript

I have spent many hours looking for this solution, but haven't found the answer yet. I want to have a Flash movie call a 3D view.
Thanks in advance for your help.

runtime.setView( 'viewname_goes_here', boolean_animate );
e.g. in a doc-level context if the view is called "homeView" and you want to switch to it instantly (without the default camera animation):
getAnnots3D(pageNum)[0].context3D.runtime.setView('homeView', false);

Similar Messages

  • Can 3D toobar commands be called from Javascript?

    I can call "One Full Page" from the acrobat toobar by using "this.zoomType = zoomtype.fitP;". Is it possible to do the same with 3D tools? I would like to have javascript call "Zoom To Part" from the 3D toolbar.
    Thanks in advance!

    The 'fit to part' action is actually a lot more complicated than it seems (calculating the bounding box extents from the camera position is one thing, but it then has to allow for other parts being in the way). You could try to implement your own code to do all of that, but the simpler approach is to define a series of views for each 'spare' part (set the fit-to-part option before defining the view so your gimbals are in the right place), then you can use the 3D JavaScript runtime.setView() command to pick them by name.

  • Can a Stored Procedure be called from a Rule (not using Scripted JDBC Adap)

    Hello smart people,
    Question: Can a stored procedure be called from a Rule without using the Scripted JDBC Resource Adapter?
    What's Desired: The project has very strong sql developers and average at best Java developers. We have been successful at implementing the scripted JDBC Resource Adapter which makes use of Java Bean shells. The custom Java Bean shell contains code that calls a stored procedure. We are cool with that process.
    However we would like to be able to set up a Rule that calls a Stored Procedure without jumping thru the Java Bean Shell layer. The Stored Procedures we will be developing will not access the tables in the Waveset database. Instead the Stored Procedures will be accessing custom tables in a custom database. The custom DBase will be housed on the same dBase server as the Waveset database.
    Environment: Identity Manager 7.1. Oracle 10i, and Unix OS.
    It seems to me that this task is possible, but the posts in this forum make it sound like perhaps it is not.
    Do any of you smart people agree that it should be possible or better yet has anyone implemented such an approach?
    Thanks.

    We did this by putting all of the JDBC calls into a Java class, then instantiated that class and called the methods from within a rule. An example of a rule we used is this:
    <Rule authType='UserMembersRule' name='List UserType'>
      <block>
        <defvar name='adapter'>
          <new class='com.waveset.adapter.ScriptedJdbcResourceAdapter'/>
        </defvar>
        <invoke name='setResource'>
          <ref>adapter</ref>
          <invoke name='getObject' class='com.waveset.ui.FormUtil'>
            <ref>context</ref>
            <s>Resource</s>
            <s>Banner</s>
          </invoke>
        </invoke>
        <defvar name='jdbcHelper'>
          <new class='edu.bates.JDBCHelper'>
            <invoke name='getConnection'>
              <ref>adapter</ref>
            </invoke>
          </new>
        </defvar>
        <defvar name='userList'>
          <new class='java.util.ArrayList'/>
        </defvar>
        <invoke name='addQueryToList'>
          <ref>jdbcHelper</ref>
          <s>SQL QUERY HERE</s>
          <ref>userList</ref>
        </invoke>
        <ref>userList</ref>
      </block>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
    </Rule>

  • Can a report in ERP called from CRM system using RFCs??

    Hi All,
    Please let me know if this is possible, if so , how?
    Can a report in ERP called from CRM system using RFCs??
    Thanks
    Siva

    Yes, you should make an RFC function in ERP and inside the
    function you can call the report with a SUBMIT. Then in CRM you can call the RFC function...
    Best regards,
    Iván
    P.D.: Give points if answer helps!!

  • What is the name of the name of the app that I can use to make free calls from iPhone to iPhone?

    What is the name of the app that I can use to make free calls from iPhone to iPhone ?

    You mean Whatsapp messanger?
    WhatsApp Messenger is a cross-platform mobile messaging app which allows you to exchange messages without having to pay for SMS.
    NO calls.
    FaceTime, Skype and Viber are the most popular. (at least here in Greece)

  • I can't complete a facetime call from my iphone 4 to a friend's ipad 2.  any suggestions?

    I can't complete a facetime call from my iphone 4 to my friend's ipad 2.  Any suggestions?

    Hi pacermaker man,
    Thanks for visiting Apple Support Communities.
    I suggest going through the the troubleshooting steps in this article first if you are not able to make a FaceTime call to another iOS device:
    iOS: Troubleshooting FaceTime
    http://support.apple.com/kb/ts3367
    Cheers,
    Jeremy

  • Can I I place a call from my iPhone 5s using USB connected iMac

    I was pleasantly surprised when I found my iMac (2012-Yosemite 10.10.2) could be notified and answer calls from my USB connected iPhone 5s (OSx8.2).
    Question: Can I also place a call from my iMac; and if so, How? Is there an app for that?

    USB connection has nothing to do with it. They have to be on the same WiFi network. It's part of 'Continuity' in OS X Yosemite and iOS 8. You can place calls using FaceTime on your Mac.

  • I can't receive texts or calls from certain phones

    I can't receive texts or calls from at least 2 AT&amp;T phones and at least one sprint iphone...I've reset the settings, deleted threads, called my carrier (tmobile) to make sure there are no blocks in place. It's weird because I can't even receive texts from tmobile or my bank! My bill is paid and I do get messages from other numbers. Can anyone help?

    Finally got through to talk to a very helpful technician at EE by selecting account query rather than technical problem on the automated answering system on 150. A reset by EE sorted the problem out and the phone is working fine again.

  • Can my MAC automatically Record Calls from my RAZR via BlueTooth ???????

    Can my MAC automatically Record Calls from my RAZR via BlueTooth ?
    That would be so cool !

    well, that only possible if the call comes through the mac
    if it was a landline, then you connect the phoneline into the modem, thru the software, then back out the modem and out to the phone. I have sucessfully done this on a windows machine
    i suppose cellphones can be used as modems, so you could hook it upto the mac and then answer the call thru your mac's speakers and microphone...youll need to develop or find the appropriate software to this tho.

  • How to (can I?) debug EJB called from ABAP?

    I have developed a small bean that I am calling remotely from ABAP.  I have done the development work in the WebAS 6.40 Sneak Preview NetWeaver Dev. Studio.  I cannot figure how (or even if it's possible) to debug this bean.
    I have followed the instructions on debugging referred to elsewhere in this forum, but I'm hung up at the point where I'm to create a debug configuration.  E.g., what kind of configuration should I specify?  (EJB is not one of the choices.)  If I try any of those that <i>are </i> available, I always get to a point where it says that it can't connect to the JVM.  Well, that's not what I'm trying to do, is it?
    Has anybody successfully done such debugging?  If so, can you get me past this sticking point?
    Thanks...

    Hi David,
    prerequisite to use debugging is, that the server you want to connect to runs in debug mode:
    Open "Window->Show View->Other->J2EE->J2EE Engine". The configurated J2EE engine is displayed. Use the context menu of the "server0" entry to "Enable debugging of process". The server restarts then. If it's (already) running in Debug Mode, this is visible on the right side "Debug Mode = ON".
    I suggest to define a "Remote Java Application" configuration like this:
    Name: Whatever you like
    Project: The project containing the classes to debug.
    Connection Type: Standard
    Host: Hostname or IP of J2EE server host
    Port: 50021
    Choose "Apply" and "Debug".
    Set breakpoints for example by double-clicking on the frame on the left side of the Java editor (or using the context menu -> Add Breakpoint there). There's a very good documentation about debugger usage in the NWDS online help.
    Trigger the remote call from the ABAP system. As soon as a line with a breakpoint is hit, the debugger displays the line and stops the active thread.
    Hope that helps.
    Regards
    Stefan
    PS: As soon as you don't need debugging any longer, disable debug mode of the engine, since it slows down everything.

  • Show a different view when called from different app.

    Hi,
    I have the requirement of showing a different view in the same window when called from different apps (urls).
    I have created different start-up inbound plugs and assigned them to the different apps but I can't figure out how to code the view switch.
    Any idea?
    thanks in advance,
    David R.

    hi,
    It is possible.
    Click on the Properties tab of application.In that screen click on the seach help option against Interface view.It will show all views you have created. Select the desired view to which the application has to point.
    Don't forget to give the  plug name which is under that interface view
    Now the application invokes the new view which u have pointed.
    If you have doubts in this please inform me.
    Regards,
    Ramanan
    Edited by: Ramanan Panchabakesan on Sep 3, 2008 1:50 PM
    Edited by: Ramanan Panchabakesan on Sep 3, 2008 1:51 PM

  • Calling from javascript a method which uses accesscontroller.dopriviledged

    Hello everybody!
    I've a problem in accessing my pc resources from a signed applet when calling methods from Javascript.
    If I try from start() or init() methods, I can do it, but as soon as I try from anoter method defined by myself, it throws this me an AccessControlException:access denied.
    I googled and found that I should use this code:
    KeyStore smartCardKeyStore= (KeyStore)
                 AccessController.doPrivileged(
                           new PrivilegedExceptionAction() {
                             public Object run() throws KeyStoreException, NoSuchProviderException, NoSuchAlgorithmException, CertificateException, IOException {
                                 KeyStore alfa;
                                 alfa = KeyStore.getInstance("PKCS11",pkcs11Provider.getName());
                                 alfa.load(null,null);//this is the point where it trhew the AccessControlException
                                 return alfa;
                         );The problem is that with this code, I can't get it work with Firefox (which doesn't throw any exception, just won't work!) neither with IE, which throws this:
    netscape.javascript.JSException: Nome sconosciuto.
    java.lang.Exception: netscape.javascript.JSException: Nome sconosciuto.
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)Please, help me! I'm in a big trouble, since I should finish my project asap and I am not able to pass this cumbersome obstacle...
    Thank you in advance! :)

    Hi! Don,
    You cannot call methods which breach Security from Javascript. That is what SUN says.
    But there is a hack, or a work around...
    Declare a boolean Variable , say named buttonClicked.
    Initailly keep its value false(default).
    Write an inner class that extends a thread class whose RUN method will contain the following piece of Code:
    public void run(){
        while(buttonClicked){
                     KeyStore smartCardKeyStore= (KeyStore)
                 AccessController.doPrivileged(
                           new PrivilegedExceptionAction() {
                             public Object run() throws KeyStoreException, NoSuchProviderException, NoSuchAlgorithmException, CertificateException, IOException {
                                 KeyStore alfa;
                                 alfa = KeyStore.getInstance("PKCS11",pkcs11Provider.getName());
                                 alfa.load(null,null);//this is the point where it trhew the AccessControlException
                                 return alfa;
    }You start the Thread inner class in your init method.
    So, its RUN method will continuously be waiting to go into the while loop.
    And in your start method you will set the +"buttonClicked"+ variable to true upon a Javascript onclick event of a button.
    So, the moment you click a button, you only set the buttonClciked variable to true in your start method--------
    This does, in no way breach security. So no exception is thrown.. But the code which breaches security is initiated by another thread other than that spawned the Applet; so the browser does not care anything about its privileges. It just lets the execution of the code.
    I hope it works for you; be in contact, if it doesn't.
    Thanks and Regards,
    Samba

  • Since upgrading to FF Ver. 24, I can no longer view videos/clips from fox News. What add-on do I need? Everything else seems to be working OK.

    Since upgrading to ver. 24, I can no longer view the video clips from Fox News. the clip comes up but will not play. I don't have a problem using IE. I seldom use IE and FF is my main browser. What add-on or control do I need to rectify this situation? My e-mail is [email protected]
    ''(email obfuscated - please be cautious with posting your email address - c)''

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Applet function call from javascript

    Hi,
    I'm haveing a problem with accesing applet's functions from Javascript in Mozilla. IE works fine but in Mozilla I get the following error:
    Error: document.applets[0] has no properties
    The code used is: document.applets[0].test();
    The applet has the following 2 tags defined, I don't know if they are necessary here but I'm doing the reverse too (applet functions call javascript).
    <PARAM name="MAYSCRIPT" value="Y">
    <PARAM name="SCRIPTABLE" value="Y">
    If you have any ideea please help.
    Thanks

    in javascript try document.getElementById("idOfTheApplet")
    use object tag instead of applet tag:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="300" width="450" >
            <param name="code" value="appTest.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:appTest.class"
                    height="300" width="450"
                    >
              <param name="mayscript" value=Y" />
            </object>
            <!-- <![endif]-->
          </object>or check out HtmlConverter.exe in the jdk bin dir.

  • I can't make a phone call from my iPad. But, I can receive phone calls. What am I doing wrong?i can reci

    I am able to receive phone calls on my iPad air 2. But, I can not make any phone calls. I am using an iPhone 6. I have set up both as required. What am I overlooking?

    Hi Bo S.,
    Welcome to the Apple Support Communities!
    I understand that you cannot make an outgoing call using your iPad. Included below are the instructions for using Continuity to make calls from your iPad. If you are set up correctly and still are unable to make a call after following the information in the article, please let me know at what point in the process the failure happens and what happens at that point. 
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    Cheers,
    Joe

Maybe you are looking for

  • When using the new controls of CVI 7 in my DLL it crash on the DisplayPanel call

    I have a CVI DLL that was build under CVI 6. When I recompile it in CVI 7 everything works fine when I load the DLL from my application. But If I add a button on my uir file with the new CVI 7 style (no event code associated, just a plain button) my

  • Sending mail to distribution list

    HI guys, Please look at the coding below.. l_wa_recieve-receiver = '[email protected]'. " this is the distribution list id "with number of mail ids inside it     l_wa_recieve-rec_type = 'C'.  "shared dis list     APPEND l_wa_recieve TO l_it_recieve.

  • IDoc types supported by ECC 6

    Hi Friends, Could you please let me know what are all IDoc types are supported by ECC 6.0? Any documents or link would be more helpful. Regards, Krish

  • An error has occurred. Further information is available in the server log.

    I been trying for days to access Secondlife.com but when i do i get this message''An error has occurred. Further information is available in the server log. '' now i can use Chorme and firefox to go to the site but not firefox plus fireofx is searchi

  • Refresh basic list Output

    Hi, I am displaying a BASIC LIST. I have to place a   u2018Refreshu2019 icon to refresh / re-execute the program from the output screen with the previously selected criteria. How can this be acheived?