After zoom in/out to open callout is wrong position

Dear All
After zoom in/out screen , i open callout.
I'm having problems with its position
code:
    <fx:Declarations>   
          <s:Callout   id="bCallout"
                  mouseDownOutside="bCallout.close()"
                  mouseUp="bCallout.close()"
                  backgroundColor="0x999999"
                  contentBackgroundAlpha="0"/>
   </fx:Declarations>
  <fx:Script>
     private function zoom_action(act:String):void {
               var z:Number;
                if(act=='+'){
                      z=0.25;
                }else{
                       z=-0.25;
                var my_matrix:Matrix = new Matrix();
                my_matrix.scale(gr1.scaleX+z, gr1.scaleX+z);
                gr1.transform.matrix=my_matrix;
   </fx:Script>
  <s:Group id="gr1">
          <s:Button id="btn1"  x="24" y="50" label="btnA" click="bCallout.open(btn1)"/>
          <s:Button id="btn2"  x="100" y="100" label="btnB" click="bCallout.open(btn2)"/>
           <s:Button id="btn3"  x="170" y="150" label="btnC" click="bCallout.open(btn3)"/>
  </s:Group>
  <s:Button id="zoomin" y="10" right="108" width="44" height="42" label="+" alpha="0.5"
                                click="zoom_action('+')"/>
  <s:Button id="zoomout" y="10" right="59" width="44" height="42" label="-" alpha="0.5"
                                click="zoom_action('-')"/>
Any ideas what I'm doing wrong?

You need a Mac user to come along and give you better advice, but meanwhile, Goggle
photoshop cc lag yosemite
You are _not_ alone.

Similar Messages

  • Delay after zoom in/out

    After I use command+space+mouse drag to zoom in/out and release buttons, there's always a 1-2 seconds delay.The function and mouse pointer stays in zoom mode.I'm using iMac,27-inch,late 2013 with osx 10.10.2.PS version is 2014.2.2.I'm thinking there's problem in video ram and GPU? Please help.

    You need a Mac user to come along and give you better advice, but meanwhile, Goggle
    photoshop cc lag yosemite
    You are _not_ alone.

  • Draw a line after zoom in

    Hi All,
    I want to draw a line after zooming in/out the image. If the image is not scaled, then ever thing is fine. But once I scaled the image and draw the line, the position is not coming correctly. Can you correct me, what's my mistake?
    package imagetest;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class ZoomAndDraw extends JPanel
        private java.awt.image.BufferedImage image = null;
        private Line2D.Double line = null;
        private double scale = 1.0;
        private int value = 16;
        private double translateX = 0.0;
        private double translateY = 0.0;
        private MouseManager manager = null;
        public ZoomAndDraw()
            line = new Line2D.Double();
            readImage();
            manager = new MouseManager(this);
            addMouseListener(manager);
            addMouseMotionListener(manager);
        private void readImage()
            try
                image = javax.imageio.ImageIO.read(new java.io.File("D:/IMG.JPG"));
            catch (Exception ex)
        @Override
        public Dimension getPreferredSize()
            if (image != null)
                int w = (int) (scale * image.getWidth());
                int h = (int) (scale * image.getHeight());
                return new Dimension(w, h);
            return new Dimension(640, 480);
        @Override
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D) g;
            if (image == null)
                return;
            double x = (getWidth() - scale * image.getWidth()) / 2;
            double y = (getHeight() - scale * image.getHeight()) / 2;
            g2.translate(x, y); // move to center of image
            g2.scale(scale, scale); // scale
            translateX = 0 - x * (1 / scale);
            translateY = 0 - y * (1 / scale);
            g2.translate(translateX, translateY); // move back
            g2.drawImage(image, 0, 0, this);
            g2.setColor(Color.RED);
            g2.draw(line);
            g.dispose();
        public void setLine(Point start, Point end)
            line.setLine(start, end);
            repaint();
        public void addLine(Point start, Point end)
            line.setLine(start, end);
            repaint();
        public void ZoomIn()
            value++;
            scale = (value + 4) / 20.0;
            revalidate();
            repaint();
        public void ZoomOut()
            if (value <= -3)
                return;
            value--;
            scale = (value + 4) / 20.0;
            revalidate();
            repaint();
        class MouseManager extends MouseAdapter
            ZoomAndDraw component;
            Point start;
            boolean dragging = false;
            public MouseManager(ZoomAndDraw displayPanel)
                component = displayPanel;
            @Override
            public void mousePressed(MouseEvent e)
                start = e.getPoint();
                dragging = true;
            @Override
            public void mouseReleased(MouseEvent e)
                if (dragging)
                    component.addLine(start, e.getPoint());
                    component.repaint();
                dragging = false;
            @Override
            public void mouseDragged(MouseEvent e)
                Point end = e.getPoint();
                if (dragging)
                    component.setLine(start, end);
                    component.repaint();
                else
                    start = end;
        public static void main(String[] args)
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            ZoomAndDraw zoomAndDraw = new ZoomAndDraw();
            //Zoom in call
            zoomAndDraw.ZoomIn();
            zoomAndDraw.ZoomIn();
            zoomAndDraw.ZoomIn();
            frame.add(zoomAndDraw);
            frame.setPreferredSize(new Dimension(640, 480));
            frame.setSize(new Dimension(640, 480));
            frame.setVisible(true);
    }Thanks and Regards
    Raja.

    Hi,
    I'm having one more doubt. Just assume, after calling the ZoomIn(), I am drawing a line.
    Subsequent ZoomIn() calls (let's say 5 times), changed the actual line position. How do I synchronize the zoom in call with the line coordinates?
    public void FireZoomIn()
            new Thread(new Runnable()
                public void run()
                    try
                        Thread.sleep(3000);
                    catch (InterruptedException iex)
                    int count = 0;
                    while (count++ < 5)
                        ZoomIn();
            }).start();
    public void mouseReleased(MouseEvent e)
                if (dragging)
                    component.addLine(start, e.getPoint());
                    component.repaint();
                    component.FireZoomIn();
                dragging = false;
            }Thanks and Regards
    Raja.

  • The zoom in zoom out gesture doesn't work on my iPhone 5c. Like when opening an app it doesn't zoom out and opens.

    The zoom in zoom out gesture doesn't work on my iPhone 5c. Like when opening an app it doesn't zoom out and opens. It also doesn't zooms in while pressing the home button to return. The gesture is just like any other Android phone. Like while closing an app by pressing the home button the icons seem like zooming in and falling back to their respective places. This thing happens in my friends' iPhones but this thing doesn't happen on my iPhone 5C. Please help.. I am unable to find anything wrong with the settings either.
    Message was edited by: Prats20

    I have another query though. Is it possible to always logged into my Gtalk from iPhone? I am using an app called Gtalk Lite. But every time I double press the home button and swipe up the apps to close them from running in the background Gtalk lite logs me off. I have to log in to Gtalk lite again. I was looking for something like that happens on Android phones. You are always logged in even after you close them from running in the background. And also is it possible to log in to more than one gmail account on Gtalk in iPhone?

  • How do I restore my passcode (not password) in my iphone5s. It's the one that is asked whenever you have to unlock the phone. I got used to having my thumb mark open it that I forgot it after my phone got recharged after it drained out.

    how do I get my passcode (not password) in my iphone5s sent to me via email. It's the one that is asked whenever you have to unlock the phone. I got used to having my thumb mark open it that I forgot it after my phone got recharged after it drained out. Apparently, the fingerprint won't do after the phone was drained and recharged again. The passcode has to be typed in. I don't usually allow my phone to drain out except this one time on a long trip. Hence I forgot my passcode and I prefer it being sent to me via my registered email. I know that if you enter it several times, the phone gets locked out over certain periods from 1 minute to 60 minutes so I don't want to take that risk. Any suggestions?

    First, this is a user-to-user technical support forum, not a way to communicate with Apple.
    That aside, no one can email your passcode to you because no one (not even Apple) knows it. The passcode exists in only one place - on the phone. You will have to restore the phone using the computer that you regularly sync it to. This will reinstall iOS, remove the passcode, and restore your most recent backup.
    Edit:
    See: iOS: Forgotten passcode or device disabled after entering wrong passcode for more details

  • After zooming in on an object using arrow keys to nudge, it crashes most of the time

    After zooming in on an object, using arrow keys to nudge, it crashes most of the time.
    Versions:
    Illustrator CS6, latest update
    Mac OS X 10.9.4
    FontAgent Pro 6.2
    Troubleshooting I've tried
    -trashed all related Illus. preferences
    -updated the only plug-in being used (FontAgent Pro), to the latest
    -disabled all but absolutely necessary fonts
    -repaired both system and user permissions
    -quit all other apps, so that only Illus. running.
    -fonts verified
    Was never a problem until a couple weeks ago, so the obvious question is "what changed?".  The two things we changed in the time period that the crashing started, is we replaced a balky external drive with a new one, and started our TimeMachine backups over again. And #2, we updated to the latest CS6 versions (due to other quirky issues).
    One odd thing to point out...perhaps is "normal", but in the crash reports, it's reporting that Illustrator is 16.0.0, but "About Illustrator" shows that it's 16.2.2.
    Everything else running fine on this iMac -- no reason to suspect it's the operating system.
    Has anyone run into this bug? If so, what have you done to fix this?
    I've not seen anything like this mentioned in Adobe's update change logs or their troubleshooting info.

    -> go to View Menu -> Toolbars -> select "Navigation Toolbar"
    -> go to View Menu -> Zoom -> click "Reset"
    -> go to View Menu -> Page Style -> select "Basic Page Style"
    -> go Tools Menu -> Clear Recent History -> Time range to clear: select EVERYTHING -> click Details (small arrow) button -> place Checkmarks on ALL Options -> click "Clear Now"
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE any Unwanted/Suspicious Extension (add-ons) -> Restart Firefox
    You can enable the Trustworthy Add-ons later. Check and tell if its working.

  • How to get the whole map image after zoom in?

    Hi,
    I use mapviewer API to generate map images and put them in JSP as well as in Java Applet. I called the method getGeneratedImage(). After I using the methods zoomIn() or zoomOut(), I got a new map image. But the size is fixed, so after zoom in I can only see a part of the whole map. I would like to use scrollbar to see other part of the map after zoom in.
    How can I solve this problem? I have the images as predefinied themes saved in database with MBR information.
    Thanks in advance.

    Hi,
    For the map request in MapViewer you may define the data area that you want to display, as well as the device size (width and height). The result is a java Image with width and height sizes. You can draw this image on a canvas with scroll bars, and if the size of the canvas is smaller than the image size, then you should see the scroll bars. But you have to code that. MapViewer will just return an Image with the specified size.
    The zoom in/out options just change the data area, but keeps the device size. Therefore you should use the API methods to set the data area (setBox or setCenterAndSize) and to set the device size (setDeviceSize), in order to control the size of your resulted image, and then draw it on your canvas with scroll bars.
    Regards.

  • Why does firefox zoom in when I open a new tab? How can I disable this?

    Every time I right click on a link and select "Open link in a new tab" firefox zooms in. This happens also when I hold ctrl and click on a link. I know I can just zoom back out using ctrl - but this gets really annoying sometimes. How can I disable this?

    Every time I right click on a link and select "Open link in a new tab" firefox zooms in. This happens also when I hold ctrl and click on a link. I know I can just zoom back out using ctrl - but this gets really annoying sometimes. How can I disable this?

  • Adobe illustrator CC Zoom in & out problem

    Hi,
    I am facing an issue right now..
    When i open a large AI file that above 1GB, then i zoom in & out .. the design will go out of form.
    However, when i open small file like 400+ MB, no issue on zoom in & out.
    I really no idea for this issue..
    Here is my PC spec,
    Windows 8.1 Professional
    3.40 gigahertz Intel Core i7
    32GB RAM
    NVIDIA GeForce GTX 650
    TQ.

    Moving this discussion to the Illustrator forum.
    Wandasgirl I would recommend reviewing your installation logs for errors.  Please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html for information on how to locate and interpret your installation log files.  You are welcome to post any errors you discover to this discussion.

  • How to hold the display steady after zooming up

    After zooming up to make a document easier to read the document does not remain locked in place but moves whenever the cursor is moved. I would like to use the arrow keys to navigate up and down and left and right through the document, but after enabling zooming up the document moves complicating moving around the document and accessing commands.

    Open system preferences > Keyboard and Mouse > trackpad gestures > zoom while holding > Options > check "Only when the pointer reaches an edge."
    I also suggest that you have enabled two finger scroll and allow horizontal scrolling -- and then move the document via trackpad two finger scrolling.

  • OBI HD App No zoom in/out option

    Hi Experts,
    I have got Oracle BI HD App on my ipad2 and its pointing to OBIEE 11.1.1.6.8 version and Zoom in/out is not avialable in it. I can see the dashboards as i see on any web browser.
    Earlier when i pointed Oracle BI HD App to OBIEE 11.1.1.5.0 , zoom in/out option was avaiable and I need not have to scroll out horizontally(verticall scroll is fine).
    please provide inputs if there is any configuration required for OBIEE 11.1.1.6.8 version Zoom in/out so that whole dashboard tab fits into my ipad screen and zoom in/out can be used.
    Cheers
    Ankit

    Oracle Mobile HD on iPad Doesn't Allow to "Pinch to Zoom" or to Switch to "Mobile Layout" [ID 1534983.1]
    Follow - BUG:15940998 - OBIEE MOBILE FEATURES MISSING AFTER PATCHING FROM 11.1.1.5 TO 11.1.1.6.X
    HTH,
    SVS

  • SX700 has a loud zoom in/out, which got picked up by the video. Is it normal?

    Hi All,
    I just received my Canon SX700 and went out for a test today. The picture quality wes good, the video image quality was great as well. I heard zooming in and out sound when I was shooting the video using SX700. After I came home and play it on my computer, the zooming in/out sound is indeed loud and clear. In addition, I heard clicking sound in some zooming in and out as well. Is it normal? Is it an one off defect? Should I return it? And comment/ suggestion/ advice is appreciated!
    Best regards,
    Sally

    The noise you can here is the zoom motor stopping and starting and very little you can do about it. The internal microphone is only doing it's job... picking ALL the sound up it detects.
    These cameras in the video mode is only a gimmick, the quality of these internal microphones leaves a lot to be desired, the only way round it is to use an external microphone, whether these cameras have that facility I can't say, do consult your user manual on using an external mic.
    Dave

  • I just updated to OS X Yosemite Version 10.10.3 because After Effects CS6 would't open anymore. But it still does't work. Does anyone know what to do. Please in simple English, because I'm from Germany.

    I just updated to OS X Yosemite Version 10.10.3 because After Effects CS6 would't open anymore. But it still does't work.
    Does anyone know what to do?
    Please in simple English, because I'm from Germany.
    Thx.

    Thank you so much, Mr. Curtis! I'm not sure exactly how that worked, but it allowed me to get back on both AE and Premiere Pro. 10 points to you!
    Also, for the  other people that may have similar problems and are viewing this forum, definitely try this out. Listen to Jim's advice, don't use the most recent version (which is currectly 5.5.47) - instead try a slightly older one. The one I had installed was version 5.5.24.
    Once again, thank you! You saved my project!

  • IPhone UIWebView width does not fit after zooming + orientation change

    I created a bare bones iPhone/iPad app with a UIWebView (Scales Page to Fit = YES, shouldAutorotateToInterfaceOrientation = YES) and loaded a webpage, e.g. http://stackoverflow.com/
    - (void)viewDidLoad {
    [super viewDidLoad];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://stackoverflow.com/"]];
    [webview loadRequest:request];
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return YES;
    The web page fits the width nicely. Rotate the device, the webpage continues to fit the width nicely. Good.
    Incorrect: Zoom into the page and zoom out. Now rotating the device shows UIWebView in a weird width in one of the orientation (if u zoom in+out landscape, the portrait width becomes weird, vice versa). This behavior is fixed only after you navigate to another page (or [webview reload]).
    Correct: Load the same URL in *Mobile Safari* on the same device. Rotating works & the width always fits properly, regardless of the zooming interaction.
    Is this a UIWebView bug (probably not)? Or is there something that needs to be done to make things "just work" like in Mobile Safari?
    This behavior exists on iPhone and iPad

    Refer :
    http://social.technet.microsoft.com/Forums/windows/en-US/2b0ba279-0ded-49b2-b003-713a65e3d645/vertical-taskbar-width-resets?forum=w7itproui
    Arnav Sharma | Facebook |
    Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members
    reading the thread.

  • After install, iTunes does not open at all.

    I installed Mavericks on my 2011 Macbook Pro the other day. Everything went well and everything seems to be working normally except iTunes.
    When I click on it in the dock, the icon bounces a few times, or just once, but then nothing else happens. It never opens. Same thing when I click on it directly from the applications folder.
    Any ideas?
    Hardware Information:
              MacBook Pro (15-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,2
              1 2 GHz Intel Core i7 CPU: 4 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
              AMD Radeon HD 6490M - VRAM: 256 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    System Software:
              OS X 10.9 (13A603) - Uptime: 0 days 0:4:4
    Disk Information:
              ST9500325ASG disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        KINCH (disk0s2) /: 499.25 GB (280.18 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.intego.kext.VirusBarrierKPI          (10.6.13)
              com.intego.kext.VirusBarrier.AppBarrierKPI          (10.6.13)
              com.intego.iokit.VBX6NKE          (1)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.SwitchBoard.plist
              [loaded] com.intego.commonservices.daemon.plist
              [loaded] com.intego.commonservices.icalserver.plist
              [loaded] com.intego.netupdate.daemon.plist
              [loaded] com.intego.personalantispam.daemon.plist
              [loaded] com.intego.PersonalBackup.daemon.plist
              [loaded] com.intego.task.manager.daemon.plist
              [loaded] com.intego.VirusBarrierX6.daemon.plist
              [loaded] com.intego.VirusBarrierX6.scanner.daemon.plist
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist
              [loaded] com.intego.netupdate.agent.plist
              [loaded] com.intego.personalbackup.agent.plist
              [loaded] com.intego.task.manager.notifier.plist
              [loaded] com.intego.VirusBarrierX6.alert.plist
              [loaded] com.intego.VirusBarrierX6.statusitem.plist
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist
              [loaded] com.adobe.ARM.[...].plist
              [failed] [email protected]list
              [loaded] com.google.keystone.agent.plist
              [loaded] com.macpaw.CleanMyMac.helperTool.plist
              [loaded] com.spotify.webhelper.plist
    User Login Items:
              iTunesHelper
              Antispam Engine
              CrossOver CD Helper
              Dropbox
              IntegoStatusItemHelper
    3rd Party Preference Panes:
              Flash Player
              Flip4Mac WMV
              MacFUSE
              NetUpdate
              Perian
    Internet Plug-ins:
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              Default Browser.plugin
              Flash Player.plugin
              FlashPlayer-10.4-10.5.plugin
              FlashPlayer-10.6.plugin
              Flip4Mac WMV Plugin.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              QuickTime Plugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
    Bad Fonts:
              None
    Time Machine:
              Skip System Files: NO
              Auto backup: NO
              Time Machine not configured!
    Top Processes by CPU:
                   4%          WindowServer
                   1%          EtreCheck
                   1%          VBX6StatusItem
                   0%          mds_stores
                   0%          ps
                   0%          fontd
                   0%          mds
                   0%          Dropbox
                   0%          coreservicesd
                   0%          mdflagwriter
    Top Processes by Memory:
              184 MB             virusbarriers
              94 MB              Dropbox
              82 MB              Finder
              57 MB              SystemUIServer
              57 MB              WindowServer
              53 MB              Antispam Engine
              49 MB              com.apple.dock.extra
              49 MB              mds_stores
              49 MB              CalendarAgent
              49 MB              com.apple.ShareKitHelper
    Virtual Memory Statistics:
              610 MB             Free RAM
              1.59 GB            Active RAM
              933 MB             Inactive RAM
              921 MB             Wired RAM
              226 MB             Page-ins
              0 B                Page-outs

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

Maybe you are looking for