Detecting upper left corner of an MC

how do you detect the upper left corner position of an
MC?

if you do a lot of size adjustments, make all your movieclips
with their registration point at their upper left. then no matter
what size changes you make, each movieclip's upper left will always
be its _x,_y property.

Similar Messages

  • Problem with windows shrinking vertically and becoming stuck in upper-left corner of screen.

    Does anyone else have problems with open windows shrinking vertically and becoming "pinned" to the top-left corner of the screen in OSX 10.9? They snap back to the upper-left if I try to move them. I have to Quit or Force Quit the apps and restart them.
    I have a Mac Mini, and I have it hooked up to a TV via HDMI. This only seems to happen when I switch the TV input source *from* the Mac Mini to, for example, DirecTV. When I switch the TV's input source *back* to the Mac Mini HDMI connection, all seems fine; except that some or all of the windows that were on the desktop have shrunken vertically, and they are "stuck" in the upper-left corner of the screen. When I try to move the windows out of the upper-left corner, they snap right back. Very weird.
    Everything else about the desktop and the Mac Mini appears just as I left it. The screen resolution hasn't changed - nothing like that. Although my first thought is perhaps the screen resolution is, briefly, changed to a lower resolution when the Mac Mini detects that its "monitor" connected via HDMI (in this case my TV) doesn't appear to be there because I have switched the input source of the TV. That's just a guess. And even if that's correct, I don't know how to fix it.
    Any help would be greatly appreciated.
    BTW, I don't remember this happening before I upgraded to OSX 10.9 Mavericks. I'm not 100%, but it seems like something I would have remembered. So the culprit could be 10.9, or it could be something else I have installed recently.
    Thank you to anyone that can answer this for me.

    same here:
    Overview: I've seen it occur with the symptoms described by the OP while running Xcode, almost exclusively  after waking my laptop from sleep mode.  It effects non-Apple apps as well, but sometimes differently-- the window(s) open in Eclipse Juno for instance will sometimes disappear entirely such that they are totally inaccessible.  As the OP noted the only way to clear the problem is to force quit the app and restart it (quite a hassle if you have multiple project windows open at once).  I run Juno on Win32 and debian Linux also and have never seen behavior like this, so given that the problem has been observed in Apple branded apps and the fact that it only started after I installed Mavericks I would also posit that it is a Mavericks bug.  That said, I do run a third-party app called WindowMagnet (v. 1.6 by CrowdCafe) that affects the window system, allowing Windows 7 Aero style window snapping; does anyone else having this problem use WindowMagnet?
    Steps to reproduce:  open Xcode, put the machine to sleep, wake the machine -- this bug will appear intermittently
    Expected results: windows should remain the same size/configuration they held prior to sleep
    Actual results: intermittently windows will be 'stuck' in the upper-left corner of the display or entirely invisible
    System info: mid 2012 macbook pro (OSX 10.9.1)

  • HT201269 Transferred from iPhone 3GS to 4. Backed up and restored, perfect. New phone is connected to our wireless but is still giving me the "no service" in the upper left corner. Help????

    Transferred from iPhone 3GS to 4. Backed up and restored smoothly. Still getting a "no service" message in the upper left corner of new phone. Help?.....

    Sounds like your iPhone was hacked to unlock and now updating locks back to the original carrier.
    Where did you get the iPhone?

  • How do I get rid of yahoo toolbar and get back my orange firefox button in the upper left corner of screen so I can use my stuff again?

    Yahoo toolbar suddenly imposed itself as my log on screen whenever I booted up my computer and clicked on Firefox. Now I can't get to my bookmarks even though it told me that if I activated the new bookmark system it would transfer my old ones. It didn't happen. The toolbar has no bar for typing in a www.http address. I cannot use it and don't want it. I am using Explorer just so I can access my bookmark address, but don't like Explorer. I want my old Firefox screen back that has the little orange button in the upper left corner of the screen. How can I get there? My computer use has been highly curtailed by this unrequested invasion!

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).<br />
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.<br />
    If the menu bar is hidden then press the F10 key or hold down the Alt key to make the menu bar appear.
    *https://support.mozilla.com/kb/Menu+bar+is+missing
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    *Open the Customize window via "View > Toolbars > Customize"
    *Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *If missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • I have these black boxes surrounding things, e.g., there is a black box around the red "close" button on the upper left corner of this page.  There is also an oblong black box

    Hi - I'm not only having trouble waking up my MBP from sleep and having to restart repeatedly which is a pain in itself, but now when it restarted, I have these black boxes surrounding things, e.g., there is a black box around the red "close" button on the upper left corner of this page.  There is also an oblong resizable black box sitting on top of anything.  The content changes depending on the actions I take.  Right now it says, "You are currently on a close button.  To click this button, which closes the current window, press Control-Option-Space."  Right now I'm open in Firefox, but it doesn't matter if only Finder is open, it's still there.  I've tried closing all my applications and restarting and I also reset the PRAM.  It won't go away.  It's probably something simple, but I don't know how to get rid of it.  Any suggestions are welcome.
    Thanks,
    Janet

    Thanks so much.  I saw this on "desktop strangeness" immediately after I posted and tried to retract my question.  It worked perfectly.  I'm not sure how VoiceOver got turned on unless something happened when I was trying to wake up the computer.  I open the lid and it flashes whatever is open and then the screen goes black and I can't wake it up.  Still looking for the resolution to this.

  • How to display a frame at the upper left corner of each screen?

    hi,
    below are 2 ways to display a frame at the upper left corner of each screen (i have 2 monitors).
    both work but the 2nd way is much slower. which, if any, of the 2 approaches is "more" correct?
    import java.awt.Canvas;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.DisplayMode;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.GraphicsConfiguration;
    import java.awt.GraphicsDevice;
    import java.awt.GraphicsEnvironment;
    import java.awt.Point;
    import java.awt.Rectangle;
    import java.awt.Toolkit;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    // the thing that matters in here is setting the frame's location: xCoord
    // is incremented in each iteration by the current screen's width and
    // is used to set the frame's x-coordinate.
    public static void main(String args[])
          GraphicsEnvironment gEnviron = GraphicsEnvironment.getLocalGraphicsEnvironment();
          GraphicsDevice[]    gDevices = gEnviron.getScreenDevices();
          Color colors[] = {Color.blue, Color.red};
          for(int i = 0, xCoord = 0; i < gDevices.length; i++)
             // set panel's size and frame's size to take up the whole screen
             DisplayMode didsplayMode = gDevices.getDisplayMode();
    int screenWidth = didsplayMode.getWidth();
    int screenHeight = didsplayMode.getHeight();
    JPanel panel = new JPanel();
    panel.setBackground(colors[i % colors.length]);
    JFrame frame = new JFrame();
    frame.setSize(new Dimension(screenWidth, screenHeight));
    frame.setContentPane(panel);
    frame.setUndecorated(true);
    // set location of frame.
    frame.setLocation(xCoord, 0);
    xCoord += screenWidth;
    frame.addMouseListener
    new MouseAdapter()
    public void mousePressed(MouseEvent event) {System.exit(1);}
    frame.setVisible(true);
    // this is a lot slower and may not be correct: it sets the frame's location by calling
    // getConfigurations() on each screen device but using only the 1st configuration
    // (it returns 6 on my computer) to get the bounds (for the frame's x-coord).
    // a screen device has 1 or more configuration objects but do all the objects
    // of the device report the same bounds? if the anwser is yes, then the code
    // is correct, but i'm not sure.
    public static void main1(String args[])
    GraphicsEnvironment gEnviron = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice[] gDevices = gEnviron.getScreenDevices();
    Color colors[] = {Color.blue, Color.red};
    for(int i = 0; i < gDevices.length; i++)
    // set panel's size and frame's size to take up the whole screen
    DisplayMode didsplayMode = gDevices[i].getDisplayMode();
    int screenWidth = didsplayMode.getWidth();
    int screenHeight = didsplayMode.getHeight();
    JPanel panel = new JPanel();
    panel.setBackground(colors[i % colors.length]);
    JFrame frame = new JFrame();
    frame.setSize(new Dimension(screenWidth, screenHeight));
    frame.setContentPane(panel);
    frame.setUndecorated(true);
    // set location of frame: getConfigurations() is very time consuming
    GraphicsConfiguration[] gConfig = gDevices[i].getConfigurations();
    // on my computer: gConfig.length == 6. using the 1st from each set of configs
    Rectangle gConfigBounds = gConfig[0].getBounds();
    frame.setLocation(gConfigBounds.x, gConfigBounds.y);
    frame.addMouseListener
    new MouseAdapter()
    public void mousePressed(MouseEvent event) {System.exit(1);}
    frame.setVisible(true);
    thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Darryl.Burke wrote:
    Blocked one abusive post.
    @flounder
    Please watch your language.
    dbDude - I just looked at your profile. WTF are you doing in India??

  • I used to have a +.- displayed in upper left corner to click and change text size. My sister used my computer and now I can no longer find this feature.

    I used to have a +.- displayed in upper left corner to click and change text size. My sister used my computer and now I can no longer find this feature

    Do you still have all toolbars visible (View > Toolbars)?
    Did you use an extension or the standard zoom buttons that you can find in the toolbar palette in the View > Toolbars > Customize window ?
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.

  • What's the RIGHT way to draw an image in the upper left corner?

    I have an NSView in a ScrollView and I'm trying to draw an image in it. The problem is that I want the upper left corner of the image locked to the upper left corner of the frame, instead of the lower left corner, which is what the View wants me to do. I will need to be able to zoom in and out, and rotate.
    currently, I have a kludge of a system where I calculate how much I have to translate my image based on the size of the image and the size of the window. In order to do this, I needed to create an extra view outside the scrollview, so that I could get the size of the window, not including decorations. Then I can calculate the size of the view based on the size of the image and the size of the window, and based on THAT, I can figure out where to translate the image to.
    My only other thought was to use the isFlipped: method, but that ends up reversing my image L-R which is bad.
    Is there another way I should be doing this?
    thanks.

    Ah, the problem is that the content view includes the control panel, and while I'm sure I can get access to the control panel, and find out it's size, and then calculate everything off that, it becomes messy, and my way is easier, and no more messy.
    And I never said this was HARD. I have already DONE it. It's just ugly, and I'm wondering if there is a better way to do it. Translating between coordinate systems is normal, but changing lower left to upper left origin is an artifact of the Mac's history with PDF and PS.
    If the way I'm doing it is the accepted normal way, then fine, just tell me that.

  • Where is the Firebox Button in upper left corner of Firefox 5?

    Just downloaded and installed Firefox 5. Don't see the Firefox Button in upper left corner of browser screen, as shown on the New Features page. Does this have to be enabled? My browser says it's up to date, but I can't see much difference in appearance between 4 and 5.

    Right-click a toolbar, untick "menu bar".

  • I am running Windows 7 Professional.  When I try to install Flashplayer, I get to step 3, and then the installation will not proceed any further.  A blank dialog box appears, with Adobe Flash Player Installer in the upper left corner.  I have tried to ins

    I am running Windows 7 Professional.  When I try to install Flashplayer, I get to step 3, and then the installaion will not proceed any further.  A blank dialog box appears, with Adobe Flash Player Installer in the upper left corner.  I have tried to install on Explorer, Firefox, and Chrome.  Nothing works. Please help.
    Thanks/ Scott

    1. Restart your computer to stop any Adobe process that is running.
    2. Click on the following Adobe  link. Go to the bottom where it says "Still having problems?". Click on the version of Flash Player for your browser.
    Installation problems | Flash Player | Windows

  • Illustrator CS 6 won't paste into a text box/paragraph of text, instead pastes a new line of text in the upper left corner of my document. How can I get it to paste into the selected paragraph or highlighted text like normal?

    I've done it a million times, I copy a selection of type...I select the type that I want to replace it with, and then I paste. Now, Illustrator will only paste the text as a "point text" (a single line) somewhere else on the artboard—it seems to always be the upper left corner of the art board.

    peg,
    In cases of sudden appearance of strangenesses, the list may be relevant, hopefully the easy part at the top.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How to replace the LabVIEW icon in the upper left corner of panels?

    Hi Gang,
    We're going to create an application that will go to customers.  We want to replace the LabVIEW icon in the upper left corner of panels with the company logo.  How do I replace that?
    All responses will be appreciated.
    Thanks in Advance,
    Roger
    Solved!
    Go to Solution.

    As rolfk said, edit the icon in the build specification.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Edit EXE Icon.png ‏36 KB

  • My "new improved" itunes seems to be missing some key components.  Where is the file button and the others in the upper left corner.

    There is no file or other things in the upper left corner.  Not even a place to upgrade in the future.  I talked to a guy in support today and I told him I was missing that stuff and he helped me navigate better but didn't really help me with the missing elements.  Like why is my phone listed under home share sometimes and othertimes it is not. 

    Right-click a toolbar, untick "menu bar".

  • How do I remove a blank 1"X1" blank spot in upper left corner of monitor display?

    How do I remove a blank 1"X1" spot in the upper left corner of monitor display?

    What version of Pages?
    What instructions? It sounds like you have got the wrong ones and are trying to delete a page in the Thumbnails, which will delete th entire section.
    If you have a blank page in a Word Processing template, it is because there is some text on it, even a return, tab, space or page break:
    Menu > View > Show Invisibles > backspace over whatever it is to get rid of it
    Peter

  • Since installing the new OS i am having troubles with different appliction icons showing up on my main page twice (upper left corner), and not allowng me to select certain ones (app store specifically).   Anyone else having this issue?

    Help - anyone else out there having trouble with the new OS system on their ipad 2?    I am not getting mutliple copies of several apps ont he main page.  They are "collecting: in a pike int he upper left corner and the original application icon is no lobger working.    I have tried a hard sync, and that didn't help.

    It should only be able to have one copy of an app on the iPad. Have you tried a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    Do all the apps work ? In the past a few people have taken a screen shot of their iPad screen and that has then become their background picture - so some of the 'app's may actually be on your wallpaper picture and not actual apps. Have you tried changing the wallpaper to see if that makes any difference ?

Maybe you are looking for