Zoom in/out in the gesture area

Hi,
i want to zoom in into a movieclip.
The zoom should zoom in the area where the gesture was taken.
In this moment i scale the movieclip and set the new x and y coordinates by myself.
This one works not as i wish.
Any ideas?
Best regards

why didn't u use my tip?
var contatiner = new Sprite();
contatiner.x = bigBox.techChart.x + bigBox.techChart.width/2;
contatiner.y = bigBox.techChart.y + bigBox.techChart.height/2;
bigBox.techChart.x = -bigBox.techChart.width/2;
bigBox.techChart.y = -bigBox.techChart.height/2;
container.addchild(bigBox.techChart);
Multitouch.inputMode = MultitouchInputMode.GESTURE;
stage.addEventListener(TransformGestureEvent.GESTURE_ZOOM, fl_ZoomHandler_2);
function fl_ZoomHandler_2(event:TransformGestureEvent):void
           if(container.scaleX*event.scaleX > .20 && container.scaleX*event.scaleX < 1)
                      trace("I'M ZOOMING OUT");
          container.scaleX *= event.scaleX;
          container.scaleY *= event.scaleY;
                      if(container.scaleX*event.scaleX > 0.9 && container.scaleX*event.scaleX < 1){
          trace("IM NORMAL AGAIN");

Similar Messages

  • I am unable to zoom in/out using the touch pad; yesterday i could zoom in/out of website pages, pics, etc, now today it is not letting me; how do i fix this?

    i am unable to zoom in/out using the touch pad; yesterday i could zoom in/out of website pages, pics, etc, now today it is not letting me; how do i fix this?

    See Here  >  http://support.apple.com/kb/HT1212

  • How do we find out what the conflicts are when the metadata conflict warning appears?

    How do we find out what the conflicts are when the metadata conflict warning appears?

    LR doesn't provide any way to do that.  If you are really curious, you could use the free Exiftool to capture the metadata in the file before and after you do Metadata > Save Metadata To File, and then compare the before and after.  
    Also note that many people have reported spurious notifications that a file's metadata has changed.

  • I want to update my ipad2 when i used to download the os it shows error as network timed out and i repeated again and again always it shows that network timed out but the apps are downloading but large apps are't why?

    i want to update my ipad2 when i used to download the os it shows error as network timed out and i repeated again and again always it shows that network timed out but the apps are downloading but large apps are't why?

    Try temporarily turning off all your firewall and antivirus software until the download has completed.

  • Adobe's Pan|Zoom component not fitting the content area

    I'm calling centerView method on handleLoadComplete event (ImageViewer.as) so the image will be adjusted to fit the content area when load is complete, but I'm having problems when testing this on Internet Explorer. Using Firefox it works fine, but on IE it only works after pressing Ctrl + F5.
    Do you know how can I fix this?

    Hi.
    Making it zoom and pan was a bit tricky, but I had it done
    two months ago (in july). The integration of the pan zoom with
    callout ("kind of spots on the map", the other published FIG
    componet) repositioning was bit tricky.
    I solved it with pointTransformations, but it was too
    expansive, in terms of memory. In my first trial, theyre positions
    were recalcuted as you pan and zoom.
    Now, in the version I published here
    http://www.gabriela.trindade.nom.br/?p=61
    you dont hav smooth zooming, and the callouts only are
    repositioned after your drop the map.
    I am working now on it. Im probably going to make then blurry
    or transparent while panning, but as I got this message from the
    foruns and I had promissed another guy who contacted me a (working)
    version, I decided to publish it on my blog.
    Hope it will be usefull.
    Please, be aware that not really a small application: it has
    lots of classes. Please read it all before contacting me with any
    doubts.
    Best luck :0)

  • Zoom into/out of the timeline using a keyboard shortcut?

    Is there a keyboard shortcut to zoom into and out of the timeline in Motion?

    steventv wrote:
    How (or who) would I request this to be included in Motion?
    Click here to leave feedback regarding Motion.

  • Just got an Ipad and am working on setting it up.  the one issue I am having with it is my screen will not rotate no matter what I do to the settings, I can't figure out if the settings are wrong or if there really is something wrong with my Ipad.

    just got an Ipad and am working on setting it up.  the one issue I am having with it is my screen will not rotate no matter what I do to the settings, I can't figure out if I have a setting wrong or if there really is something wrong with my Ipad.  any help would be greatly appreciated.

    Double click the home button (square)  and all the things you did are there.keep sliding the bar that will come up on the bottom to the left till it cant go anymore there should be a icon looking like this.press that and it should work
    Good luck hope it works.

  • Datasheet pasting - how can I figure out where the errors are?

    For example, I am trying to paste a fairly large chunk of data into the Datashet view to use in a list.  (about 30 columns by 9000 rows, so 270,000 cells.) When I try to page, it tells me that about 800 could not be pasted, but does not tell me WHICH
    cells, or even which COLUMNS.   I am sure that if I could just figure out which cells were not being pasted, I could easily figure out WHY there is an error.  Can anybody give me any useful tips to help me pinpoint which columns/cells are having
    the problem? Thanks!

    Hi,
    According to your post, my understanding is that to paste 270,000 cells data into the Datashet view to use in a list.
    Please make sure the view have sufficient columns, otherwise the paste operation will fail.
    A paste operation will also fail in the following situations:
    Some or all of the destination cells are read-only
    Pasting the contents into the selected cells will make them fail the validation rules
    Attempting to paste data that does not match the data type of the destination cells
    Attempting to paste data into a calculated column
    More information:
    Bulk copy and paste into a SharePoint List:
    http://clintoncherry.wordpress.com/2008/02/27/bulk-copy-and-paste-into-a-sharepoint-list/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Did FIOS go out in the Boston Area?

    I've lost everything (phone, TV, Internet) and I have red lights on my ONT.  Trying to get the support line but I've been on hold for a while.  Logging in via my cellular data network.  It happened right during the Patriots game too! :^/
    Wondering if others are experiencing issues?

    I am 45 mins south of Boston and since last Thursday I have been unable to access certain websites as well. It'll go for say, 51 out of 52 items and then just stop. This is on everything connected to my router: Desktop, laptop, and ipods.

  • Where can I find out what the rules are for extracting Purchase Orders?

    Hi all,
    Relating to BI 7.0, ECC 4.6
    From a business perspective we are looking to be able to identify ALL the rules/criteria for Purchase Orders when they are extracted in ECC to BI.
    The datasource is 2LIS_02_ITM
    For example deleted PO items are not extracted to BI, nor where LOEKZ (Memory flag =X).
    In brief there is criteria that identifies which PO items are extracted.
    Where can I find out what ALL of these conditions for extraction are?
    I have looked in the extractor program MCEX_BW_LO_API and there is a class for filling the a table but I cant see any criteria here to how it decides WHAT to extract i.e where in the code the criteria is set.
    Also this of course could be set in customizing somewhere?
    Anybody know where?
    Thanks in advance.
    Steve Jones

    you can also check the start routines in BI for 2LIS ITM, there are a few exclusions and PO deletions there.
    you can find more information in SAP Notes.
    reagrds
    Ramesh

  • When i zoom in google chrome, the paragraphs are resized to adjust without horizontal scroll. can this be done in safari?

    when i zoom in a website while viewing in chrome, there is less chance of the horizontal scroll. but the same page in safari leads to lot of horizontal scroll.
    vertical scrolling is ok while reading, but not both.

    yeah smart zoom is definelty good, thanks for the quick response, i feel home by getting such quick response.
    but may be few cases i felt chrome has done some good tweeks while zooming the paragraph. may be when i find specific pages i will post them.
    actually i like safari, but previous favorite was chrome. so wanted to get some best things from there.

  • TS1424 misc charges from itunes? How do I find out what the charges are for?

    Misc charges from itunes?How do I find out what charges are for?

    View your purchase history:
    http://support.apple.com/kb/HT2727
    If you are still unsure, contact iTunes support and ask:
    http://www.apple.com/support/itunes/contact/

  • HT2693 unable to restore contacts from backup in iTunes.. how do i find out where the contacts are when it took the backup the first time?

    Please help me restore my contacts from the backup in my laptop. When i took the backup  the first time, i dont know where it took the backup. After that i tried restoring the contacts back  to my iPhone, but was unable to. What can i do to findout where did the contacts go in my laptop? Please help asap.

    Unfortunately, you have posted in the wrong community. However, I am not quite sure which community you should be posting in. Do you use iCloud for your contacts.

  • I lost my pictures on my phone when I did the back up procedure wrong with my computer.  How can I find out if the pictures are on ICloud or on my sims card?

    How do I find pictures that are no longer on my phone?  I am not sure if they are in ICloud or on my sims card.

    If your phone is off, there is no way to locate it other than physically looking for it. It cannot be remotely turned on. Even if it were on, you would have had to have Find My Phone setup/activated/turned on BEFORE you lost your phone to have any hope of finding it.

  • Using the mouse wheel to zoom in/out

    Am I missing some preference setting? I use a mouse with a wheel/roller/scroll thingie in between the right and left buttons.
    Why is it that in FCP if you are in the Timeline and you turn the wheel you go up or down the video or audio tracks, but in Soundtrack Pro if you turn the wheel you zoom in (expand the view). I like the zoom thing, but when I go back and forth between FCP and Soundtrack, it is annoying.
    Besides the horizontal scroll bar at the bottom of the FCP timeline to zoom in and out and besides APPLE + or APPLE - , how else can one zoom in and out if the mouse wheel is not an option?

    i prefer "option =" and "option -" as that always zooms in/out of the timeline regardless of the widow focus

Maybe you are looking for