Resize the partition with unallocated forward space

Any means of:


1. reduce the partition and leave a space at the front?

2 extend the partition using unallocated in the front space?

Thank you!

Partition Wizard Home Edition:
http://www.partitionwizard.com/free-partition-manager.html
Some of the features and functions include: resize and move partitions,.
Restore the Partition after an accidental deletion, Delete partition, Create partition.
Format partition, convert partition, partition Explore, Hide partition,
Change the drive letter, a partition active Set.

Download and use the bootable CD version.

Just be aware that the first partition (usually hidden and only 100MB in size) contain the BCD store and it is need to start Windows 7, do not delete or move this partition.

JS
http://www.PAGESTART.com

Never be afraid to ask. This forum has some of the best people in the world to help.

Tags: Windows

Similar Questions

  • EL Capitan - impossible to resize the partition in disk utility

    I'm having a problem with resizing the partition of my drive (background: I have 2 partitions, 350g for mac and 150g for bootcamp) I want to resize the mac one in order to free up space.

    in normal startup, disk utility tells me target disk is too small. startup recovery, he says 'successful' but nothing happens.

    any tips?

    See this topic Support of Apple

    Disk utility (El Capitan): partitioning a physical disk

    'Expand volume '.

    If you have several volumes on a device, and one of them is running out of space, you will be able to expand without losing the files it contains.

    To enlarge a volume, you must delete the volume that comes after him on the device, and then move the end point of the volume you want to enlarge in the freed space. You cannot expand the last volume on a device. »

  • Resize the Partition Mac running two OSX

    I have two partitions on my mac, a race of El Capitan and the other Mountain Lion. The primary partition is El Capitan, which I can increase or decrease the size, but the secondary partition running Mountain Lion will not let me increase the size. Is it possible to increase the size of the secondary without do a wipe and reinstall on that partition?

    I tried most of the things were to resize the partition, bootcamp, but my secondary partition is NOT running windows

    No delete it and create a new one, which will erase its contents.

    (142381)

  • Resize the layer with smart filter without affecting the Smart Filter layer appearance

    I made a wax seals on photoshop with lots of embossing, bevelment and a dynamic filter. It's done and I just need to make it smaller so it fits well on my certificate. When I resize (Ctr + T) it appears a messgae which reads:

    ______________________________________________

    Adobe Photoshop CS6 extended

    "The dynamic filters applied to the layers contained in this group will be disabled at the temprarily while conversion is in preview. They will be applied after commit the transformation. »

    Ok

    [] Do not show

    ______________________________________________

    I click OK and I resize the layer with free transform, and then press ENTER. The layer is resized, but my smart filter that cretaes affect a shower around the joint is completely distorted.

    How to resize my layer with smart filter without affecting the appearance of dynamic filter of the layer

    Right-click on the name of the layer to smart object in the layers panel to get the menu below. Choose "Convert to Smart Object" to encapsulate the er and its smart filter and Layer Styles within a new KIND that can be resized without appearance changes.

  • How to extend the partition that has free space on the left with diskpart

    I bought an SSD and made a second partition on my HARD drive to transfer my data. I had planned to clone and move the light to my SSD partition, but read that I was better to do a new install. I made a new installation on the SSD drive, deleted the old partition of Windows 7 and went to add to the data partition unallocated space (unallocated space is to the left of the partition). I know that you can not do this with disk management, but I've done it before on my laptop Windows 7 by using diskpart. I found an article earlier about how use diskpart to do what disk management may not, but I don't know how or where I found it.

    I know I can do it with applications 3rd party like GParted, but knowing that it is possible, but don't remember how to do it with diskpart is driving me crazy. Can someone help me?

    Hi Schwaka,

    As a general rule, it is very easy to extend the partition when the free space is right behind, but what can you do with the space left? Most people will feel that it is really a great difficulty.

    Do not worry! Here I recommend you an easy to use, software AOMEI Partition Wizard Server Edition. It is so common among computer users and most of the people speak highly.

    Your problem, there are two choices for you. We have to move the space unallocated behind, and the other is to merge the free space on the data partition. Both functions may not be permitted in Windows 7 disk management. In addition to the two features, more functions are supported to manage your drive.

    Have fun with it!

    Best wishes!

  • I resized the partition of C: Lenovo IdeaPad Y500 laptop with the partion of aomei assistant and now I'm not able to start.

    Original title: I messed UP WITH MY 8 PREINSTALLED VICTORY AND IT DOES not START NOW

    My lenovo ideapad y500 supplied with windows 8 pre installed. I wanted to set/resize partitions as the laptop has been delivered with a single partition (C :). after I resized with the partion of aomei Wizard something happened and now I don't am not able to start. my laptop has been delivered with the pre-installed operating system, and she had no DVD of win8. I dinot do the recovery disks either. Some say that the product key is injected into the bios) , so I neednt worry about losing the win8 original license. any means now what shud I do to get reinstalled 8 victory! where can I download an image of victory 8 to install?

    LENOVO has this option of key recovery is not working too now that I changed the partitions. (IE it works if the partitions are unchanged)

    Help, please!

    You have an OEM key - make sure that it is the OEM version of win8.

    Lenovo has a drive engineering key which one of its options is to repair the functionality of the button a magical touch.

    Ask in the Lenovo forum if they can direct you to the download of recovery engineering key a repair disk and how to fix your recovery button.

    http://forums.Lenovo.com

    Can you get to a command prompt to start with a system repair disc or the installation or the upgrade disk...

    and taste the repair orders bootrec.exe/fixboot would be a good idea to start with.

  • Windows does not start after changing the partition with external software

    Hello

    I messed up and followed some bad advice.  Water under the bridge, but I want to recover my bootcamp partition if possible.  I've seen several messages with the right process, but decided to post hear instead of assumptions.  I am running OS X El Capitan on an early 2011 MacBook Pro.  My 256 GB SSD is a bit pressed and tried to be too stingy with the Boot Camp partition, so my current troubles after resizing.  I have 10 Windows on the bootcamp partition.

    I'm going to throw a bunch of data from my survey here.

    Capella: ~ list of the ronh$ diskutil

    / dev/disk0 (internal, physical):

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * GB 250,1 disk0

    1: disk0s1 EFI EFI 209.7 MB

    2: Apple_CoreStorage Macintosh HD 190,5 GB disk0s2

    3: disk0s3 Apple_Boot Recovery 650.0 MB HD

    4: Microsoft database BOOTCAMP 58.7 GB disk0s5

    / dev/disk1 (internal, virtual):

    #: NAME SIZE TYPE IDENTIFIER

    0: Apple_HFS Macintosh HD GB + 190,2 disk1

    Logical volume on disk0s2

    B6DC811B-004D-4245-83C9-8FAA0B51FD9E

    Unencrypted

    Capella: ~ list of cs ronh$ diskutil

    CoreStorage groups of logical volumes (1 found)

    |

    + Logical Volume - Group 487E3580-D1BE-4A6D-A33C-38C8DD8ABA34

    =========================================================

    Name: Macintosh HD

    Status: online

    Dimensions: 190546800640 B (190.5 GB)

    Free space: 19005440 B (19.0 MB)

    |

    +-< physical="" volume="">

    |   ----------------------------------------------------

    |   Index: 0

    |   Disc: disk0s2

    |   Status: online

    |   Dimensions: 190546800640 B (190.5 GB)

    |

    + -> 37BE876E-8E51-47C3-8D62-001EC021DE56 family of Logical Volume

    ----------------------------------------------------------

    Encryption type: no

    |

    +-> Logical Volume B6DC811B-004D-4245-83C9-8FAA0B51FD9E

    ---------------------------------------------------

    Disc: disk1

    Status: online

    Size (Total): 190175473664 B (190.2 GB)

    Reversible: Yes (no required decryption)

    Name: Macintosh HD

    Volume name: Macintosh HD

    Content indicator: Apple_HFS

    Capella: ~ ronh$ sudo TPG - vv - r show/dev/disk0

    Password:

    See the TPG: / dev/disk0: mediasize = 250059350016; SectorSize = 512; blocks = 488397168

    See the TPG: / dev/disk0: MBR suspicious to sector 0

    See the TPG: / dev/disk0: Pri GPT to sector 1

    See the TPG: / dev/disk0: GPT Sec at sector 488397167

    start index size summary

    0 1 MBR

    1 1 Pri GPT header

    2 32 table GPT Pri

    34 6

    40 409600 1 part TPG - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

    409640 372161720 2 part TPG - 53746F72-6167-11AA-AA11-00306543ECAC

    372571360 1269536 3 part TPG - 426F6F74-0000-11AA-AA11-00306543ECAC

    373840896 1024

    373841920 114554880 5 part TPG - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

    335 488396800

    488397135 32 table dry GPT

    488397167 1 dry GPT header

    of gdisk.

    Command (? for help): p

    Disk/dev/rdisk0: 488397168 sectors, GiB 232.9

    Logical sector size: 512 bytes

    Identifier (GUID) of disc: FD5932B4-069B-4CCE-A2EE-99AB5720CA17

    Partition table contains up to 128 entries

    First usable sector is 34, last usable area is 488397134

    The partitions will be aligned with the boundaries of sector 8

    Total free space is 1365 sectors (682,5 KiB)

    Starting number (sector) end (sector), Code name of size

    409639 40 1 200.0 of MiB EF00 EFI system partition

    2 409640 372571359 177.5 giB AF05 Macintosh HD

    3 372571360 373840895 619.9 MiB AB00 Recovery HD

    5 373841920 488396799 54.6 giB 0700 BOOTCAMP

    It is worth spending time to recover?  Thank you.

    Ron

    1. can you describe the problem and the steps you took to get here?

    2 can scroll you down to the next MS data (after that highlighted) and press 'p' to the list of files? Press ESC, once only, to return to this list.

  • Can not resize the partition on the Satellite A100-998

    Hello
    I am owner of toshiba satellite A100-998 with 200 GB hard drive. By default there is only 1 partition on the HARD drive when I try to resize this partition and create another 8 partition magic shows me error that it cannot write to the boot sector and it fails. I didn't install any software on this computer and it has the latest version of the bios.

    Ranish partition Manager displays the same error.
    I don't know what the problem is because I've done similar operations on multiple computers with all the problems.

    Thanks in advance for any suggestions

    Hello

    I also use the magic of 8 Partitions for creating and management of simple partitions on the HARD disk.
    But I wonder about the size of your HARD drive. As I know the Partitions Magic 8 does not support 200 GB HARD drive. I didn t to test but the partitions on the manufacturing site manual says it does not support.

    However, sometimes, I had similar problems with my 80 GB HARD drive. The simple solution was to defragment single partitions.

    I put t know if it will help you because of you HARD drive size, but you can try it.

  • Cannot resize the partition to the desired size?

    I'm trying to resize a partition in the C drive of 15 GB and another one to 15 GB. However it gives me a value of maximum shrinkage of 8160 MB. I started to have only a maximum reduction of 79 MB value, but after disabling the system restore, run the Disk Cleanup Wizard, and the deactivation of page files I was able to get to 8160 MB. I have a 289 GB HDD with 137 GB free. I don't understand why it's only allowing me to reduce approximately 8 GB since I was 137 GB free. Any ideas?


    http://S352.Photobucket.com/albums/R351/jacobB12/?action=view¤t=Untitled1.jpg&newest=1

    http://S352.Photobucket.com/albums/R351/jacobB12/?action=view¤t=Untitled2.jpg&newest=1

    Hello

    These should contribute.

    How to make a partition in Windows Vista
    http://www.YouTube.com/watch?v=0iWEWysI6jY

    How to cut and create a Partition with Vista disk management
    http://www.Vistax64.com/tutorials/95398-disk-management-shrink-partition.html

    Create and format a hard disk partition
    http://Windows.Microsoft.com/fr-FR/Windows-Vista/create-and-format-a-hard-disk-partition

    How Partition in Windows Vista (extend and shrink)?
    http://www.LyteByte.com/2007/02/19/how-to-partition-in-Windows-Vista-extend-and-shrink/

    How to resize a partition on Windows Vista
    http://www.vistarewired.com/2007/02/16/how-to-resize-a-partition-in-Windows-Vista
    How to remove and extend a Partition with Vista disk management
    http://www.Vistax64.com/tutorials/95418-disk-management-delete-extend.html

    How to remove a partition on your hard drive?
    http://wiki.answers.com/Q/How_do_you_remove_a_partition_on_your_hard_drive

    Change or resize Partition (NTFS, FAT or FAT32) size in Windows Vista
    http://www.mydigitallife.info/2006/11/27/change-or-resize-partition-NTFS-FAT-or-FAT32-size-in-Windows-Vista/

    How to resize, extend, reduce, remove, Merge Partitions in Vista.
    http://www.WinVistaClub.com/T11.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Satellite P300 - player of the Partition with Vista

    Hello.

    I bought a P300-PSPC4C-SE308C demo, and it has installed Vista. I want to downgrade to XP. The drive is 300 GB and is distributed as a single drive. I would like to partition a drive C: and D:. I went into the BIOS and changed the AHCI on the 'compatibility' mode, if I understand correctly that he need to change than the AHCI setting, so that the laptop to 'see' XP. Now, I need to partition and format the drive. At first, I tried to install my Partition Magic 8, but it does not work with Vista. I tried to use "fdisk" to boot Windows 98 drive program, and he acknowledged only the reader as 49GB.

    I need to know how to partition and format the drive and then install my XP. Any and all help would be appreciated.

    Thank you very much... DJ

    Hello

    You can also use a free program called GParted.
    It s partitions management software that allows you to erase, to create, to shrink the partitions.

    Nice tool and free!

  • Cannot delete the partition with windows xp a clean installation

    Hello
    Thanks in advance for any help.
    I'm doing a clean install of windows xp pro. When I get to the screen to delete the partition by pressing the d nothing happens. I'm sure start out of the cd. First attempt to do a fresh install. Any help would be appreciated

    Hi rlsajs,

    Is it a custom computer or pre-built as a HP, Dell, etc. ?
    Is your USB keyboard? If so, you may need to enable "bios powered" usb in the BIOS of your computer.
    By default, many computers are set to "Operating System" controlled USB which means that your keyboard does not work entirely until Windows has started, and you need it to work before Windows started as you go through the Setup for a new installation.
    Hope this helps and answer back with questions. If you need help getting into the BIOS of your system you will need to contact the manufacturer of your computer.
    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can resolved e. Changes to settings are at your own risk.
  • Resize the image with HTML5 Canvas - distortion

    Hi all

    I'm working on a Webworks app where I need to resize an image to upload it to a server. I use JQuery Mobile, the application should run on OS6 and upward. The user can use the camera or select a picture, the power off. The corresponding code is the following:

    function handleOpenedFile(fullPath, blobData) {
                    var image = new Image();
                    image.src=fullPath; //path to image
                    image.onload = function () {
                        var resized = resizeMe(image); // send it to canvas
                        //Do stuff with the DataURL returned from resizeMe()
                    };
            }
    
    function resizeMe(img) {
    
                var canvas = document.createElement('canvas');
                var width = Math.round(img.width / 2);
                var height = Math.round(img.height / 2);
                canvas.width = width;
                canvas.height = height;
                var ctx = canvas.getContext("2d");
                ctx.drawImage(img, 0, 0, width, height);
                return canvas.toDataURL("image/jpeg", 0.8);
            }
    

    I then use the Base64 in the DataURL for download on the server. The images are reduced, but they are truncated. Parts of the image are shifted autour and colors come out strange. It is not scaling in itself than the mess to the top of the picture it comes out garbled if you draw on the canvas without any scaling.

    Does anyone have an idea how to solve this problem or have another suggestion to resize an image for download?

    I managed to solve the problem of resizing for anyone who takes place also in this. Replacement of

    return canvas.toDataURL("image/jpeg", 0.8);
    

    with

    return canvas.toDataURL();
    

    solved the problem with the strange visual artifacts. Returns a picture of resized without any strangeness.

  • Cannot move or resize the tablet with pen input panel

    I have a Fujitsu Q550 tablet.  Recently, tablet input panel responds more correctly.  Is no longer, I can move the Panel or resize it with the stylus.  If I connect a mouse and a keyboard to it I can move and resize the input panel by using the mouse.  I can still write in the Panel, I can just change its size or position.  How can I fix?

    I have the answer, that everyone is looking for!

    fixed it, I'm just disappointed that no admins found this first:

    http://support.Microsoft.com/kb/2984930

    Please make sure that it gets stickied as the answer.

    1.) click on "available hotfix download.

    2.) choose your operating system that is affected (7 or Vista)

    3.) enter your email which connect the https may be sent to you

    4.) click on the link in your email to download the executable file from the fix

    5.) check if you have a restore point before installing in case this does not work as expected.

    6 installation.)

    7.) restart the computer as prompted

    8.) fixed! FINALLY. :)

  • Resize the document with Tables

    I use InDesign CS6.

    I have more than 100 documents, with tables. I need to resize my documents 48 p 9 x 65 p 3 to the new small size 44 d 3 x 54 p 0.

    When resizing the document is it possible that tables will be will resize automatically also?

    New page in same proportions not same size of the original page size. So can not just scale the page more small.

    But you can scale a table if you to scale the block of text that appear in the table. Make the text frame exactly the same size as the table. Then hold down the Cmd/CTRL + SHIFT and scale the text block to a corner.

  • Resize the Image with the wheel causing exception 1502

    Description:

    I load an image inside a container of border and when I Zoom out, scroll bars disappear as expected. Now, when I resize the image to exceed the limits of the boarder container I get exception below. In my view, the exception is thrown when the scroll bars are reactivated but I could be wrong. Someone has seen this before

    Exception:

    Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
    at spark.components.supportClasses::ScrollBarBase/get viewport()
    at spark.components::VScrollBar/updateMaximumAndPageSize()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\VScrollBar.as:123]
    at spark.components::VScrollBar/http://www.adobe.com/2006/flex/mx/internal::viewportResizeHandler()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\VScrollBar.as:390]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:12266]
    at mx.core::UIComponent/dispatchResizeEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9641]
    at mx.core::UIComponent/setActualSize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9172]
    at spark.components::Group/setActualSize()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\Group.as:891]
    at mx.core::LayoutElementUIComponentUtils$/setLayoutBoundsSize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\LayoutElementUIComponentUtils.as:497]
    at mx.core::UIComponent/setLayoutBoundsSize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:13069]
    at spark.components.supportClasses::ScrollerLayout/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\supportClasses\ScrollerLayout.as:546]
    at spark.components.supportClasses::GroupBase/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1224]
    at spark.components::Group/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\Group.as:899]
    at spark.skins::SparkSkin/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\skins\SparkSkin.as:191]
    at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8531]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:663]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:736]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    
    

    MXML code:

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                      xmlns:s="library://ns.adobe.com/flex/spark" 
                      xmlns:mx="library://ns.adobe.com/flex/mx"
                      xmlns:ns1="com.adobe.wheelerstreet.fig.panzoom.*"
                      pageTitle="FileNet Flex Viewer"
                      minWidth="955" 
                      minHeight="600" 
                      creationComplete="init()">
         <fx:Style>
              @namespace s "library://ns.adobe.com/flex/spark";
              @namespace mx "library://ns.adobe.com/flex/mx";
              /*
              s|Application {
              backgroundGradientColors: #000000, #222222;
              }          
              */
              s|Button#zoomInButton {          
                   skinClass: ClassReference("skins.ZoomIn");
              }
              
              s|Button#zoomOutButton {          
                   skinClass: ClassReference("skins.ZoomOut");
              }
              
              s|Button#fitToWindowButton {          
                   skinClass: ClassReference("skins.FitToWindow");
              }
              
              s|Button#fitToWidthButton {          
                   skinClass: ClassReference("skins.FitToWidth");
              }
              
              s|Button#fitToHeightButton {          
                   skinClass: ClassReference("skins.FitToHeight");
              }
              
              s|Button#rotateRightButton {          
                   skinClass: ClassReference("skins.RotateRight");
              }
              
              s|Button#rotateLeftButton {          
                   skinClass: ClassReference("skins.RotateLeft");
              }
              
              s|ToggleButton#rubberBandZoomButton {          
                   skinClass: ClassReference("skins.RubberBand");
              }
              
              
              
         </fx:Style>
         
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here 
              <s:Rotate id="rotator" angleFrom="{angle-90}" angleTo="{angle}" target="{img}"/>
              -->
              <s:Resize id="resize" target="{img}"/>
              <s:Rotate id="rotate" target="{img}"/>
              <!--<s:Resize id="contract" target="{img}"/> -->
         </fx:Declarations>
         
         
         <fx:Script>
              <![CDATA[
                   
                   import flash.net.navigateToURL;
                   
                   import mx.controls.Alert;
                   
                   [Bindable]
                   private var _imageURL:String = "images/earth-map_small.jpg";
                   
                   [Bindable]
                   public var angle:Number = 0;
                        
                   [Bindable]
                   private var borderHeight:Number;
                   
                   [Bindable]
                   private var borderWidth:Number;
                   
                   private var effectDuration:Number = 250;
                   private var defaultRotation:Number = 90;
                   
                   private var profits:Array;
                   private var dragStart:Point;
                   private var dragEnd:Point;
                   private var zoomingEnabled:Boolean;
                   
                   public var originalHeight:Number;
                   public var originalWidth:Number;
                   
                   public function init():void{
                        originalHeight = img.height;
                        originalWidth = img.width;
                        borderHeight = borderContainer.height - 5;
                        borderWidth = borderContainer.width - 5;
                   }
                   
                   
                   public function fitToWindow():void{
                        resize.end();
                        resize.duration = effectDuration;
                        
                        if(img.rotation == defaultRotation || img.rotation == -defaultRotation){     
                             resize.heightTo = borderWidth;
                             resize.widthTo = borderHeight;
                        }
                        else{
                             resize.heightTo = borderHeight;
                             resize.widthTo = borderWidth;
                        }
                        
                        resize.play();
                   }
                   
                   public function fitToWidth():void{
                        resize.end();
                        resize.duration = effectDuration;
                        
                        if(img.rotation == defaultRotation || img.rotation == -defaultRotation){
                             resize.heightTo = borderWidth;
                        }
                        else{
                             resize.widthTo = borderWidth;
                        }
                        
                        resize.play();
                   }
                   
                   public function fitToHeight():void{
                        resize.end();
                        resize.duration = effectDuration;
                        
                        if(img.rotation == defaultRotation || img.rotation == -defaultRotation){
                             resize.widthTo = borderHeight;
                        }
                        else{
                             resize.heightTo = borderHeight;
                        }
                        
                        resize.play();
                   }
                   
                   public function zoomIn():void{
                        resize.end();
                        resize.duration = effectDuration;
                        resize.heightTo = img.height*2;
                        resize.widthTo = img.width*2;
                        resize.play();
                        
                   }
                   
                   public function zoomOut():void{
                        resize.end();
                        resize.duration = effectDuration;
                        resize.heightTo = img.height/2;
                        resize.widthTo = img.width/2;
                        resize.play();
                   }
                   
                   public function rotateRight():void{
                        rotate.end();
                        rotate.duration = effectDuration-200;
                        rotate.angleFrom = angle;
                        rotate.angleTo = (angle += defaultRotation);
                        rotate.play();
                   }
                   
                   public function rotateLeft():void{                    
                        rotate.end();
                        rotate.duration = effectDuration-200;
                        rotate.angleFrom = angle;
                        rotate.angleTo = (angle -= defaultRotation);
                        rotate.play();
                   }
                   
    
                   private function initRectangle(e:MouseEvent):void{
                        
                   }
                   
                   private function showShowRectangle(e:MouseEvent):void{
    
                   }
                   
                   private function clearRectangle(e:MouseEvent):void{
    
                   }
                   
                   
              ]]>
         </fx:Script>
         
         <s:Panel
              id="mainPanel"
              left="5" 
              right="5" 
              top="5" 
              bottom="5" 
              title="FileNet Flex Viewer" 
              fontWeight="bold">
              
              
              <mx:ApplicationControlBar dock="true" top="0" left="0" right="0">
                   <s:Button 
                        id="zoomInButton"
                        toolTip="Zoom In"
                        click="{zoomIn();}"
                        />
                   <s:Button 
                        id="zoomOutButton"
                        toolTip="Zoom Out"
                        click="{zoomOut();}"
                        />
                   <s:Button 
                        id="fitToWindowButton"
                        toolTip="Fit To Window"
                        click="{fitToWindow();}"
                        />
                   <s:Button 
                        id="fitToWidthButton"
                        toolTip="Fit To Width"
                        click="{fitToWidth();}"
                        />
                   <s:Button 
                        id="fitToHeightButton"
                        toolTip="Fit To Height"
                        click="{fitToHeight();}"
                        />
                   <s:Button 
                        id="rotateRightButton"
                        toolTip="Rotate Right"
                        click="{rotateRight();}"
                        />
                   <s:Button 
                        id="rotateLeftButton"
                        toolTip="Rotate Left"
                        click="{rotateLeft();}"
                        />
                   <!--<s:ToggleButton 
                        id="rubberBandZoomButton"
                        toolTip="Rubber Band Zoom"
                        click="{}"
                        />
                   -->
              </mx:ApplicationControlBar>
              
              <s:BorderContainer 
                   id="borderContainer"
                   right="5" 
                   left="5" 
                   top="40" 
                   bottom="5">
                   
                   <s:Scroller
                        width="100%"
                        height="100%">
                        <s:Group>
                             <mx:Image 
                                  id="img"
                                  maintainAspectRatio="false"
                                  maintainProjectionCenter="true"
                                  source="@Embed('images/earth-map_small.jpg')"
                                  verticalCenter="0"
                                  horizontalCenter="0" 
                                  horizontalAlign="center" 
                                  verticalAlign="middle"/>
                        </s:Group>
                   </s:Scroller>
              </s:BorderContainer>
         </s:Panel>
         
    </s:Application>
    
     
    

    I think that this smaller version shows the consisently (attached JPG) question:

    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" >
       
       
            public function fitToWindow (): void {}
    IMG. Height = borderContainer.height;
    IMG. Width = borderContainer.width;
    }
    ]]>
       

       
       
           
       

       
       
           
               
                   
    horizontalCenter = red '0' = '0' / >
               

           

       

       

    Looks like the interaction of Red/horizontalCenter with the add/remove scroll bars causes a loop.  Can you please fill a bug report and post the link here?  (Or let me know if you prefer that I have put it).

    The workarounds are:

    1. in the fitToWindow() method to subtract enough pixels to consider both sides of the border, for example:

    public function fitToWindow (): void {}
    IMG. Height = borderContainer.height - 2;
    IMG. Width = borderContainer.width - 2;
    }

    2. always keep the scroll bars displayed, for example:

    3. instead of use BorderContainer use SkinnableContainer/group and draw the border outside the container, for example:


           
               
                   
               

           

      
           
               
                   
                       
    horizontalCenter = red '0' = '0' / >
                   

               

           

       

    Let me know if these solutions of workaround for the case also reduces work for your application.

Maybe you are looking for