Making a zoomer just like navigator in photoshop

Hi all,
         I am stuck in last few days to make a zoomer application. I am not getting any help on google also.
         it is just like navigator in photoshop . example of this application Link given below.
         http://www.auktionsverket.se/dbk/rdbk_oversikt.asp?d=2010-06-04&at=k&sp=en&bm=E006&id=2855 &snr=0
         Click on any image, then one popup window will open, then click on "zoon in" buttton then flash application will open that is the exact example
         which I want to make.
         I am not getting any help from anywhere And I never made any application of this type But I have to do it.
         So please help me , any idea , any code, any concept, any example  any thing whatever you have.  please.
       THANK YOU .

Thank You  Deepanjan for replying me. It is really very helpfull for me .
I have done till getting current position of navigator in percent Because I wanted to do it on percent based calculation.
Because size of the Big  image can be  resized at any time. I have placed both images without code (manually) and made the  navigator dragable within the small image boundary and scaling the Big image proportionately according to zooming
I am also scalling down navigator according  to the Big image scaling UP AND getting current position of navigator in percent, percent is correct.
Because it is showing 0-100, everything is correct    Now My problem in how to position Big  image based on percent (which is gotten from the navigator).
Please Remember  Registration Point of ther Both (navigator and Big image) in center.
I am pasting My code here since there is no attachment option present and there's no other way I can show you the code.
==========================================   CODE   ================================================================
package com
    import flash.display.MovieClip;
    import fl.controls.Slider;
    import fl.events.SliderEvent;
    import flash.events.*;
    import flash.geom.Rectangle;
    public class main extends MovieClip
        private var slider:Slider;
        private var isMouseDown:Boolean = new Boolean();
        private var percentX:Number = new Number();
        private var percentY:Number = new Number();
        private var imagePercentX:Number = new Number();
        private var imagePercentY:Number = new Number();
        private var stageWidth:Number = new Number(800);
        private var stageHeight:Number = new Number(400);
        private var borderMCWidth:Number = new Number()
        private var borderMCHeight:Number = new Number();
        private var ration:Number = new Number();
        public function main ()
            trace(" it is main calss ");
            borderMCWidth = small_mc.border_mc.width;
            borderMCHeight = small_mc.border_mc.height;
            sp.source = big_mc;
            big_mc.x = stageWidth/2;
            big_mc.y = stageHeight/2;
            ration = stageHeight/stageWidth;
            addSlider();
            init();
            small_mc.border_mc.alpha = 0;
            stage.addEventListener(MouseEvent.MOUSE_MOVE,MouseMoveing);
            plush_btn.addEventListener(MouseEvent.CLICK,plushBtnClicked);
            minush_btn.addEventListener(MouseEvent.CLICK,minushBtnClicked);
        private function plushBtnClicked(e:MouseEvent)
            big_mc.scaleX += 0.1;
            big_mc.scaleY += 0.1;
            if(big_mc.width > stageWidth || big_mc.height > stageHeight)
                small_mc.border_mc.alpha = 1;
                imagePercentX = (stageWidth/big_mc.width)*100;
                imagePercentY = (stageHeight/big_mc.height)*100;
                small_mc.border_mc.width =  (borderMCWidth*(imagePercentX))/100;
                small_mc.border_mc.height =  small_mc.border_mc.width*ration;
                sp.update();
                trace("imagePercentX :"+imagePercentX);
                trace("imagePercentY :"+imagePercentY);
            else
                small_mc.border_mc.alpha = 0;
        private function minushBtnClicked(e:MouseEvent)
            big_mc.scaleX -= 0.1;
            big_mc.scaleY -= 0.1;
            if(big_mc.width > stageWidth || big_mc.height > stageHeight)
                small_mc.border_mc.alpha = 1;
                imagePercentX = (stageWidth/big_mc.width)*100;
                imagePercentY = (stageHeight/big_mc.height)*100;
                trace("imagePercentX :"+imagePercentX);
                trace("imagePercentY :"+imagePercentY);
                small_mc.border_mc.width =  (borderMCWidth*(imagePercentX))/100;
                small_mc.border_mc.height =  small_mc.border_mc.width*ration;
            else
                small_mc.border_mc.alpha = 0;
        function MouseMoveing(e:MouseEvent)
            if(isMouseDown)
                var numX:Number = new Number();
                var numY:Number = new Number();
                numX = small_mc.border_mc.x+((small_mc.width/2)-(small_mc.border_mc.width/2));
                numY = small_mc.border_mc.y+((small_mc.height/2)-(small_mc.border_mc.height/2));
                var diffX:Number = (small_mc.width-small_mc.border_mc.width);
                var diffY:Number = (small_mc.height-small_mc.border_mc.height);
                percentX = (numX/diffX)*100;
                percentY = (numY/diffY)*100;
                trace("percentX :"+percentX);
                trace("percentY :"+percentY);
                sp.horizontalScrollPosition = (sp.maxHorizontalScrollPosition*percentX)/100;
                sp.verticalScrollPosition = (sp.maxVerticalScrollPosition*percentY)/100;
        private function addSlider()
            slider = new Slider();
            slider.liveDragging = true;
            trace("slider.height :"+slider.height);
            slider.move((stage.stageWidth/2),(stage.stageHeight-20));
            addChild(slider);
            //slider.addEventListener(SliderEvent.CHANGE,sliderCnaged);
            slider.addEventListener(SliderEvent.CHANGE, sliderCnaged);
        private function sliderCnaged(e:SliderEvent)
            trace("slider value :"+e.target.value);
        private function init()
            small_mc.border_mc.buttonMode = true;
            small_mc.border_mc.addEventListener(MouseEvent.MOUSE_DOWN,MouseDown)
            small_mc.border_mc.addEventListener(MouseEvent.MOUSE_UP,MouseUp);
        private function MouseDown(e:MouseEvent)
            isMouseDown = true;
            var rect:Rectangle = new Rectangle(((small_mc.border_mc.width/2)-(small_mc.width/2)),((small_mc.border_mc.height/2 )-(small_mc.height/2)),(small_mc.width-small_mc.border_mc.width),(small_mc.height-small_mc .border_mc.height));
            small_mc.border_mc.startDrag(true,rect);
        private function MouseUp(e:MouseEvent)
            isMouseDown = false;
            small_mc.border_mc.stopDrag();
