Zooming In on a Panned Image

I'm panning on an image 2kx2k pixels. Panning is working
wonderfully. I added a scrollRect to the image container and test
the mouse position blah blah blah....I'm trying to add zoom and now
things have gotten a little hairy
Main Movie -> PanClass Object -> Image
Container -> External Swf.
I have a couple test buttons that simply allow a user to zoom
in or out on that image. I figured that by zooming in (adjusting x
and y scale) of the external swf that my movie would scale and
continue to pan which it does, but it is still panning at the
original size of the image. I need it to pan in the same size
window as before but with the new scaled dimensions. I've included
the panImage function. What do I need to adjust so that it will
behave as I want?
Mike

From memory, the problem with scroll rect is that as soon as you have used it you can no longer query some of the content's information (like its dimensions). So either use a different technique (put you content within another movieclip), or take a note of the dimensions before applying the scrollrect.

Similar Messages

  • Pan image

    ok i think what im loking for is some type of pan. What i mean is my projects runtime is 60 seconds and in my project i have a few still images and a few motion clips, from a far when u first look at if you see the whole project on your TV, what im trying to do is when one of my motion clips starts playing i want to be able to zoom in some and pan across the still images from left and make it to the right side on my project where the clip is and be there before it starts playing, then back again to another clip somewhere in my project where the next clip is, then last have it pan across the images and zoom back out to normal view where it had started. This will be setup as a motion DVD menu, thanks for the help.

    Best to use a couple of paragraphs and full words.
    You are wanting to pan across still images?
    Try this:
    http://www.proapptips.com/proapptipsvideotutorials/194F4DC2-ACBB-4DD6-A1D0-F46D7 D8DCAFC/B3B1B666-3A04-4E0A-A6A1-F1EC7C9C653F.html
    or buy:
    FotoMagic or PhototoMovie
    or lyric media:
    http://www.lyric.com/fcp-plugins/panzoompro/pzp.htm
    Remember to mark responses solved or helpful.

  • Where is the Pan Image filter

    I need to use the Pan Image Effect on a great set of still images and can't find the Pan Image filter. I should have been able to find it under video transforms folder on the Effects Palette.

    I was able to make the pan effect work. It is really poor when compared to stage tools.
    1) the image pixelation is rediculous
    2) the finished result is worse than  rediculous
    3) I took the stage tools and did a horizontal pan at the bottom of the image that would be equalent to about isa small strip along the botton 8000x6200 image at about a scale of600 during the entire process the entire full resolution image was on screen and the little frame moved across the image and the pop up monitor that was provided by stage tools showed the actual path of the frame across that full size image (30" monitor) so you not only saw it in high resolution but it was extremely easy to track especially when following a non irregular line down a winding canyon or river.
    the reason that the stage tools client list reads like the who's who's of motion picture industry is because it's about 100 times better than using the motion effect built into Adobe.
    http://www.videofame.com/VideoProductions/Client_List_Broadcast.mht
    did you really think that Lucas Films would have been one of the largest users of this plugin if Adobe had the panning capability this does.
    You guys are like trying to think that anything you can't do Adobe directly is silly. Give it a break. I love Adobe I own I think the fact that they encourage outside vendors to create great plugins for Adobe users is brilliant. some how I think you guys have missed the point. Adobe can't even compare with stage tools for panning and zooming. like a difference between a VW bug and a F1 Ferrari it's just rediculous. But don't take my word for it download the stage tools for free like I did and try it. You just won't believe the difference. You need to start with a super quality image though from the Hasselblad website downloads area you should be able to download some 50 or 60 MB files that are like the dimensions shown below:
    http://www.hasselbladusa.com/products/h-system/h4d-60.aspx
    Sensor size: Dalsa 60.1 Mpixels (8956 x 6708 pixels)
    Sensor dimensions: 40.2 mm x 53.7 mm
    Image size: RAW 3FR capture 80 MB on average. TIFF 8 bit: 180 MB
    Where talking Lucas film quality now not 35mm Rebel or D30's

  • Help with panning image

    Hi There
    I'm building a site that features a panning panoramic image with buttons embedded into it. I've got a piece of script that does it for me, but I have two issues.
    1. My panning image is 500 pixels high and my document is 700px, right now the pan effect works anywhere, but I'd like to limit it to work only when the cursor is over the image (500px in the centre with 100px of white at the top and bottom). So basicly need some sort of 'if' variable for y axis...
    2. Also would like to know if it is possible to stop the pan if the cursor moves away from the image area. Right now if you are panning sideways and you move the mouse out, it will keep panning untill it reaches the end of the image.
    Script that I'm using:
    _global.plotis = Stage.width;
    centre._x = _global.plotis / 2;
    speed = 40;
    full._y = 50;
    this.onMouseMove=function(){
    delete this.onMouseMove;
    this.onEnterFrame = function(){  
        if(_xmouse<150 || _xmouse>750){
        var A:Boolean = false;
        var X = _xmouse - _global.plotis / 2;
        full._x += -X / speed;
        if (full._x >= 0) {
            full._x = 0;
        if (full._x <= -(full._width - _global.plotis)) {
            full._x = -(full._width - _global.plotis);
    thanks a lot,
    Spawn NZ

    You should be able to include those limits in the conditional you already have...
    if(_xmouse<150 || _xmouse>750){
    maybe something like...
    if(((_xmouse > 1 && _xmouse<150) || (_xmouse>750 && _xmouse < 900)) && (_ymouse > 100 && _ymouse<6000)){

  • PS CS6 zoom sometimes affects all open images

    I'm trying to figure out how to replicate this issue. This is on Win7 x64 with PS CS6. On an infrequent basis, when I zoom in on one open image, the same zoom magnification will be applied to all the other images I have open. When this happens and I have several image files open, you can imagine it's annoying to have to reset the view for all those open images.
    It looks like the zoom inheritance sometimes happens when I drag a layer from a zoomed-in image onto another open image window that's at a different zoom magnification. But it doesn't happen every time.
    If this is a "feature" please tell me how to avoid or disable it.

    The shift+Ctrl+0, + and - or 1 are shortcuts I want to ask to have implemented as a JDIs on the feedback site. Also, a shift+clicking the contextual menus of the zoom/hand tool (or spring-loaded ones) Done: http://feedback.photoshop.com/photoshop_family/topics/photoshop_jdi_allow_more_zoom_all_wi ndows_shift_shortcuts#add_product_label
    Note: the CTRL or ALT+Spacebar do respect the Shift modifier to work on all open document.
    I'm wondering if I will not also ask to have the double-click (and shift-double click) of the zoom and hand tool not register as a tool change (be spring loaded) done: http://feedback.photoshop.com/photoshop_family/topics/photoshop_jdi_make_double_clicking_t he_zoom_or_hand_tool_a_spring_loaded_event?topic_tools=open
    Thanks for that feature, Chris, I use it a lot!

  • TS4436 hi, when zooming in to capture still images, the image is really blurred and out of focus. is this a hardware issue and is there any solution for this?? or is my device faulty?

    hi, when zooming in to capture still images, the image is really blurred and out of focus. is this a hardware issue and is there any solution for this?? or is my device faulty?

    If you are using the iPhone camera zoom then remember that this is a digital zoom not an optical zoom. The zoomed in area will have fewer pixels and not appear as clear. The more you zoom the worse it gets. It's like cropping a picture after it has been taken.

  • Audio problems with panning image

    Hello, I am a relatively new user of flash and had a few
    questions. I am building a panning image within flash, then
    exporting the swf file and creating a new swf file using a plugin.
    The problem I am having is within my first created swf, I am
    creating invisible buttons around the image for people to click on.
    When they click on these "hotspots" they hear audio relating to
    this area. However, the issue I am having is with audio overlap. If
    they click the hotspot more than once, the audio will begin playing
    and major overlap occurs, also if they click more than one hotspot
    at a time, this overlap occurs as well. Right now, there is a audio
    clip at the beginning and the only hotspot that is working is the
    notebook under the person in the picture. Is there a way to include
    in the action script coding something that will stop other audio
    once one clip is clicked? I have included a link to the fla so you
    can take a look.
    Panning
    Image with Hotspots
    Any advice would be greatly appreciated!
    Thanks

    sorry dude I wouldnt be able to give example in actionscript
    2.0 cos I'm currently playing with actionscript 3.0 and its got me
    thinking about it all in a slightly different way.
    I think in actionscript 2.0 you can buttons store the
    actionscript in them, where as you cant do this in actionscript 3.0
    you can't you have to have actions on a frame and then add
    listeners to the buttons.
    If you can do this in actionscript three you'll have
    something similar to
    var isPlaying : Boolean = false;
    _root.notepade_btn.on(release)
    if(isPlaying == false)
    // *Add code to play noise* //
    isPlaying = true;
    else
    // You can add code to re-start noise or just stop it or
    anything you choose is best
    I know this probably wont work but I hope it can't gives you
    somewhere to aim towards
    Gaunt

  • How do you pan images on Adobe Pro? Please help

    I am having great difficulty panning images.

    Google the following for many tutorials - adobe premiere pro ken burns effect
    Jeff

  • Panning Images in Edit Mode?

    I've used iPhoto 4 & 5, and noticed that this useful function in the former was missing in the latter. In version 4, by holding the Cmd/ key, I could use the crosshair to pan across and up and down an enlarged image, which was very useful when editing images at full resolution.
    I tried to do the same thing in version 5 and instead called up the adjustment panel. Had no luck with any other key combination, so I guess it has been made obsolete.
    Even with the capability of editing in full-screen mode for iPhoto 6, not everyone has a gigantic screen that allows viewing of images at full resolution.
    So my question to those using the latest version is, when you choose to view an image in edit mode, and enlarge it, can you pan around in it? Move up and down and across and around to another section of the image without using the irritating scroll bars or having to zoom out?
    I also find it counter-intuitive that there is no way to view an image at full resolution easily in iPhoto. They should add a button to do that, next to the enlargement slider.
    Hopefully someone can answer my queries soon. Thanks!
    PowerMac G4 1.25GHz Dual Processor MDD   Mac OS X (10.3.9)  

    Hi Zaihan,
    Take a look at this page and you will see you can do full-screen edits (not the same as a button for full resolution though)
    http://docs.info.apple.com/article.html?path=iPhoto/6.0/en/hlp253.html
    If you move the slider to the right to enlarge the photo, you will get a little navigation window that you can move the photo around in. It's very handy.

  • Pan & zoom overlay will not pan until after user has zoomed in or out

    I've been trying to lay out a large table of data so that when you first see the page, it's zoomed right out.  It's just an imported png image, with its own frame defining over what area of the screen it should be visible, and then set to pan & zoom mode using the overlay creator).
    In this initial state, the width of the image matches that of the frame; only the  bottom part of the image is hidden by being outside the frame.
    So it needs to be able to pan at any time regardless of the zoom level, so that a user can see all the content.  But what's happening is that it refuses to respond to any swipe (i.e. pan) gestures until you have first zoomed in or out to some extent.  Once you've done that the panning works perfectly in all directions.
    I've experimented with different aspect ratios & relative sizes of the content & the frame, but the same thing always happens, so this seems to be deliberate.  Does anyone know of any workarounds, or any options in the viewer builder (which we don't yet have) that might fix this?

    I think this has to do with the fact that you have to "activate" the interactive overlay with a single tap. After that you can pinch and zoom. Before that, even a swipe is not possible.
    That is different for the action "Pan only", wich is automatically activated.
    I hope this will get fixed in the future. We need the autoplay option even for Pan & Zoom for instant access to that interactive overlay.
    —Johannes

  • Pan image and simultaneous track motion

    I have a still photo that I am panning. At the same time, I want the still to move to a different (and smaller) position on the screen.
    Is there a way to apply a motion path to the video track which is independent of the motion being used on the still?

    Double-click the clip and load it into the viewer. Set a keyframe for both "scale" and "center" at the beginning of the clip. Set the scale to your liking as well as the position (in the canvas using "image + wireframe"). Go to the end of the clip (still loaded into the viewer) and set a "scale" and "center" keyframe. Change the scale to your liking. Then go back to the canvas and position the clip where you want it to end up. Make sure the "center" and "scale" keyframes are lined up on both ends.
    That what you were looking for?
    Jonathan

  • Pan Image with AS2

    I am looking to create a similar effect to the one in this website:
    http://www.timoweiland.com/
    I have a large image that I would like to pan around on various button clicks and I have no idea how to begin.  Any help or a point to the right post/tutorial would really be appreciated. 

    Look into using the actionscript Tween class to change both _x and _y positions and _xscale and _yscale values gradually.  You might be able to find something thru Google using "AS2 Tween tutorial"
    That particular site uses more than one image to achive its effect.

  • Zooming in on a still image

    Hello,
    I have followed many tutorials from the net and although I have been able to achieve a zooming in effect on a still, it isn´t exactly that. Instead the whole image becomes bigger and bigger giving a false sense of a zoom in - the still comes towards us filling up the canvas.
    An example is this excellent and simple tutorial, where the boy is zoomed in on, but stays within the grey border:
    http://www.rippletraining.com/movies/Free%20Downloads/motionkburns_redux960.mov
    If anyone has any advice on how I can get it right I´d be very grateful.
    Many thanks.

    +so we don´t see the whole of the picture getting bigger....+
    +Because the image in your link already fills the screen at its initial size. As it is zoomed, the outer regions of the image go offscreen.+........
    Unfortunately this is exactly what wasn´t happening with mine, which also fills the screen at its initial size.
    In case anyone else ever has a similar question this is what I did to get what I needed -
    Perhaps the problem lay in that the stills are almost square....? ( which I had carelessly forgotten to mention. ) I have them at 2880 pixels wide x 3024.
    I did the zoom effect on the still first and then exported it from FC as a QuickTime movie, using Apple ProRes 422 (HQ) 1920 x 1080 50i. ( matching the HD project ) Then I imported it back into the sequence and using crop in the motion tab in the viewer, cropped it a little left and right, aligning it with the borders of the rest of the still images, and thereby getting the zooming in to take place within the constraints of their size. In other words, as the zoom happens ( as the image grows) the edges now do go behind the canvas.

  • Panning image script

    Hello all,
    I am writting a new post about the same issue, sorry for that, but i really need help,
    Finally, i am using the following code for panning a big image in my flash as3 project :
    function panThisImage(target:MovieClip, speed:Number,speed1:Number, dir:int) {
    var mousePercent:Number = mouseX / stage.stageWidth;
    var mousePercent1:Number = mouseY / stage.stageHeight;
    stage.addEventListener(MouseEvent.MOUSE_DOWN, panImage);
    target.cacheAsBitmap = true;
    function panImage(E:MouseEvent):void {
    var mSpeed:Number;
    var mSpeed1:Number;
    mousePercent = mouseX / stage.stageWidth;
    mousePercent1 = mouseY / stage.stageHeight;
    if (dir == 1) {
    mSpeed =1-mousePercent;
    } else {
    mSpeed =mousePercent;
    if (dir==1) {
    mSpeed1 =1-mousePercent1;
    } else {
    mSpeed1=mousePercent1;
    target.destX = Math.round(-((target.width-stage.stageWidth) * mSpeed));
    target.destY = Math.round(-((target.height-stage.stageHeight) * mSpeed1));
    if (target.hasEventListener(Event.ENTER_FRAME)) {
    target.removeEventListener(Event.ENTER_FRAME, del);
    target.addEventListener(Event.ENTER_FRAME, del);
    function del(E:Event):void {
    if (Math.abs(target.x-target.destX) <= 1) {
    target.x = Math.round(target.destX);
    target.removeEventListener(Event.ENTER_FRAME, arguments.callee);
    } else {
    target.x += (target.destX-target.x) * (speed / 100);
    if (Math.abs(target.y-target.destY) <= 1) {
    target.y = Math.round(target.destY);
    target.removeEventListener(Event.ENTER_FRAME, arguments.callee);
    } else {
    target.y += (target.destY-target.y) * (speed1 / 100);
         //tumpanel.y = imgLoader.y  + 405;
         //tumpanel.x = imgLoader.x  + 135;
    panThisImage(imgLoader,1,1,2);
    The big image (imgLoader) moves with the coordinate of the mouse. But finally, i want it to move when i press and drag imgLoader. Not by mouse move.
    Can i change the code above?
    Thanks for help

    If you only want to drag the object, then you can get rid of all that code and just look into using the startDrag() and stopDrag() methods.
    imgLoader.addEventListener(MouseEvent.MOUSE_DOWN, dragImgLoader);
    imgLoader.addEventListener(MouseEvent.MOUSE_UP, releaseImgLoader);
    function dragImgLoader(evt:MouseEvent):void {
        imgLoader.startDrag();
    function releaseImgLoader(evt:MouseEvent):void {
        imgLoader.stopDrag();

  • How to zoom in/out AND resize image?

    sorry if they are stupid questions but i can't seem to find how to resize and image and zoom in/out. I am using Version 3 of Photoshop Album Starter Edition.
    thanks in advance.

    Don't know what you want to do...
    Resize the actual image file? If so, PSA SE can't really do that.
    Just look at an image at different magnifications? Select image, F11 for full screen, then use CTRL/+ and CTRL/- to adjust.

Maybe you are looking for

  • Can't open keyboard/preferences in lion

    HI, I've downloaded lion over the week-end. Installation went ok but I am getting a few strange behaviors: 1- When selecting "shut down" from my account nothing happens. I have to first log out and then log out!! 2- When trying to access system prefe

  • Servlets in the CGI-BIN

    Can servlets go in the CGI-BIN??? my server has a CGI-BIN.... does it surport servlets??

  • Movies in iphoto

    in my old iphoto there was a folder specifically for movies, which I cannot find now. My home-made Quicktime movies are in the library but where are the movies I have downloaded from youtube?

  • Can't get any further!

    Hi, I managed to put the old HD back in the G4, After several tries I got the install disk #1 in the CD drive. I did a disk utility. Error codes STF/3/3:ATA-100 ATA-6 Master Mass Storage Error Detected!! I played around some more and got to the insta

  • Result analysis (KKA2)

    What are the  business prerequisites for the use of revenue-based, cost-based and quantity-based percentage of completion in the result analysis (KKA2)