Alignment tool - how to set reference object?

I am new to Flash but have used Illustrator and InDesign for years. I am wondering if someone can explain how to set the reference object by which all other objects are aligned; e.g. Illustrator ->select all objects then a second click on the reference object and all other objects take their cue.
InDesign you lock the reference object and that determines the rest.
In Flash it seems that either both objects move or the one that I wish to remain in position jumps rather than the other way around.
Thanks

I don't know if you can set a reference object in Flash.  I have always just followed the general rule of aligning into the direction where the alignment basis would not move... meaning if I am aligning to the left, then the leftmost item I would select would be the reference, and if need be I would move other objects to the right of it first.

Similar Messages

  • How to set a object value bound to a session to JavaScript variable

    In a JSP, I store an object value in a HttpSession and I also write a Javascript function to display something on the screen. I need to use the Javascript function to display the object value which is stored in the session. How to set the object value to variable of the JavaScript function. Thanks.

    I write a class JavaScriptHelper to convert the object value to variable of the JavaScript;
    1.get the data to a javabean from database;
    2.convert the data to variable of the JavaScript as a String ;
    3.store the object in a HttpSession or Httprequest ;
    4.use in Jsp get the String (variable of the JavaScript )
    YourBean bean = (YourBean) request.getAttribute("model");
         if (bean != null) out.println(bean .getJsCode())
    convert function,(this is only for the matrix):
    public static String formatJsCode(Vector vector) {
    String sJsCode = "";
    //get js head
    sJsCode = getJsHeader();
    //define js array;
    sJsCode += "var data=new Array();\n";
    Vector v = null;
    String sTemp = "", sLine = "";
    for (int i = 0; i < vector.size(); i++) {
    v = (Vector) vector.get(i);
    sLine = "";
    for (int j = 0; j < v.size(); j++) {
    sTemp = (String) v.get(j);
    //replace " to \"
    sTemp = sTemp.replaceAll("\"", "\\\\\\\"");
    //escape Html Tag
    //sTemp = StringUtil.escapeHTMLTags(sTemp);
    //replace \r\n to <br>
    sTemp = sTemp.replaceAll("\r\n", "<br>");
    if (j != 0)
    sLine += ",";
    sLine += "\"" + sTemp + "\"";
    sJsCode += "data[" + i + "]=new Array(" + sLine + ");\n";
    //get js foot
    sJsCode += getJsFooter();
    return sJsCode;
    public static String getJsHeader(){
    return "<script language=\"JavaScript\">";
    public static String getJsFooter(){
    return "</script>";
    }

  • How to set a Object value by JDI

    How to set a Object value using JDI?
    For example:
    class User{
      private String name;
      private String id;
    set and get method;
    public static void main(String[] args) throws Exception {
            VirtualMachineManager vmm = Bootstrap.virtualMachineManager();
            List<AttachingConnector> connectors = vmm.attachingConnectors();
            SocketAttachingConnector sac = null;
            for (AttachingConnector ac : connectors) {
                if (ac instanceof SocketAttachingConnector) {
                    sac = (SocketAttachingConnector) ac;
                    break;
            if (sac == null) {
                System.out.println("JDI error");
                return;
            Map<String, Connector.Argument> arguments = sac.defaultArguments();
            Connector.Argument hostArg = arguments.get("hostname");
            Connector.Argument portArg = arguments.get("port");
            hostArg.setValue(HOST);
            portArg.setValue(String.valueOf(PORT));
            vmMachine = sac.attach(arguments);
            List<ReferenceType> classesByName = vmMachine.classesByName(CLSNAME);
            if (classesByName == null || classesByName.size() == 0) {
                System.out.println("No class found");
                return;
            ReferenceType rt = classesByName.get(0);
            List<Method> methodsByName = rt.methodsByName(METHODNAME);
            if (methodsByName == null || methodsByName.size() == 0) {
                System.out.println("No method found");
                return;
            Method method = methodsByName.get(0);
    I will connect to server and monitor the remote server JVM , There is a object of User, I want to change its value by the Java Debugger Interface by client.
    so how to set its value by the client, and I can not got the User bean at client.
    I know the basic type filed value changed as follows:
    Value newValue = vmMachine.mirrorOf("change var value");// this field is a string.
    stackFrame.thisObject().setValue(field, newValue);
    But a Object , how can I change its value.
    Thanks Advanced.

    ObjectReference.setValue() is the method for chaining the value of an Object's field. First you need to find the specific Object you want to change, though.
    /Staffan

  • IMG Setting for Fleet Management - Set Reference Object for Vehicles

    On other SAP 4.7 systems I have been able to access in the IMG "Set Reference Object Screen for Vehicles" under the "Settings for Fleet Management".  I am currently working in a system that doesn't have that option in the IMG.  What do I have to do to get this menu in the IMG?

    Hi,
    All the extra features provided by business functions in PLM are documented in note [1389108|https://service.sap.com/sap/support/notes/1389108]. See the pdf attachment in that note.
    -Paul

  • How to set Principal object?

    Hello,
    I have two web applications. The "app1" is the one we are developing and retrieving the Principal object. The "app2" is a black box web application which we have no way to modify. We can only add parameters in web.xml. The business flow is that once the Principal object is retrieved in "app1", the "app1" calls "app2". The "app2" is looking for User_Principal object. The document says "USER_PRINCIPAL = (The user name is retrieved from a call to getUserPrincipal().getName() on the HttpServletRequest object for the current request in a servlet or JSP)". If I understand this correctly, the "app2" is going to look for "HttpServletRequest". How can the "app1" set Principal object so that "app2" can retrieve it from "HttpServletRequest"? As far as I know there is not "setUserPrincipal()" method in "HttpServletRequest". So the app1 cannot use "HttpServletRequest".
    Thanks in advance,
    Mustafa

    The UserPrinciple is set by the server after the user has been successfully authenticated. You should force the user to login to the second application using the <security-constrain> entry in web.xml. If your user has already been authenticated in your first application than make sure that you have the Realm the user is authenticated to available for both web apps.

  • How to set  an object in request scope in  a jsp uysing  jstl

    I usally use scriptlet in jsp to set an object in request is
    there a way to do this using jstl
    instead of this
    <%request.setAttribute("test",myObject);%> I want to use tag ?

    The <c:set> tag should be useful...
    Of course if you can access it as a JSTL variable it IS already an attribute in scope.

  • Rounded Rectangle Tool - how to set default corners?

    This has been bugging me for ages, time to get an answer!
    How can you set the rounded corners to a default value? I know that while manually creating a mask, using the arrow keys I can increase/decrease the size of the corners. I was hoping that this last setting would be remembered so, with a layer selected, I could double-click on the Rounded Rectangle Tool and it creates a mask with rounded corners at the last setting.
    Doesn't happen. Any ideas?
    Also, while I have your ear, how do I hide a mask in the Layer Viewer in CS6? I'm sure there was an icon for it in previous verions and neither the Hide Edges keyboard shortcuts or the mask button in the Composition window has any effect.

    Cheers Mylenium. I seem to remember in past versions of AE we got a little button in the Layers window the same as in the Composition window that toggles the mask edges (not the mask) on and off:
    I just want to hide the mask edges regardless of the popup selection. Think I'm going bonkers as I'm sure it used to be there and I can't be the only one that found it useful!!

  • How to set default object placement & wrap for drag-and-dropped files

    I am working on a document into which I need to drag-and-drop a number of files from the Finder: JPGs, PDFs, and so on. Each time I drag a file into Pages, by default its placement is set as "Floating (doesn't move with text)" and "Object causes wrap" is active.
    I would much prefer that the default settings be "inline" and "object does not cause wrap," so my drag-and-dropped images will appear within the text and move with it.
    Is there a way to change this default setting?

    Niel's suggestion is good. You might also try posting your question in the Tiger Server forums. I'm sure Tiger Server has several ways of dealing with this.

  • How to set Link object type to grid column??

    Hello friends ,
                    I m using C# language. I want to set LinkedObjectType to the grid columns.So how can I set the Linked Obj type to the grid column?
    Reguards ,
      Mithun

    Hi,
    it should look like this.
    oGrid.Columns.Item(ColUID).Type = BoGridColumnType.gct_EditText;
    EditTextColumn col = (EditTextColumn)oGrid.Columns.Item(ColUID);
    col.LinkedObjectType = "2"; // Link to BusinessPartner
    lgDavid

  • How to set an object to 100% width now that Muse no longer has the button?

    I'm trying to set a slideshow to 100% width like the tutorials constantly talk about, but that is no longer possible in the latest version of Muse. The button is gone. So how do you do it? And why did Adobe remove the 100% width button? They seemed proud of it when it was released as a new feature.

    Hi,
    The 100% width option is available for the slideshow widget. But to use it in your slideshow, make sure you have selected the "Hero Image" of the slideshow and then click on the button of the 100% width option.
    Please refer to this screenshot :- http://prntscr.com/567j41
    Hope this helps
    Regards,
    Rohit Nair

  • How to set an object in attribute using tags

    Hello.
    I know you can do this <% request.setAttribute("someName", Object); %>
    But i am wondering if there is a jsp , jstl tag which can do the same thing? Also where I can give the scope.
    I would like to do something like this <jsp:someTag name="someName" value=${variable} scope="request" />
    Thanks in advance.

    I think you can use
    <c:set var="articleList" value="${advertises}" scope="session" />But this doesnt work. Any ideas?

  • How to set tool tips for graphic objects.

    Hi
    i have a code like this
    here dst is graphic object but i casted ti Graphic2D object because i have to set back ground color.
    Graphics2D lGraphic = (Graphics2D) dst;
    lGraphic.setBackground(Color.RED);
    lGraphic.clearRect((int) lx, (int) ly, (int) lw + 1, (int) lh + 1);
    lGraphic.drawRect(0, 0, (int) lw, (int) lh);
    so now i want to set a tool tip for this lGraphic Object.
    can any body please post answer for this proble.
    if you will post in advance it will help me a lot.

    so now i want to set a tool tip for this lGraphic Object.Your concepts are all wrong. Read the API for java.awt.Graphics and try to understand that a Graphics object is akin to a paintbrush: it has methods to draw whatever is to be drawn. The painting is not the brush, the brush does the painting.
    To obtain a custom tooltip at certain locations within a JComponent, I think the easiest way is to override getToolTipText(MouseEvent me). The method can return null for locations where a tooltip is not to be shown.
    db

  • How can i reference a MIME object within a correspondence format through...

    how can i reference a MIME object within a correspondence format through TX oofo or se71?
    Hi, I need to put a MIME object within a correspondence's format that i've already done through Tx oofo. My problem is, that i don't know exactly how can i make the reference of that MIME object in the format? and What structure type do i have to use in order to make appear the MIME object in my correspondence's format? Does anybody can help me with this?   
    Regards    Hector

    Frank,
    I tried to find some examples/samples on how to create CollectionModel for a table component but not successful.
    Can you clarify the following ?
    1. "CollectionModel" is referenced only by af:table attributes "value", "selectedRowKeys" and "selectionListener".
    The rest of af:table attributes such as "rows", "fetchSize" used to reference the iterator binding in the binding container via the EL expression "#{bindings.VOIteratorBinding.xxx} .
    What should I replace that EL expression with?
    2. I heck out the bean method to create the CollectionModel as following, is it close to what you mean?
    public void initBusinessDataDashboardView() {
    OperationBinding operation = BeanUtils.getOperationBinding("getPanelBusinessData");
    Map params = operation.getParamsMap();
    Key panelKey = getPanelInfoView().getKey();
    params.put("panelKey", panelKey);
    params.put("maximizedView", false);
    panelView = (ViewObject)operation.execute();
    // Heck code to create CollectionModel
    RowSet rowSet = panelView.getRowSet();
    ArrayList rowList = new ArrayList();
    while (rowSet.hasNext()) {
    rowList.add(rowSet.next());
    model = new ChildPropertyTreeModel(rowList, null);
    // To be used to set up af:table value, selectRowKeys, selectionListener via EL expr #{backingBeanScope.MyBean.model.xxx}
    public CollectionModel getModel() {
    return model;
    Am I on the right track?
    Edited by: Pricilla on May 4, 2010 2:20 PM

  • How do you reference a Formular Object on a Crystal Report using Java

    Hi all,
    I am trying to reference an object on my report which contains a Formula field.
    I have read the following 2 threads, but they refer to textObjects:
    [How do you reference a textObject on a Crystal report using Java|Re: How do you reference a textObject on a Crystal report using Java?]
    [Changing the text of ITextObject programatically|Re: Changing the text of ITextObject programatically]
    But I cannot even get those to work. I can reference a object which refers to a database field but as soon as I try
    reference a textObject or reportObject I just get a NULL variable.
    Below is the code I am useing
    IReportObject dbField = reportClientDocument.getReportDefController().findObjectByName("BOB1");
    IReportObject textBob = reportClientDocument.getReportDefController().findObjectByName("BOB2");
    "BOB1" is the name of my DB field Object, and "BOB2" can be a Text box or a Formula item and I just get nothing.
    I have just tested it with a FieldHeadingObject and that returns a valid object, so clearly I am going about this the wrong way
    for objects I place on the reports which are not driven by the database items.
    Ultimately what I want to do is reference an object in the Report Footer which will contain the RecordCount of the number of
    records contained in the report, which I am them going to use to determine if the report holds data,
    if it does I will print it, else ignore it and move on the the next report. I am doing this so that I can at an extra filter to split
    a report up into groups and produce a sinlge PDF for each group instead of one massive PDF containing all the groups.
    So if someone has a solution to any of my problems I would be very greatful, and I dont mind being told Im an idiot and should
    rather do it another way, as long as you supply that other way
    Thanks for the help
    Darren
    Edited by: Darren Jackson on Dec 16, 2009 7:29 PM
    Forgot to add am using CR4Ev2 SP3

    Right I have made some headway.
    Firstly, Im an idiot. I was making changes and setting up test fields on my report, but then when running the app, I had it looking at
    the backup report, which would explain why all the new textbox fields were not being found.
    The stupiditity did force me to delve deep and work out a fair bit of how the reports work, so cant complain too much. BUT, I am still
    not able to return values of Formula fields and formulas extra. Could someone tell me if this is even possible. I get retrieve the formula field
    name, and properties but not its value once the report has been populated. Am I wasting my time?
    Well I will continue dismantling my reports till I find the answer, or someone points me in the right direction.
    If any one is interested this is the code I used to drill down to my text boxes:
    IReportObject recCount = reportClientDocument.getReportDefController().findObjectByName("TB1");
    ITextObject obj_RecCount = (ITextObject) recCount;
    System.out.println(obj_RecCount.getName());
    Paragraphs objP = obj_RecCount.getParagraphs();
    for (int i = 0; i < objP.size(); i++){
         ParagraphElements pE = objP.getParagraph(i).getParagraphElements();
         for (int j = 0;j < pE.size(); j++){
              IParagraphTextElement pEE = (ParagraphTextElement) pE.getParagraphElement(j);
              System.out.println(pEE.getText());
    Cheers

  • How to set H align of title for columnGroup

    Hi
    advancedTable has columnGroup and this columnGroup has two different columnGroups as child.
    The title of top columnGroup is located at left side however thoes of two children(columnGroup) are at center.
    I want to place the title of top columnGroup at center.
    Please advise how to set H align of columnGroup's title or show me any other ways.
    Thanks..
    Message was edited by:
    user604638

    The following assumes that you are using ICM with an IPIVR etc (not using CVP), as the answer is different for CVP
    What you are looking for is called "Ring no answer time".  It is set in the Agent Desk Setting List tool.
    Regards,
    Kevin

Maybe you are looking for

  • IMovies won't load into iDVD

    I'm running iDVD 6.0.3 on OS 10.4.9. On the right of my iDVD screen, it says Audio, Photo, Movies, and below this is a window with a folder that says Movies. This folder has a sub-folder named DivX Movies. So my first question is, how do I get my pro

  • New nano and Nike+

    Does the new Ipod Nano family (release 09/05/2007) work with the Nike+ Sport Kit ? I want to buy the old Ipod nano with 2 GB, but now I like to purchase the new 4 GB version of the nano

  • Why can't I register my name and password?

    I downloaded Foxfire today. Now I am having a problem trying to register my name and password for my account. When I downloaded Foxfire it had not asked me for any information. So what is the problem and how do i resolve it? I was on Google Chrome bu

  • Admin server not sending bootstrap servlet configuration to managed servers

    I am having a bit of strange issue. I have weblogic 8.1 SP5 domain in PROD. 14 managed servers in the domain When i start the managed serverA, sometimes it starts, sometimes it doesnt. By looking at admin server logs, i found the following. When the

  • To kno Delettion details

    Hi Experts           I have deleted some records from the standard tables,      can we know the details of deletion such as when and what  deletion carried out. Is there any table available.         Is it possible to know the details.Suggest me. Rega