Aligning elements to grid on top left corner

Hi everyone,
I often use the snap to grid which is nice to organize stuff.
However, I was wondering is it possible to align the elements
specifically to the top left corner of the grid, or top right corner etc..
Ted.

No.. that isn't what I meant.. what I meant is when you have snap to grid activated (It's hard to show it here but suppose that my table is a grid with equal sized squares) . I have an irregular text object A.. that aligns automatically to the top left of the grid squares.. I want it in the bottom right corner.
A
I later found out that it doesn't do it with text object.. but if I convert the text to outlines.. I can then align it to the bottom right corner of the grid squares.
Ted

Similar Messages

  • Getting the top left corner of a grid cell (math problem)

    I'm making a map editor for a tile based game. The editor makes a grid:
    private function drawGrid():void {
                var grid:Sprite = new Sprite();
                var tileSize:uint= 50;
                for(var i:int=0;i<row;i++)
                    grid.graphics.lineStyle(1,0x000000,0.3);
                    grid.graphics.moveTo(0, i*tileSize);
                    grid.graphics.lineTo(700, i*tileSize);
                for(var j:int=0;j<column;j++)
                    grid.graphics.lineStyle(1,0x000000,0.3);
                    grid.graphics.moveTo(j*tileSize, 0);
                    grid.graphics.lineTo(j*tileSize, 400);
                stage.addChild(grid);
    And when the user clicks anywhere in the screen a movieclip is added to stage. The movieclip (exported for actionscript as Tile) should be placed in the top left corner of the grid cell.
    private function placeTile(mouseX:int, mouseY:int, frame:uint):void {
                var tile:Tile = new Tile();
                tile.gotoAndStop(frame);
                tile.x = PROBLEM HERE
                tile.y = PROBLEM HERE
                stage.addChild(tile);
    How can I do that? I came up with an idea but it didn't work because I have a math problem.  Let's pretend that the user mouse is at position mouseX = 456:
    I could remove the hundreds and use the quotient 56 and check if it is above 50. If it is above 50 I would place it at x = 500 if not I would place it at x = 450. How can I remove the hundreds? Do you have a better idea?
    Message was edited by: wilsonsilva7 because unconsciously I pressed ctrl+s (to save) and the message was posted

    Thanks. I asked a friend and he told me about the %but I still had a problem. Your expression solved my problem
            private function placeTile(mouseX:int, mouseY:int, frame:uint):void {
                var tile:Tile = new Tile();
                tile.gotoAndStop(frame);
                tile.x = Math.floor(mouseX / tileSize) * tileSize;
                tile.y = Math.floor(mouseY / tileSize) * tileSize;
                stage.addChild(tile);
    That way every tile is centered every 50 pixels

  • Flash CS4: Top/left alignment is 8 px from top/left in browser??

    Hi there. another newbie to Flash. My vision is to have a colored square at the top of the site Im working on which should span across the entire browser window. I have created a square 1280 x 100 pixels in size and imported it to the stage, alignment is set to x=0, y=0 ad alignment. The scene is the same size as the square I 've imported. When I view my Flash creation its displayed 8 pixels from the top left corner of the browser window. The flash file only contains the square and nothing else. Please take a look at the 3 files I've attached: issue-scrreen1-3.jpg. The first 2 screens are my Flash, properties and library screen shots. The third screen shot is my browser window.
    Any help on this issue will be very much appreciated.

    Thanks a lot Ned. It worked!
    </script>
      <link href="header.css" rel="stylesheet" type="text/css">       // I HAVE ADDED THIS LINE! TO MY FLASH  GENERATED HTML
    </head>
    This does work until I regenerate/recompile/publish the header.html the next time.
    If I put the code in a seperate CSS file, can I then link it into the flash.fla file?

  • I have somehow added a link to my pictures, so each one has a " ? " in the top left corner. How do I

    I have somehow added a link to my pictures, so each one has a " ? " in the top left corner. How do I remove this link ?

    Hi,
    Thanks for your help. I will try that approach.
    Regards
    Colin
    Date: Tue, 22 Oct 2013 09:28:06 -0700
    From: [email protected]
    To: [email protected]
    Subject: I have somehow added a link to my pictures, so each one has a " ? " in the top left corner. How do I
        Re: I have somehow added a link to my pictures, so each one has a " ? " in the top left corner. How do I
        created by dj_paige in Photoshop Elements - View the full discussion
    It's not a link, its an icon that indicates the photo cannot be found in the location where PSE expects it. This happens because you either renamed, moved or deleted the photos outside of PSE. To fix the problem, use File->Reconnect (you will have to find the actual file in one of your folders), and in the future, no more moving, renaming or deleting photos outside of PSE; if you MUST rename or move photos, do so from within PSE.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5779318#5779318
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5779318#5779318
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5779318#5779318. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Photoshop Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Putting cross line under top left corner in a cheque through SAP SCRIPT.

    Hi,
    How to put cross line over top left corner in cheque   (cross cheque) while doing it through  SAP SCRIPT.
    Thanks.

    Hi,
    i can give you two solutions. try the thing which looks fine for you.
    1.  say this is line editor of the script.
    you have to design like this manually(its a bit time consuming for alignments and all - both should align side by side using '/')
    so try the second way.
    2.  make this 'corss' as an image and simply pass as a text on to the window on which you needs this.
    it will be simple and an easy way.
    Thanks & regards,
    Sasi Kanth.

  • My netflix app dosent have an X in the top left corner to close it what do i do?

    Im trying to watch netflix on my iphone 5s and its not letting me open it! It dosent open and then crash, it straight up wont open. I tried to delete it and uninstall it but theres no X in the top left corner of the app and i went to the app store to try to open it from there and it wont work there either! I called netflix and they dont know what to do :(

    Hi,
    Thanks for your help. I will try that approach.
    Regards
    Colin
    Date: Tue, 22 Oct 2013 09:28:06 -0700
    From: [email protected]
    To: [email protected]
    Subject: I have somehow added a link to my pictures, so each one has a " ? " in the top left corner. How do I
        Re: I have somehow added a link to my pictures, so each one has a " ? " in the top left corner. How do I
        created by dj_paige in Photoshop Elements - View the full discussion
    It's not a link, its an icon that indicates the photo cannot be found in the location where PSE expects it. This happens because you either renamed, moved or deleted the photos outside of PSE. To fix the problem, use File->Reconnect (you will have to find the actual file in one of your folders), and in the future, no more moving, renaming or deleting photos outside of PSE; if you MUST rename or move photos, do so from within PSE.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5779318#5779318
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5779318#5779318
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5779318#5779318. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Photoshop Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • HFM - Small marks in top left corner?

    What do these tiny smudge marks in the top left corner of a green data grid cell indicate?
    Thanks,
    Paul

    Hi Paul,
    That indicates Cell Text.
    Please refer to page number 69, in the below mentioned link.
    http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_user.pdf
    Hope this helps,
    Thank you,
    Charles Babu J

  • HT4993 my iphone4 says searching in the top left corner how do i get it to stop and get my service back?

    my iphone4 says searching in the top left corner and i can not make calls or get calls how do i fix it so i have my service back

    you can try a reset, hold down the home/sleep button until you see the apple logo and then release, then wait fro the phone to boot back up.
    if that doesn't work contact your cell provider

  • After I have reset my network settings to clear a previous problem, the top left corner just stays at 'searching' and doesn't display my service carriers name as usual.

    After doing the network reset on my iphone 4, the top left corner of the screen which usually displays my carriers name just keeps saying 'searching'. I have tried looking elsewhere at this site for a solution to my problems but I'm still coming up empty.
    Can someone help me PLEASE!

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • The green button, top left corner of a pop-up screen on MACbook, it's supposed to enlarge the pop-up to full MAC screen size, correct?  Mine does not.  Sometimes it makes the pop-up screen SMALLER.  Appreciate someone solving this for me.

    the green button, top left corner of a pop-up screen on MACbook, it's supposed to enlarge the pop-up to full MAC screen size, correct?  Mine does not.  Sometimes it makes the pop-up screen SMALLER.  Appreciate someone solving this for me.

    Are you talking about the green '+' button in the top left corner? That technically doesn't enlarge it. It switches the window from the default window size to the custom size you made. You can enlarge the window by moving your mouse to the bottom right corner of the window, and dragging until you get the size you want.
              MacBook

  • Whenever I reply to an e-mail the window comes up but without the paper airplane in the top left corner.  The only way to send the reply is to close it and save as a draft.  Then I can pull it up from Drafts and it has the airplane on it.

    Whenever I reply to an e-mail the window comes up but without the paper airplane in the top left corner.  The only way to send the reply is to close it and save as a draft.  Then I can pull it up from Drafts and it has the airplane on it.

    Launch Mail.
    Click "New Message" in the Toolbar.
    When the new message window opens up, click "View" menu in the menu bar.
    Select "Show Toolbar" from the dropdown.
    or
    Select "Customize Toolbar from the dropdown.
    When the Customize Toolbar sheet drops down, drag  "Send" button
    or  drag "default set" into the toolbar.
    Click "Done".

  • My MacBook Pro just turned itself off while installing Windows 7. It has now got a black screen with a white flashing bar in the top left corner...what can I do?

    I was just installing windows 7 onto my MacBook Pro. I selected to have 200GB for Windows and the rest leave for Mac.
    I clicked install and the bar filled up as it should do. However, once the install had completed, my MacBook turned itself off. I assumed this was normal. Now, my MacBook has a black screen with a white flashing underscore in the top left corner.
    What is wrong and what should I do?

    Hold down the Option key when starting up then on the sceen that comes up select Mac OS X to boot from.
    The Win 7 install didn't go well and is hung in some way. You should use boot camp assistant to remove the win partition and start over.
    Make sure you are using a Retail version of Win 7. A Branded OEM version, like ones from Dell and HP, will NOT work to install Windows 7 on your Mac.

  • How do I get the orange firefox button to show up on the top left corner of my page?

    So, I've installed, and reinstalled the new Firefox 4. It seems like only half the features have shown up. For example, I don't have the orange firefox button in the top left corner. I also don't have the button for bookmarks. On every other machine that I've installed firefox 4 on has not had issues like this. I don't know why I'm having issues on my laptop. If there's a way to fix it, I would appreciate it. I don't mind how it is right now, but I do like the cleaner look and the orange firefox button, instead of the buttons that show up now that are labeled: "File, Edit, View, History, Bookmarks, etc."

    * You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden (View > Toolbars > Customize or right-click a toolbar).
    * If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.

  • How do I get my Sony ebook Reader to show up ("be recognized") in the top left corner??

    How do I get my Sony ebook reader to show up ("be recognized") in the top left corner of the window.  It never shows up and I cannot transfer books from my Mac computer to ADE.  I am using Sony Reader Library but it is developing problems!!  Can anyone assist??

    No solution yet.  One would think that Adobe would recognize that several complaints  have been reported on this problem.  Obviously, nobody knows how to fix it!!  Sorry I can't be helpful!!

  • So I have an iPad 2 for two years. Has never been dropped or in water or damaged in any way....now the volume is distorted and I get booted off the web all the time. Plus it shows and no service in top left corner. Any one have these issues?

    So I got is iPad as a gift and the same issues I had with my iPhone 4S is also happening with my iPad. Will Apple cover the problem as it lies within there updates or something. All I know I have taken perfect care of both products and volume is distorted. Can't listen to music, I get booted off the web all the time, I can't even chat with Apple icare it won't work and no service shows on top left corner. What is wrong with Apple products? I'm thinking it's time to switch! I've had to change my iPhone twice now......first time for mic not working and then camera shutter kept sticking. Same on my iPad........ I don't want to pay to get this fixed as it's not my fault this is happening...... It's software apparently?

    This really is starting to feel like a hardware issue than a software one.
    Especially if hearing noises when you connecting up your iPad for charging.
    Something happened to your iPad that has nothing to do with a software update.
    This is why I recommend that
    I can't help you any farther.
    It sounds as if you really need to take this iPad in for a repair.
    Since you are reluctant to do this, there is nothing more I can suggest to you.
    Good Luck on whatever you decide to do.

Maybe you are looking for

  • Rich Text Editor functionality for a DIV tag in a publishing page in SharePoint online

    Hi, We are having a requirement where we need RTE behavior of SharePoint 2013 Rich Html Field for a custom DIV. The scenario goes like this: 1. I have a publishing page 2. I dropped the content editor web part and to that content editor web part I wi

  • Aperture 3.3 can't import iPhoto 8.1.2 library?

    I'm on iPhoto '09 (8.1.2) and want to upgrade to Aperture.  Aperture 3.3 seems to be missing the ability to import older iPhoto libraries which it looks like it used to be able to do in previous versions.  Is there some way for me to migrate to Apert

  • LMS 4.2 and WLC 5508

    Hi all, Recently I have replaced 2 4400 WLC by 5508 wlc's. I have also replaced both 4400 in LMS by those new 5508. They have the same ip's, so I have removed the old 4400's from LMS and created 2 new devices. When checking the device center, LMS tel

  • Multiple Series Cluster Barchart locks up HTMLDB_PUBLIC_USER DB sessions

    I am trying out cluster barcharts. I had a cluster barchart with two series. If I have no ORDER BY clause on the SELECT statements, the chart displays, but the bars are not clustered together correctly. I want all the bars from series #1 together and

  • Not showing up online on iChat from my iPhone

    I can send SMS texts to my friend, but I do not come up online on her Buddy List on iChat and it will not let her send an SMS text to me because it says "This person is not online." This has never happened before, and just started yesterday mid conve