========================================================================================== ========================
Code is fired from the document calss .
You can get percent in the Bold.
just import a image convert to MovieClip name it "big_mc" (Ragistration point in the center)
drag a scroll pane name it "sp"
for navigator.....
make a MovieClip name it "small_mc" (Ragistration point in the center)
in the "small_mc"  make a ectangle and convert to movieClip name "border_mc" (Ragistration point in the center)
in the "small_mc" in the lower layer keep  image in small size for navigator movement.
My stsageWidth = 800, StageHeight = 400.
In short I Want to position the Big image (in any scale) based on percent gotten from navigator (percentX ,percentY);
Please provide hints to help me to solve .I think the problem is arising due to Registration point  but badly need the a solution.
Thanks again for replying, have a great Day.

Similar Messages

  • I need to create a character just like character using photoshop

    Hello,
    I need to create a character like charecter on ekalayawebs.com
    I found that character are really funny, and cute.
    What tool I need to use in photoshop ?
    Thanks before

    Please post images on this Forum directly otherwise there might be the suspicion of trying to generate traffic on some other site.

  • Just like New

    Hey I just got an old Nokia 6300 from my brother and he's really stuffed it up. Lots of apps and other features are missing and it just doesn't work like I've seen it before. Is there some way of making the phone just like new again????
    I want it to be like I've just pulled it out of the box. Everything completely back to factory standard.
    I would really appreciate a reply

    Contrary to the statement above, this operation will not return the phone to the state in which you purchased it. It will return it to the state it was in when it left the production line.
    Any software and/or media that was bundled with it in the sales package and installed after the firmware will not be present.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Photoshop like navigator palette?

    Something I have always wanted is a Photoshop-like navigator palette for working in a slide at 400%. Or a pan tool. Navigating with the scroll bars is not very easy.
    I believe Keynote actually doesn't have nothing like this, or does it?
    Thank you.

    Doesn't work the same way as the trackpad pan does. Although, if the desktop user has a Mighty Mouse, then you can pan the same way. Would be nice to have a "grab" hand tool for those that don't have access to that hardware.
    Just on a lark, I tried several different combinations of clicking and scrolling just to see if there was a way to increase and decrease the magnification LOL! Nothing but Command-shift-> and Command-shift-< though.

  • I own both Photoshop Elements and Photoshop (the original editor).  I find the elements editor to be too cumbersome to use and would just like to edit using Photoshop.  When I try to install Photoshop as a secondary editor in elements I get an error messa

    I own both Photoshop Elements and Photoshop (the original editor).  I find the elements editor to be too cumbersome to use and would just like to edit using Photoshop.  When I try to install Photoshop as a secondary editor in elements I get an error message that I don't need to this because it is already supported on the edit menu and task bar.  I can not find any way to send images to Photoshop for editing - all I can do is send them to elements editor or the premier editor.  Can someone tell me how to send them to Photoshop?  Thanks!

    Hi,
    The D810 requires Camera Raw 8.6 or later - the latest version that is compatible with Photoshop Elements 12 is Camera Raw 8.5 as far as I can see.
    You need to either buy a new version of Photoshop Elements or use the free Adobe DNG converter.
    DNG  Converter 8.8
    Win – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5888
    Mac – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5887
    Useful Tutorial
    http://www.youtube.com/watch?v=0bqGovpuihw
    Brian

  • Is Adobe Photoshop CC able to sync Mykuler Favourite Swatches just like in Adobe Illustrator CC?

    Is Adobe Photoshop CC able to sync Mykuler Favourite Swatches just like in Adobe Illustrator CC?

    Thanks for the reply, I tried that but i wasn't able to get it to work. I also tried to see if l could using the
    function functionName()
    and I was still unable to.
    Silkrooster wrote:
    I haven't tried it yet, so i could be way off. But since you assigned it to a variable I would say it won't do anything until to call that variable. I would assume there must be a show command or similar that is needed for it to display.
    My experience is with actionscript and javascript but still I lean towards basic. I don't feel comfortable enough to say I am any higher yet as more experience is needed in my opinion.
    So feel free to take my advice with a grain of salt.

  • Just purchased CC Lightroom & Photoshop following a 30 day free trial. All worked well during the trial but now I have subscribed to the plan and downloaded the latest LR version I am unable to zoom into the images and just get a constant 'loading' box an

    Just purchased CC2015 Lightroom & Photoshop following a 30 day free trial. All worked well during the trial but now I have subscribed to the plan and downloaded the latest LR version I am unable to zoom into the images and just get a constant 'loading' box and spinning circle. Also, the whole system is very slow - very frustrating! Any ideas? I am running it on Windows 8.
    Mick

    You keep asking variants on this same question. You've had replies in all your other threads. If you can't find them, go here and click where it says Activity:
    Thomas Cannon Jr.

  • Hi! I just joined the creative cloud. As a photographer I would like to download photoshop and lightroom. When I try to do this, before the download starts, I get the message: 'we are experiencing some problems, please try later'. I've tried multiple time

    Hi! I just joined the creative cloud. As a photographer I would like to download photoshop and lightroom. When I try to do this, before the download starts, I get the message: 'we are experiencing some problems, please try later'. I've tried multiple times for the last 3 days but no change... Any ideas?

    Michelmolder please try utilizing a different web browser.  If you continue to experience difficulties then I would recommend reviewing Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html for information on how to install Photoshop and Lightroom directly through the Creative Cloud Desktop application.

  • Recently my mac has started making faint clicking noises just like a fan catching something as it spins round, it is only faint but i can notice it -any suggestions please

    Recently my mac has started making faint clicking noises just like a fan catching against something, it is only faint but loud enough to hear. any suggestions please

    While it could be a cooling fan, a noise like that is usually a sign of a dying hard drive. Back up everything immediately. Make immediate backups of any new documents you create after the full backup.

  • How to find the navigation bar at the apps, PDF reader Lite? after i zoom in, the navigation bar dissapear~ what should i do to make the navigation bar reappear?

    How to find the navigation bar at the apps, PDF reader Lite? after i zoom in, the navigation bar dissapear~ what should i do to make the navigation bar reappear?

    Hello,
    Yes it will be in your page template. You just need to move #NAVIGATION_BAR# substitution under the #LOGO# substitution tag, probably something like this should work
    #LOGO#&lt;div>#NAVIGATION_BAR#&lt;/div>
    Carl

  • In full screen mode how can i use keyboard shortcut just like

    recently i used adobe cs 5.1 version and some problem are there which problem was not in cs 3 and cs 4 in advance version why this problem kindly tell me the solve which may be i dont know
    my problem is, in photoshop  3 screen mode are there 1-standard screen mode, 2- full screen mode with menu bar  and 3- full screen mode
    in 3- full screen mode ---- in this view window how can i go to image-adjustments-brightness/contrast  through using only keyboard shortcuts just like ALT+I then A then C = brightness/contrast menu will come
             any body please solve my problem
         thank U very much

    Chris, he means the windows-only ALT+letters shortcuts, not brightness contrast in particular.
    RA, this is your third thread on the topic, please do not create multiple threads...
    http://forums.adobe.com/thread/957264
    and http://forums.adobe.com/thread/957168

  • I am using a computer with CS6 installed, but would like to install Photoshop CS2.

    Running Mavericks on an iMac early 2009 vintage; with a full edition of CS6. I would like to utilize Photoshop CS2 but the install program will not allow this. Is there a workaround? Any thoughts on the subject will be appreciated. Thanks for looking.

    The simple truth is the Adobe has added bugs into Photoshop they are unwilling to fix. They do not fix bugs reported by users that have given us scripts like Image Processor Pro so these outstanding users leave here.  Adobe has broken users work-flows removing features they used like Picture Package and Oil Painter.  Lightroom is a heavy load to bear just to get jQuery and brrige output web gallerises can nor be customized well.  You don't need light room to use jQuery.
    Not all Web Photo galleries were flash based. In fact the Html web galleries are the ones you can customize well. If all Adobe wanted to do was remove Flash web galleries they could have for the support they added for Flash galleries like simpleviewer was not well done and did not take advantage of the customization that simplviewer supports.
    Though with my subscription I can download and install Lightroom I don't. I tried some of the Lightroom betas which show me I did not want to used it so it was renoved. If Adobe wanted to change how one Process RAW files why did the not also change ACR why make users learn two user interfaced for raw processing.  Lightroon is not a full fledged image editor you need an image processor like Photoshop with Layers support to be able to blend raw conversions to bring out some details.   If your a business Lightroom Library may god send and something your IT staff can deal with.  For me Lightroom is a maintenance burden I don't need.
    Using Adobe Products means high maintenance Adobe release code before they should bug force user to work around them and use older working version of Photoshop.  Adobe support is not what it should be reported acknowledge bugs go unfixed release after release. Photoshop is powerful but has a high cost and I'n not talking money here IMO Photoshop price has always been reasonable for what what you can do with it.  You need to put in a lot of work into Photoshop to get value out of it. Photoshop is not suitable for the general public.
    Nancy O.r
    Suffice it to say, the features in CS2 were all good in their day but that was almost a decade ago.  A lot has changed since then.
    Most of the features in CS2 are still in CC 2014.  HTML web galleries are still relevant today. Photographer still want to sell Picture packages which CC 2014 can no longer create. Many thing were change in Photoshop some for the better like the removal of the extract plugin which was poor at best.  Photmerge and other features were greatly improves.   Still not all changes made were good. The quality of Photoshop code is not as good as it use to be...

  • I just bought a adobe photoshop elements 12 for windows in the store , why the serial number on the box is invalid ?

    i just bought a adobe photoshop elements 12 for windows in the store , why the serial number on the box is invalid ?

    Hi,
    Does your serial number have 24 digits starting with 1057?
    Note: Please don't quote your number as this is a public forum
    If your number is not like that it may be a redemption code. See if the following helps.
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    If you need help in finding a serial number inside the box, please see here
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    If you still need help, then you will have to contact Adobe. Look at the end of the page I first gave and you should see "Still need help" - click on that.
    Good luck
    Brian

  • Please help : How to make the anomalistic table just like below?

    Hi all,
    How to make the anomalistic table just like below? Anyone can give the way detail or thoughtway ?
    http://61.132.17.188/webber/table.gif

    This is just a suggestion.
    If you put your "JTable" in a "JScrollPane", then you can add any "java.awt.Component" to the corner of the "JScrollPane" -- using the "setCorner()" method (of "JScrollPane").
    I would suggest making a custon "JPanel" and overriding its "paintComponent()" method to draw a diagonal line (and the required text) on it.
    You can find out more about how to do this from the links I provided in my first reply.
    Hope this helps.
    Good Luck,
    Avi.

  • Please, Can't We Just Continue To Purchase Photoshop, not CC, Adobe?

    Please, could we just continue to purchase our programs, Adobe?
    I cannot go along with the Creative Cloud only option.  Although Adobe is offering great "discounts" on the Creative Cloud versions, they will absolutely raise the price each year.  (That is clearly stated in their "Terms.")  Adobe's "special discount introductory offer" goes to the "current price" after the first year.  The $9.99 / month special offer becomes $19.99 or $29.99 after a year (or much more - it is completely at Adobe's discretion how high it goes).
    I do not want or need the Cloud, Storage, or Collaborative "features" that are the hallmark of the CC releases.  I am pleased to wait for a year for new features.  (Updates for bug fixes should not be delayed, however.)
    This is just like the cable and satellite TV companies, they surreptitiously raise the monthly price, until you are paying INSANE amounts.
    Like Woody Allen said (my paraphrasing, sorry):
    "If you put a frog into a pot of cold water and slowly bring it to a boil, he will just sit there and boil - because the discomfort change is so slow, he'll hardly notice it, until he is thoroughly cooked!"
    Adobe wants us to be that frog.
    And once we have all signed up and are comfortable in our plan, Adobe wants us to forget that we are (almost invisibly to us) paying each month - while the price goes up and up each year.
    I just read about a student who signed up last year for the "introductory" CC pricing for students, and now his price is going up to $29.99 per month, after just one year.  And where does it stop? Do you think it stops at $29.99? 
    (Quick math solution: $29.99 X 12 = $359.88 PER YEAR, EVERY YEAR!  And this is not capped, so the upward monthly price is unlimited!)
    Although I love the products, I don't want to pay another gouging cable or satellite company!
    Thanks for listening.
    And Adobe, could you please, please continue to offer our "old-style" purchasing of new versions of Photoshop?
    I will not join the 'Cloud.' 
    Please join Me.

    To several answerers to my original post:
    I'm not crying about potential increases.  I'm demanding that Adobe end this affront to the long-time users that made Adobe (and Photoshop) an international success and a standard.  Yes, we have benefitted from an excellent, forward-pushing application.  But we did not get it for free, and every upgrade was at a cost.  Now, to stay "current," we have to accept a new "business model," that will make Adobe richer per user than previously imagined.  I purchased the Photoshop that was purchased outright, for me to use until my computer OS could no longer do so.  To change this method of using a program that we have used for so long is unacceptable.  I don't want to change - I should not have to change.  It is Adobe that established this method of selling the program to me, and although they can change whenever they want, I don't have to accept it.
    It is not enough that "I have the ability to go elsewhere for my imaging / retouching, etc. program.  Adobe owes us in a big way.  We do NOT have to accept this change, when they are taking a program that we all do need and use, and changing our ability to afford it or keep current with features, or when our operating system changes.  I do understand that Adobe wants to make money (I believe that they have, by the way).  But they are changing an understanding, or implicit agreement (whether explicit or "implied" - it does not matter) that we all had with them.  That understanding was that we would be supported in learning, using, and even forming businesses around their product - and we could be assured that they would continue to supply the product in a way that we could dependably and similarly continue to use it.  This is a MAJOR change from the usability that we have come to use, expect, and be comfortable with - and this is NOT acceptable!
    As long as Adobe is not satisfied with their subscriber base numbers, they will continue the low initial discount price.  As soon as their numbers approach what they want, the initial discount will end. 
    Will prices go up?
    Someone asked: "How do I know the prices will go up?"
    My initial answer was, "Have you subscribed to any satellite or cable services?"
    But here's an example clipped from these very forums:
    Creative Cloud billing issues...
    Dec 6, 2013 9:04 AM
    My year subscription to Adobe Cloud ends in a month and in an email I received it noted that my monthly bill will be going up from 29.99 to 49.99, I have tried to contact Adobe by online messenger and by the phone but no response yet. I am a student at Graduate School and had been paying the student price but now with my renewal it wants me to pay more....something is not right.
    If any help could be given, it would be greatly appreciated.
    Imagine your $9.99 Introductory Offer going up to $29.99 after one year.
    Because it WILL.
    So indeed, we may have no power to change this.  We know that they are going to TRY to do this anyway.
    But . . . We can still let them know just how strongly we DO NOT WANT THE CC only.
    Please: Everyone write Adobe! Tell them this is wrong!  Tell them NO!
    They may actually be listening after all.
    Or "go silently into that good night," knowing you just kept quiet and accepted what is best for them, without letting them know how you feel about it!

Maybe you are looking for