Resize an Object via javascript

Resize an Object via javascript
How do I...
I want to select an object in my document, onscreen, (an image, or text) then run a script that will discern the object selected, and show a dialog box that will allow me to input a sizing percentage for that object (with anchor corner/center)(Press enter and object resizes).

No they don't.
Acrobat may be bundled with Creative Suite collections but the APIs has nothing in common other than the use of JavaScript. CS apps use the ExtendScript system, Acrobat has its own internal API and an SDK for inter-application control.
PDF is an end-destination format - the page content is not designed to be edited, so while there are tools in the user interface to allow touchups and corrections to page objects those features are not available for automation. The JavaScript engine does not have access to the low-level document structure, it can only see markup (comments and form elements) and a limited range of document properties.
bdmasha wrote:
They are all part of a suite of tools that share a common access to internal api's via scripting/programming languages.
InDesign is not Photoshop is not Illustrator, but they have much in common when accessing their api's that Acrobat does not allow--and Acrobat is part of that Adobe suite.
Thanks again.

Similar Messages

  • "New Smart Object via copy" via JavaScript?

    I'd like to know how to copy a smart object but, so every smart object is independent.
    I know you can copy layers via layer.duplicate() but that function just copies a instance of the object instead of creating a new object. So how would you do it?

    Install Scriptlisener Plugin and do menu layer>Smart Objects>New Smart Object via Copy
    javascript action manager code looks like this
    // =======================================================
    var idplacedLayerMakeCopy = stringIDToTypeID( "placedLayerMakeCopy" );
    executeAction( idplacedLayerMakeCopy, undefined, DialogModes.NO );
    Look quit a bit like Michael's above append one may execute faster the the other.

  • Transform reflect objects in illustrator via javascript

    Hi all,
    are there any way to transform > reflect Vertical axis in illustrator but via JavaScript not apple and i mean reflect not scale H or V
    thanks in advance.

    Hi Muhammad.eloc,
    you can try something like this:
    var totalMatrix = app.getScaleMatrix(-100,100);
    app.activeDocument.activeLayer.pathItems[0].transform(totalMatrix);
    e.g. for the first path item in the active layer
    Have fun

  • Printing a slide in Captivate 6 HTML5 output via javascript

    I have been googling for the past 3 work days trying to figure this out.
    I had some limited success with printing a div via javascript and pointing it at the slide div (I know it happens to be Slide16952).
    Which is fine, except it doesn't keep the CSS elements of the slide which is what makes it a pretty completion certificate.  Print widgets won't work because I have to publish to HTML5 and not flash (no, no choice in this).  I am struggling to get any javascript working.
    I have this right now which I just picked up as a generic to try and get me going
    function PrintElem(elem)
            Popup($('<div/>').append($(elem).clone()).html());
        function Popup(data)
            var mywindow;      
            mywindow = window.open('', 'mydiv','height=1280,width=720,scrollbars=no','');           
            mywindow.document.write('<html><head><title>my div</title>');
            mywindow.document.write('<style type="text/css" media="print,screen">.hideMe{display:none;}.NoPrintClass{display:none;}</style>');               
            mywindow.document.write('</head><body>');
            mywindow.document.write('drop down selected value in parent: '+mywindow.opener.document.getElementById('testSelect').options[mywindow.opener.document. getElementById('testSelect').selectedIndex].text+'<br/>');
            mywindow.document.write('contentStarts<br/>');
            mywindow.document.write('  using jquery:  '+data);
            mywindow.document.write(' using javascript: '+mywindow.opener.document.getElementById('mydiv').innerHTML);
            mywindow.document.write('<br/>contentEnds');
            mywindow.document.write('<br/>');                                    
            mywindow.document.write('</body></html>');       
            mywindow.document.focus();
            mywindow.document.close();     
            mywindow.print();            
            return true;
    I then point my print button at PrintElem('Slide16952') via a javascript window.
    obviously I haven't written this to fit my particular project yet, but the part I am having the most issue with is trying to get the captivate CSS stuff to come through.  mydiv should = Slide16952 I think.  The CSS form that captivate creates has several block visible elements, but I believe the one I am trying to make sure I get is .cp-shape in CPLibrary.css, but there could be others I want too and I am not sure which.
    has anyone had any luck getting a single slide printed in HTML?  window.print() only gets me like 95% of the slide and a loft of white space around it.

    function printPartofPage() {
        var DocumentContainer = document.getElementById('Slide16952');
        var WindowObject = window.open('', 'PrintWindow', 'width=1280,height=720,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=no') ;
        WindowObject.document.writeln('<!DOCTYPE html>');
        WindowObject.document.writeln('<html><head><title></title>');
        WindowObject.document.writeln('<link rel="stylesheet" type="text/css" href="assets/css/CPLibrary.css">');
        WindowObject.document.writeln('</head><body>');
        WindowObject.document.writeln('<body style="background-image:url(dr/CertBorder.png);">');
        WindowObject.document.writeln('<h1 style="text-align:center; top: 30px;">Certificate of Completion</h1>');
        WindowObject.document.writeln(DocumentContainer.innerHTML);
        WindowObject.document.writeln('<img src="dr/17170_271_44.png" style="position:absolute; left: 896px; top: 464px; width: 294px; height: 73px;"></img>');
        WindowObjext.document.writeln('<p style="text-decoration:overline; position:absolute; left: 908px; top: 494px;">Authorized Signature</p>');
        WindowObject.document.writeln('</body></html>');
        WindowObject.document.close();
        WindowObject.focus();
        //WindowObject.print();
        //WindowObject.close();
    latest code update.  Almost everything is working now.  I am going to get rid of the h1 line because I am going to redesign the certificate image and incorporate the Certificate of Completion part in the image file CertBorder.  I may also do that for the image (which is a signature) and the <p></p> portion, so that I am pulling all of that into the image template and aligning it where it needs to be and just grabbing the image.
    I have the WindowObject.print and .close commented out so I can get it all working.  Once I know it works I will uncomment those for final testing.
    This isn't a great solution, but it's the only one I can seem to make work at this point and it will be pretty transparent to the user once it's done.  So far it doesn't set off the pop-up blocker for me, but I am doing this all locally on my hard drive so I suspect that may become an issue once published.
    also, all credit where credit is due (here is where I got my baseline code ideas http://jsfiddle.net/Zmqzb/)

  • Access file applet function via javascript

    hi all
    when i want to have access to the method (which in fact read a file) of my applet class via javascript, a java error is raised: access denied
    BUT i have signed the related jar!
    when i want to access the method (which in fact read a file) of my applet class via the normal way (put a button into a frame and....) it works.
    are there more configurations to do or ....?
    Kind Regard Tom
    here is the code
    HTML file
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
         <head>
         <link type="text/css" rel="stylesheet" href="/css/style.css">
              <script type="text/javascript">
              function xclick() {
              alert( document.getElementById('applet').isFileOk());
              document.getElementById('fichier').value = document.getElementById('applet').isFileOk();
              //alert(document.portal.applet.isFileOk(path));
              function checkfile() {
                   //var fichiercacher = document.portal.fichier.value;
                   var fichiercacher = document.getElementById("fichier").value;
                   document.getElementById("fichiercacher").value = fichiercacher;
                   document.getElementById("fichiercacher").value = fichiercacher;
                   document.getElementById("chemin").value = fichiercacher;
                   alert("fichier cacher" + fichiercacher);
                   alert("chemin=" + document.getElementById("chemin").value);
              </script>
         </head>
         <body >
         <form name="portal" method="post" action="" >
    <p align="center" id="corps">
         <img border="0" src="ilias.bmp"><br>
         <applet id="applet2" code="NumberOfLine.class" archive="NumberOfLine.jar" width="150" height="109" >
              <param name="maxLines" value="50" />
              <param id="chemin" name="fichierparam" value="" />
              </applet>
              <applet id="applet" code="localfile.class" archive="localfile.jar" width="150" height="109" >
              <param name="maxLines" value="50" />
              <param id="chemin" name="fichierparam" value="" />
              </applet>
         <br>
                   <div id="divloading" ></div>
         <input type="hidden" name="fichiercacher" />
         <input type="file" name="fichier" onchange="checkfile()">
    <input type="button" value="click me" onClick=xclick() ; />
         </p>
         </form>
         </body>
         </html>
    Class NumberOfLine javascript way
    import java.applet.Applet;
    import java.awt.Button;
    import java.awt.Label;
    import java.io.*;
    public class NumberOfLine extends Applet {
    private boolean fileok = false;
    Label message = new Label("MAX line = 40 ");
    Button btnok = new Button("check file");
    int maxline = 40;
    public void init() {
         String sMaxLines = getParameter("maxLines");
         if ( sMaxLines != null ){
                   this.maxline = Integer.parseInt(sMaxLines);
                   System.out.println(this.maxline);
         public String isFileOk(String chemin) {
              File ffile = new File( chemin);
              try{
                   FileReader fr = new FileReader(ffile);
                   LineNumberReader ln = new LineNumberReader(fr);
              int count = 0;
              while (ln.readLine() != null) {
              count++;
              System.out.println("Total line no: " + count);
                   ln.close();
                   fileok = (count <= maxline);
              catch(IOException e){
                   e.printStackTrace();
                   System.out.println(e.toString());
              return fileok ? "ok" : "nok";
    CLass localfile Normal way
    import java.applet.*;
    import java.awt.*;
    import java.util.*;
    import java.lang.*;
    import java.text.*;
    import java.awt.event.*;
    import java.io.*;
    public class localfile extends Applet {
         public localfile() {
              Panel p = new Panel();
              Font f;
              String osname = System.getProperty("os.name","");
              if (!osname.startsWith("Windows")) {
                   f = new Font("Arial",Font.BOLD,10);
              } else {
                   f = new Font("Verdana",Font.BOLD,12);
              p.setFont(f);
              p.add(new Button("Open"));
              p.add(new Button("other"));
              p.setBackground(new Color(255, 255, 255));
         p.setSize(800, 800);
              add(p);
              setSize(800, 800);
              setVisible(true);
         public String isFileOk(){
                   System.out.println("OPEN CLICKED");
                   int arrlen = 10000;
                   byte[] infile = new byte[arrlen];
                   Frame parent = new Frame();
                   FileDialog fd = new FileDialog(parent, "Please choose a file:",
                   FileDialog.LOAD);
                   fd.show();
                   String selectedItem = fd.getFile();
                   if (selectedItem == null) {
                        // no file selected
                   } else {
                        if ((fd.getFile()).endsWith("txt") || (fd.getFile()).endsWith("text")){
                             File ffile = new File( fd.getDirectory() + File.separator +
                             fd.getFile());
                             // read the file
                             System.out.println("reading file " + fd.getDirectory() +
                             File.separator + fd.getFile() );
                             try {
                                  FileInputStream fis = new FileInputStream(ffile);
                                  BufferedInputStream bis = new BufferedInputStream(fis);
                                  DataInputStream dis = new DataInputStream(bis);
                                  try {
                                       int filelength = dis.read(infile);
                                       String filestring = new String(infile, 0,
                                       filelength);
                                       System.out.println("FILE LENGTH=" + filelength);
                                       System.out.println("FILE CONTENT=" + filestring);
                                  } catch(IOException iox) {
                                       System.out.println("File read error...");
                                       iox.printStackTrace();
                             } catch (FileNotFoundException fnf) {
                                  System.out.println("File not found...");
                                  fnf.printStackTrace();
                        } else {System.out.println("Error this is not a txt file"); }
              return "turc";
         public boolean action(Event evt, Object arg) {
              if (arg.equals("Open")) {
                   System.out.println("OPEN CLICKED");
                   int arrlen = 10000;
                   byte[] infile = new byte[arrlen];
                   Frame parent = new Frame();
                   FileDialog fd = new FileDialog(parent, "Please choose a file:",
                   FileDialog.LOAD);
                   fd.show();
                   String selectedItem = fd.getFile();
                   if (selectedItem == null) {
                        // no file selected
                   } else {
                        if ((fd.getFile()).endsWith("txt") || (fd.getFile()).endsWith("text")){
                             File ffile = new File( fd.getDirectory() + File.separator +
                             fd.getFile());
                             // read the file
                             System.out.println("reading file " + fd.getDirectory() +
                             File.separator + fd.getFile() );
                             try {
                                  FileInputStream fis = new FileInputStream(ffile);
                                  BufferedInputStream bis = new BufferedInputStream(fis);
                                  DataInputStream dis = new DataInputStream(bis);
                                  try {
                                       int filelength = dis.read(infile);
                                       String filestring = new String(infile, 0,
                                       filelength);
                                       System.out.println("FILE LENGTH=" + filelength);
                                       System.out.println("FILE CONTENT=" + filestring);
                                  } catch(IOException iox) {
                                       System.out.println("File read error...");
                                       iox.printStackTrace();
                             } catch (FileNotFoundException fnf) {
                                  System.out.println("File not found...");
                                  fnf.printStackTrace();
                        } else {System.out.println("Error this is not a txt file"); }
              } else return false;
              return true;
    }

    Thx you were a great due to my big lak of java skills.
    i found the solutions and for those who are interrested here is the code:
    public String isFileOk(final String filepath){
              System.out.println("OPEN file=" + filepath);
              int arrlen = 10000;
              byte[] infile = new byte[arrlen];
                        try {
                   FileInputStream fis = (FileInputStream) AccessController.doPrivileged(
                   new PrivilegedExceptionAction() {
                   public Object run() throws FileNotFoundException {
                   return new FileInputStream(filepath);
                             BufferedInputStream bis = new BufferedInputStream(fis);
                             DataInputStream dis = new DataInputStream(bis);
                             try {
                                  int filelength = dis.read(infile);
                                  String filestring = new String(infile, 0,
                                  filelength);
                                  System.out.println("FILE LENGTH=" + filelength);
                                  System.out.println("FILE CONTENT=" + filestring);
                             } catch(IOException iox) {
                                  System.out.println("File read error...");
                                  iox.printStackTrace();
                             } finally {
                                  try {
                                       fis.close();
                                  } catch(IOException ioe) {
                                       //oops
                   } catch (PrivilegedActionException e) {
                   // e.getException() should be an instance of FileNotFoundException,
                   // as only "checked" exceptions will be "wrapped" in a
                   // PrivilegedActionException.
                   //throw (FileNotFoundException) e.getException();
                        e.printStackTrace();
                        return "nok";
                   return "ok";
         }

  • Manipulating a cubequery via javascript

    Hi all,
    I'm trying to manipulate a cubequery section via javascript within an interactive reporting document (version 11.1.1.2).
    Docs are quite terse and I wasn't able to find an Object Model Map, the snippets of code are one line long and quite useless as a guide.
    I have a cube with a Scenario dimension with 2006,2007 etc as children.
    I can add Scenario to rows or columns of the query, but I have not found the right instruction to add a single children of the top level member to rows or columns.
    Has anyone a working piece of code or, even better, a detailed description of the CubeQuery object (and of his components)?
    TIA & best wishes
    Gianluca

    SOLVED
    to add 3 members from the scenario dimension in the columns of the cubequery you can use:
    ActiveDocument.Sections["Q personalizzata"].Columns.RemoveAll();
    ActiveDocument.Sections["Q personalizzata"].Columns.Add("Scenario");
    ActiveDocument.Sections["Q personalizzata"].Columns["Scenario"].FindAndAdd("2006",1,true,true);
    ActiveDocument.Sections["Q personalizzata"].Columns["Scenario"].FindAndAdd("2007",1,true,true);
    ActiveDocument.Sections["Q personalizzata"].Columns["Scenario"].FindAndAdd("2008",1,true,true);
    ActiveDocument.Sections["Q personalizzata"].Columns["Scenario"].MemberSelectors["Scenario"].DisableSelection = true;
    for the rows substitutes Columns with Rows
    2006,2007 and 2008 are children of Scenario
    apparently the top level member of the dimension has to be always present in the QueryLabel, but can be disabled if you don't need it in the results
    BTW the second parameter in the FindAndAdd method could be substituted by the constant bqOlapMemberSelector, unfortunately if you use the constant instead of the value 1, you get an error message stating that the constant is not defined
    Gianluca

  • Passing complex object from JavaScript to Flex

    Is it possible to call a Flex function (defined with ExternalInterface.addCallback) and pass a complex object from Javascript?  The properties of the object are all simple types, but the object itself is an array of objects.  For example:
    <script type="text/javascript">
    var arrayOfObj = [ { one: "one", two: 2, three: "blah" }, { one: "xyz", two: "abc", three: 3.141 } ];
    callSomeFunctionInFlex(arrayOfObj);
    </script>
    What would I do on the Flex side to make this happen?

    Complex object passing works as expected in Blazeds. 
    There are certain cases where you need to write custom bean proxy classes to marshall an object, but your case is very simple and will not require it.
    Make sure that you set the full java package and class name in your remote alias statement on your client value object.  The class has to be fully qualified.  The AS value object also needs the correct import of the nested value object or you will get a compile error.
    Make sure that the blazeds server has the full class path set to your java objects.
    To debug, you can turn on Blazeds logging in the services-config.xml file like this:
       <logging>
            <!-- You may also use flex.messaging.log.ServletLogTarget -->
            <target class="flex.messaging.log.ConsoleTarget" level="DEBUG">
                <properties>
                    <prefix>[BlazeDS]</prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>true</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
            </target>
        </logging>

  • How to get elements in a multi-value field via javascript?

    The following will set variables.variable1 to variables.variable2 when the "Script Link" component is clicked...
    <Field>
    <Display class='Javascript'>
    <String>
    function myScript() {
    el=getElement(document.mainform,"variables.variable1");
    el2=getElement(document.mainform,"variables.variable2");
    el.value=el2.value;
    </String>
    </Display>
    </Field>
    <Field name='Script Link'>
    <Display class='Link'>
    <Property name='URL'>
    <String>javascript:myScript();submitCommand(document.mainform,%20'Recalculate');</String>
    </Property>
    </Display>
    </Field>
    My issue is, if variables.variabl2 is a list / multivalued, i get errors trying to traverse through the "array".
    How can i read and set an a list element via javascript function above? I've tried things like get() , and variables.variable2[0] .
    any help would be appreciated....
    is there an API somewhere i can reference?

    Hi,
    thanks for your reply!
    If I have the parameters in the URL and use the method GET it works all right.
    but I need the method to be POST. I suppose, I have the wrong way identifying the parameter name
    This is from VB
    varTarget = "http://localhost:9090/gm/getData" ' getData is my servlet
    xmlSendStr = "SQLStmt=SELECT TCPD_Cars.* From TCPD_Cars WHERE (((TCPD_Cars.CarIdent)=45));"
        xmlHttp.Open "POST", varTarget, True   'True means asynchronous
        xmlHttp.Send xmlSendStrthis is part of my Servlet
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter writer  = response.getWriter();
              String SQLStmt = request.getParameter("SQLStmt") ;
            //make the database query and get the returns
            writer.println(GetSQLData(SQLStmt));
            //close the write
            writer.close();                    
         }I would appreciate any suggestions

  • Best practice "changing several related objects via BDT" (Business Data Toolset) / Mehrere verbundene Objekte per BDT ändern

    Hallo,
    I want to start a
    discussion, to find a best practice method to change several related master
    data objects via BDT. At the moment we are faced with miscellaneous requirements,
    where we have a master data object which uses BDT framework for maintenance (in
    our case an insured objects). While changing or creating the insured objects a
    several related objects e.g. Business Partner should also be changed or
    created. So am searching for a best practices approach how to implement such a
    solution.
    One Idea was to so call a
    report via SUBMIT AND RETURN in Event DSAVC or DSAVE. Unfortunately this implementation
    method has only poor options to handle errors. Second it is also hard to keep LUW
    together.
    Another idea is to call an additional
    BDT instance in the DCHCK-event via FM BDT_INSTANCE_SELECT and the parameters
    iv_xpush_classic = ‘X’ and iv_xpop_classic = ‘X’. At this time we didn’t get
    this solution working correctly, because there is always something missing
    (e.g. global memory is not transferred correctly between the two BDT instances).
    So hopefully you can report
    about your implementations to find a best practice approach for facing such
    requirements.
    Hallo
    ich möchte an der Stelle eine Diskussion starten um einen Best Practice
    Ansatz zu finden, der eine BDT Implementierung/Erweiterung beschreibt, bei der
    verschiedene abhängige BDT-Objekte geändert werden. Momentan treffen bei uns
    mehrere Anforderungen an, bei deinen Änderungen eines BDT Objektes an ein
    anderes BDT Objekte vererbt werden sollen. Sprich es sollen weitere Objekte geänderte
    werden, wenn ein Objekt (in unserem Fall ein Versicherungsvertrag) angelegt
    oder geändert wird (zum Beispiel ein Geschäftspartner)
    Die erste unserer Ideen war es, im Zeitpunkt DSAVC oder DSAVE einen
    Report per SUBMIT AND RETURN aufzurufen. Dieser sollte dann die abhängigen Änderungen
    durchführen. Allerdings gibt es hier Probleme mit der Fehlerbehandlung, da
    diese asynchrone stattfinden muss. Weiterhin ist es auch schwer die Konsistenz der
    LUW zu garantieren.
    Ein anderer Ansatz den wir verfolgt hatten, war im Zeitpunkt
    DCHCK per FuBA BDT_INSTANCE_SELECT und den Parameter iv_xpush_classic = ‘X’ and
    iv_xpop_classic = ‘X’ eine neue BDT Instanz zu erzeugen. Leider konnten wir diese
    Lösung nicht endgültig zum Laufen bekommen, da es immer Probleme beim
    Übertragen der globalen Speicher der einzelnen BDT Instanzen gab.
    Ich hoffe Ihr könnt hier eure Implementierungen kurz beschreiben, dass wir
    eine Best Practice Ansatz für das Thema finden können
    BR/VG
    Dominik

  • CS3 New smart object via copy not working

    1. I open an image in Photoshop CS3 from camera raw (CR) as a smart object.
    2. I right click on the layer and choose "new smart object via copy."
    3. I double click on the thumb nail to open the image in CR.
    4. I make new edits on the image in CR.
    5. I click OK.
    6. In CS3 both the new layer and the original layer show the edits done in # 4.
    I uninstalled and reinstalled CS# to no avail.
    I am running CS3 on a Win Vista 64 bit.
    If anyone can make a suggestion, I thank you in advance.
    JB

    I should say I am trying to learn this software and stumbling through Mr. Kelby's 7 Point System book.
    I found my error.  I was highllighting the layers not clicking the eye icons off and on.
    Thanks for all who look.
    JB

  • [CS2] [JS] Resize anchored object...

    Good morning:
    I need help figuring out how to resize different objects that are anchored in text. They do have a script label on them.
    For example I have an inline text box with the script label "gadget" that needs to be resized from 1 inch to 2 inches.
    Is there away to do this by way of a script?
    Thanks in advance!
    Theresa

    Hi Teresa,
    This is a very basic example: it adds 1 inch to the width and height of the inline text frame with "gadget" label (I assume that it may occur only once in each story and measurements are set to inches). I wrote this on CS3 — don't have CS2 any more.
    var myDoc = app.activeDocument;
    var myStories = myDoc.stories;
    for (i = 0; i < myStories.length; i++) {
        var myTextFrame = myStories[i].textFrames.item("gadget");
            if (myTextFrame != null) {
            var myGb = myTextFrame.geometricBounds;
            var myNewGb = [myGb[0], myGb[1], myGb[2]+1, myGb[3]+1];
            myTextFrame.geometricBounds = myNewGb;
    Kasyan

  • Resizing selected objects

    Ok, so I am trying to write a script that resizes an object that is selected. I have two objects selected, the one on top is a group item, the one below it is a rectangle. I am trying to resize the rectangle to the size of the group item on top of it with a little margin around it. Here is what I have so far.
    var design = app.activeDocument.selection[0];
         var top=design.visibleBounds[1]+5*2; 
         var left=design.visibleBounds[0]-5*2; 
         var width=design.visibleBounds[2]-design.visibleBounds[0]+10*2;
         var height=design.visibleBounds[1]-design.visibleBounds[3]+10*2;
    var background = app.activeDocument.selection[1];
    background.position = (top, left, width, height);
    The problem is the last line there. I'm not sure how to manipulate the position/size of the selected object or if it is even possible I have searched for it and haven not found an answer. Thanks in advance!

    position property expects an Array, with x and y values, in that order. As for the width and height properties, use them in separate statements
    background.position = [left, top];
    background.width = width;
    background.height = height;

  • Error in sending object via a JMS..

    The JMS is giving me error when i am sending an object via a sender...i am using point to point,...and Weblogic server....
    the whole thing of object sending works when i run it in two different consoles...i
    but when i move to webworld....i e tomcat it shows me the following exception.....
    weblogic.jms.common.JMSException: Error deserializing object
    at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:144)
    at intertec.jms.ObjectReceiver1.onMessage(ObjectReceiver1.java:64)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.Kernel.execute(Kernel.java:336)
    at weblogic.kernel.Kernel.execute(Kernel.java:360)
    at weblogic.kernel.Kernel.execute(Kernel.java:348)
    at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:2392)
    at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2919)
    at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:609)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:128)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:312)
    at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: java.lang.ClassNotFoundException: intertec.beans.Emp
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:891)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at weblogic.jms.common.ObjectMessageImpl$ObjectInputStream2.resolveClass(ObjectMessageImpl.java:305)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at java.util.Hashtable.readObject(Hashtable.java:841)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:130)
    ... 21 more
    thanks in advance....
    regards
    ullas

    You are missing a class:
    Caused by: java.lang.ClassNotFoundException: intertec.beans.Emp

  • Smart Guides, Constrain Proportions and Resizing an Object.

    When I have Smart Guides on and I'm trying to resize an object while holding shift (to constrain) Indesign seems to ignore the shift key. Usually when there's other objects in close proximity, or just closely aligned, vertically or horizontally. The image I posted is a good example. Trying to resize the bracket object while near all those other objects results in a lot of skipping around, and constrain not working. You can see in the image the outline is not constrained, even though I'm holding the shift key. It just wants to jump to those Smart Guides regardless of what I'm trying to tell it to do.
    This isn't much of an issue, but basically I'm wondering if this is a bug, or if the Smart Guides, just take priority. It's bit annoying turning smart guides on and off constantly to accomodate this odd behavior. Does anyone have any insight on this?

    Hi,
    I'm on a Mac Snow Leopard/CS5, and there actually is an update I haven't installed yet. I'm on 7.0.3, so I'll try that out.
    If it is a bug it's certainly not the end of the world, but I was curious if anyone else had been dealing with it as well. I love the Smart Guides, except for that.

  • Firefox 3.6 crashes or hangs when setting an iframe src to a pdf via javascript. 3.5 works fine

    Firefox hangs or crashes when setting iframe src to a pdf via javascript. Works fine in all previous versions of Firefox. This is using the most recent version of Adobe Reader 9.
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3.6

    More info:
    Seems to be the same issue as this
    [http://support.mozilla.com/en-US/forum/1/585926#threadId622326]
    and this
    [http://support.mozilla.com/en-US/forum/1/585926?forumId=1&comments_threshold=0&comments_parentId=585926&comments_offset=20&comments_per_page=20&thread_style=commentStyle_plain#threadId659555]

Maybe you are looking for

  • How to reset admin password osx 10.9.5

    need to reset my password for mac book pro can't find a hint...

  • Matrox MXO2 Mini & FCP

    I posted this in Creative Cow as well. I thought I'd see if anyone here had some ideas... I just got a MXO2 Mini and I have what I'm sure is a stupid question that's been asked and answered 100 times, but I can't find the answer. I've connected Mini

  • Error trying to update samples

    The preview download instructions recommend updating the SDK. I am following those instructions have received this error when runing the LiveCycle_ES_SDK\samples\SamplesConfig\bin and run runUninstallSamples.bat Error log >> java.lang.NoClassDefFound

  • Delivery split due to conflicting header data

    hi experts, we have implemented CRM services with R/3 as back end system. when ever a service order in crm with more than one  material in line items get replicated to r/3 as sales  order .during delivery we are getting the following error. *Item 000

  • Tethered shooting support

    Does Adobe plan to offer tethered shooting support for Nikon D800 & Canon 5d Mk 3 in PS Lightroom 4?