Scrolling issues (build 370)

I see some really strange behavior with the scrolling related properties on the class controller container in build 370. From what I see, the values for contentHeight change as the verticalScrollPosition changes, even if the content of the text stream has not changed. This is very apparent with a really long text stream in a container. The problem is that the scroll bars get new values for the width/height content all the time and eventually they jump around a lot that you highlight the container.

There something different here that I forget? I'm basically just passing the sizes of content and scroll positions directly in the scroll bars, which had always worked well in the past. Now the scrolling can be very erratic. Anyone have any ideas?

Thank you
Brent

Yes, it's true. contentWidth and contentHeight return an estimate based on the amount of text is currently composed. If you have a scrolling container, with more text that fits, you can find that it is inaccurate. If you want a completely accurate account, call composePosition() of the container before accessing the contentWidth and contentHeight. It will be slower, but accurate.

Tags: Adobe Open Source

Similar Questions

  • TLF build 370 available

    For a description of the API changes in this release, see this blog post: changes of API TLF in build 370

    Highlights include:
    • Merger of the Format Classes
    • Changes to styling
    • Class TextLayoutFormat element FlowElement API
    • The user styles
    • Non - inheritance of Styles
    • FlowElement id and styleName properties element

    Now available at:
    http://opensource.Adobe.com/wiki/display/FlexSDK/download+Flex+4
    Construction + 4.0.0.5009

    Go directly to the SWCs (for Flex 3.2):
    http://opensource.Adobe.com/svn/opensource/Flex/SDK/trunk/frameworks/libs/

  • Satellite P870 - Touchpad scrolling issues

    I have a P870 (PSPLFA-019001)

    I had trouble with the touchpad. If I move the touchpad no matter where the screen scrolls vertically (not just on the right scroll bar) and the mouse is stationary. When I touch the trackpad under the clickable buttons somehow, it disables scrolling so I can move the mouse.

    I went to the control panel mouse options and:
    * can't take off vertical scroll [Pic | http://i224.photobucket.com/albums/dd152/_Rebeccabec_/MouseProperties_zps7d8e2841.png |] PIC] [Pic | http://i224.photobucket.com/albums/dd152/_Rebeccabec_/MouseProperties_zps7d8e2841.png |] Peak Vertical scrolling]
    * handicapped scroll and most of the trackpad gestures. [Pic | http://i224.photobucket.com/albums/dd152/_Rebeccabec_/MouseProperties2_zps40a5d713.png |] Options disabled]
    * I tried F5 to toggle the mouse. no change

    I don't know what to do now. Help, please! Also, I uploaded a (bad) video to show you what is happening. It was difficult to show a single hand. [Video link | https://www.youtube.com/watch?v=8MEikPtlgcQ |] Touchpad]

    The key is that this issue is resolved. Thanks for the comments.

  • Computer laptop scroll issue on product number: F5Y85UA #ABA

    My laptop has begin to scroll continuously on all. At first I noticed when browsing the web and I couldn't scroll through or keep scrolling down.  I have tried a reboot and the computer would not start due to scrolling. I found that if I pressed 'end' on the keyboard, scrolling stops, but the scrolling continues to recur whenever I stop the laptop or it reboot.  I rarely use the keyboard or a touchpad on the laptop, because I have arthritis and found that the external usb mouse and the keyboard is easier. Any thoughts on what I can check to see what is causing the problem?

    Too bad. Issue seems to be resolved for now. I deleted all keyboard/mouse drivers and let them reinstall and it seems to have now solved the problem. Not sure, but I think he might have been linked to a recent update Windows 8.1 that I noticed the problem after I updated.

    UGG... I thought that the problem has been resolved... but is not after a few more restarts, the scrolling problem is back. I removed the external usb mouse and keyboard and the problem continues to happen again. I'm going to do a scan complete antivirus, but I don't think that is the question. Something else I can check?

    It does seem like a hardware problem. You may contact support for repair options: Technical Support HP, 1-800-474-6836 in North America. For all other regions, please click here.

  • Apex 5.0 - scrolling page builder

    Don't anyone who lacks the ability to scroll from one page to the other in page Builder Apex? There are many times when I want to check a specific component or an attribute of many pages and be able to browse all the pages was very convenient for me. Now, you must click the pop-up icon, wait for the list of pages to be loaded into the context menu (who basically takes the same amount of time it will take to load the next page), select the page and then wait for this page to load in Report Builder. I know probably sounds like I'm whining here, but I really used this feature, and it's over now (at least I think it is). If she's still here, someone please see me if I can get productive with Apex 5, as I was with all earlier versions.

    Earl

    Hi Earl,

    Thank you for your comments. Unfortunately, this feature is gone in the Page Designer. We tried to reduce the number of buttons in the toolbar of the designer of the Page to avoid clutter. We discussed back, especially because our PM David Peake also liked use present in its demonstration sessions to go a page preview in the detail screen. But at the end of the day, we arrived at the conclusion that there probably used only in a limited number of use cases, because most of the time pages is not grouped by number and added to the site in a random order.

    But this does not mean that we couldn't add a keyboard shortcut (for example: Ctrl + left or Ctrl + up/down) to restore this kind of functionality, if demand is sufficient. Can you please request a feature to http://apex.oracle.com/vote so that others can start to vote.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • Press the scrolling issues after a clean install of 7.

    I recently installed 7 with a cloth from disk on my Pavilion dv4.  After a successful installation, the only thing I see that does not work is the scroll on my touch pad feature.  I need to find a new driver for 7?

    Hey Mathew,.

    Welcome to the Forum,

    Try this:

    The system Web site:

    HP Pavilion dv4-1281us notebook PC

    Look in Categotry "driver - keyboard, mouse and input devices" > "ALPS pointing device...."

    Download the driver on your computer (save), double-click it to install it.

    While you're there (at your Web page), you can bookmark and pick up another software that you want for your system.

    I hope this helps.

    Say 'Thank you' by clicking on the stars Kudos in the post helped you.

    Mark a message 'acceptable' to say that your problem is solved.

  • Mouse and scrolling issues

    When I use my left mouse button to scroll down an e-mail with the arrow pointing downwards, the email click on worms instead of scrolling down. I checked the settings of the mouse without result!

    You are in the wrong forum.  This forum is for the Vista installation.  Please use the Vista desktop and personalization forum at the

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-desktop?page=1&tab=no

  • IntelliPoint mouse, Smooth Scrolling issues, the Domino effect on my laptop

    One thing leads to another.  Starts on my mouse won't smooth scroll at all, but large gaps instead, very rough.  I tried for more than a month to understand the problem.  I have no control on it, the options he list not except possibly registration to enable it, and I'm not sure that I watched this so many times and in many ways my memory, it's go/burned.
    Anyway so I think is the mouse, blah blah.  But now I think it could be that when I installed Intellipoint that I had a mistake in doing so it maybe that's the problem.  Very well.

    So I tell me to reinstall intellipoint, but I cannot do this until I uninstall the mouse too, but I can't uninstall the mouse because it explains how it works, but I'll be darn if I know where its unplugged and worthless.

    So I can't reinstall intellipoint until I have remove the old intellipoint, but it wont let me until I do something with the mouse and I can't do the mouse because its supposedly running.

    This is impossible until you do this and basically I'm going crazy, how can I close a program in execution of the mouse?

    I have been at this for so long and am so frustrated his everything works together in my head until I don't remember what I did to WHO.

    Help, please.

    Hi kcsummer,

    I suggest you try the following steps to resolve the problem of the mouse.

    Step 1: Follow the steps mentioned in the link below

    Troubleshoot a wireless mouse that does not correctly

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

    Step 2: Follow the steps mentioned in the link below

     

    Troubleshoot installation of Intellipoint and IntelliType LifeCam software

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

     

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • VerticalFieldManager with a fixed size: scroll issue

    Hello

    I try to have a full screen UI in a fix header (some fields Manager) and a scrollable (a list of custom field) content. The idea is to emulate a kind of drop-down list.

    To do this, I made a custom VerticalFieldManager that accept a maxHeight (the screen height - the height of the header).

    I had the following problems:
    -The scroll arrows are not displayed (never)
    -On OS 4.7 (Storm), I can scroll further down that last point to have nothing on my screen, but the header.

    My code need to compile with the JDE 4.2.1 & 4.7 and running on Pearl and storm. (at least I might have two versions of this class)

    I suspect that the two problems are related. I probably do something wrong. I looked at a few example/forum and always find a similar solution.
    Can Guys tell me what I did wrong?

        /**
         *  custom class, so we can set a max height (to keep the header visible)
         */
        class InvVerticalFieldManager extends VerticalFieldManager{
        private int maxHeight = 0;
    
        InvVerticalFieldManager(int _maxHeight){
          super(
           //this provoc an "empty scrollable zone" on Storm
           // but if you don't put it, on other OS, the vertical manager does not scroll at all.
           Manager.VERTICAL_SCROLL
    
           | Manager.VERTICAL_SCROLLBAR
           );
          maxHeight = _maxHeight;
        }
    
        protected void sublayout(int width, int height){
                super.sublayout(width, getPreferredHeight());
                setExtent(width, getPreferredHeight());
        }
    
        public int getPreferredWidth() {
            return Graphics.getScreenWidth();
        }
    
        /**
         * allow the manager to use all the given height. (vs auto Height)
         */
        public boolean forceMaxHeight = false;
        public int getPreferredHeight() {
          if (forceMaxHeight) return maxHeight;
          int m = super.getPreferredHeight();
          if (m > maxHeight) m = maxHeight;
          return m;
        }   
    
        ////////////////////////////////////////////////////////////////////////////
    
        protected boolean isUpArrowShown(){
          //TODO: does not seem to work (4.2.1 emulator & 4.5 device). (called with good return value but the arrows are not painted)
          int i = getFieldWithFocusIndex();
          //Trace("isUpArrowShown " + i);
          return i > 0;
          // note: algo not correct, cause the up arrow will be visible event when no field are hidden.
          //       but not so bad, so the user "know" that he can go up.
        }
    
        protected boolean isDownArrowShown(){
          int i = getFieldWithFocusIndex();
          return i < getFieldCount();
        }
    
        ////////////////////////////////////////////////////////////////////////////
        // note : since 4.6 you can use
        // http://www.blackberry.com/developers/docs/4.6.0api/net/rim/device/api/ui/decor/Background.html
    
        public int myBackgroundColor = 0xffffff;
        protected void paint(Graphics g){
            g.setBackgroundColor(myBackgroundColor);
            // Clears the entire graphic area to the current background
            g.clear();
            super.paint(g);
        }
    
        }
    

    any help is welcome.

    I got it!

    the solution to add the header as raw material and the other the field in a factory of value for money. BUT, you must call 'super (NO_VERTICAL_SCROLL)' in the constructor of the form.

  • Parallax Scrolling Issues in Dreamweaver CC

    Hello

    I have problems with the Parallax scrolling for the first picture (top) on the website www.imago-graphics.com. This happens mostly with chrome, but also with Firefox to a lesser extent. When first loaded, it works fine. But if you scroll down beyond the initial image, then save again, the image disappears sometimes, or does that part (the top would be cut), and the Parallax does not, as if it's getting snagged on something. I'm kind of a newbie when it comes to the Parallax and so far have not been able to find something online that answers my question. Any help would be most appreciated.

    Thanks for the pointers!

    MP

    In fact, thought of her! There are actually two instances of the same image, which, for some reason, he does have the hiccups during the transition.

  • Complex scrolling issue - gel components?

    I'm giving a scroll effect analogous to "freeze the shutters" in Excel.  I have a large container that results in scrolling and want the container to the left of it to scroll vertically with her, but the container above it to scroll horizontally with her.  I don't want the containers either above or to the left to scroll off-screen, so I can't just slap everything in a single container and scroll.

    My current plan is to simply send events in the world so that the main container of vertical scrolling will also notify the container left where it should scroll and also for the upper container.  Is there a better way to do it?  It sounds simple in concept, but once you begin to try to structure in MXML, it becomes clear that there is no easy way to do it.

    Thank you

    OK, if I understand you correctly, you want to connect the scrolling of the containers, NOT keep containers in view when the application window scrolling.

    Here's the code showing how you can bind the scroll bars in two containers. It assumes that you have scroll bars in containers and they are always the same height, so I put in dummy data to achieve this. Paste it into a new application, run it and see the scroll bars when you click the link button.

    Linking two containers with different lengths of data inside is a little more complicated, but can also be performed.


    http://www.Adobe.com/2006/mxml"layout ="absolute"viewSourceURL =" srcview/index.html">"

        Import mx.events.ScrollEvent;
    private void ghostScroll(event:ScrollEvent):void {}
    Called by scrolling through the data grid.
    var dgMaxVertScrollPos:Number = event.target.maxVerticalScrollPosition;
    var dgCurrentVertScrollPos:Number = event.target.verticalScrollPosition;
    Calculate the percentage of scroll the data grid:
    var dgPercentScroll:Number = dgCurrentVertScrollPos/dgMaxVertScrollPos * 100;
    txtDGScrollPos.text = dgPercentScroll.toFixed (2) + '% ';
    If {(btnLinkScrolling.selected)
    Now calculate/set the Vbox scroll based on the data grid:
    VB1.verticalScrollPosition = vb1.maxVerticalScrollPosition * (dgPercentScroll/100);
    }
    }
    ]]>
       
     
        
            1
        

        
            3
        

        
            4
        
         
        
            5
        

        
            6
        

        
            7
        

        
            8
        
         
        
            9
        

        
            10
        

        
            11
        

        
            12
        
         
        
            13
        

        
            14
        

        
            15
        

        
            16
        
         
        
            17
        
                  
     

         

       
           

                Lorem ipsum a homero habemus euripidis vim, by id amet appareat, stet ad ornatus iudico mea perfecto. His moderatius id, fierent albucius nullam semper movet no sound has vivendum maiestatis reformidans. Odio EU dicant screw screw in erat sale adversarium, blandit vituperatoribus definitiones ut vix. PRI numquam MPCs, movet prodesset vel id id.
           
       
       

       
       
       
       
    Scroll = "{ghostScroll (Event)}" > "
           
               
           
       
       


       
       
       

  • X 360 spectrum (4110dx): reverse the scrolling is not consistent throughout the BONE

    I just got my X 360 spectrum and I have two reverse scrolling issues:

    1 scrolling on the Touchpad does not always work. I found the option to turn it off (when I slide down, I want the screen to do the same thing), but it works only in some applications, like Google Chrome, but not in the settings or Windows store. Is it possible to get this to be consistent in all of everything?

    2. in addition, it resets after that I restarted my computer. My choice can be set to a default value?

    Thanks for any help.

    Hello

    Try the following.

    First, download the installer of the Synaptics driver from the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp72501-73000/sp72919.exe

    Then, open windows control panel, open programs and features, right click on the entry "Synaptics Pointing Device Driver" and choose uninstall.

    When this has completed, restart the laptop.

    When windows has completely recharged, open your download folder, click with the right button on the setup of Synaptics and select "Run as Administrator" to launch the installation.  When this has completed, restart the computer again.

    When windows has reloaded, hold down the Windows key and press R

    In the run box, type regedit and press enter

    In the registry editor, navigate to the following

    HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTP\Install

    Inside, look for a key named DeleteUserSettingsOnUpgrade

    If it is present, right click on the key and select Edit

    Set the field data of the value 0 (zero) , and then click Ok.

    Close the registry editor.

    Make the Synaptics setting changes you need in the usual way and save them, and then check if they are now kept after a reboot.

    Kind regards

    DP - K

  • questions on a few pages of scrolling

    Hi, I have a web application works in many pages, tehre are scrolling issues such as bounce, authorized users to drag beyond screen type of questions, how to resolve these.

    Add iscroll page solved my problem, now there is no effect of rebound for the entire page, but the rebound is only for the body between my header and foooter

  • Notebook HP 1000: Software related issue

    The direction of travel is reversed after Win 10 installed on my system.
    The driver has been installed through windows update. Is there a solution to this? It is the origin of the trouble when using the laptop.

    Hello @NadeemAkram ,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your laptop HP 1000 and smile not scrolling properly. Here is a document on how to troubleshoot mouse and scrolling issues.
    If you go to the section marked setting scrolling.

    Hope that solves your problem with scrolling

    Thank you.

  • Problem with the last Build 442 contentHeight

    Hello

    I'm having a problem to access the controller contentHeight.

    The syntax is below.

    private var _controller:ContainerController;

    var newHeight:Number = _controller.contentHeight;

    It throws an error now, I was previously using IContainerController with build 370. It was working fine, but now that I switched to 442 with ContainerController, it displays error.

    Please suggest how I can access it.

    Kind regards

    Rajesh

    Hello

    Yes strange to delete this reference useful for the height.

    The way to achieve this goal now is to use

    textFlow.flowComposer.getControllerAt (0) .getContentBounds () .height

    or if you have a variable for your controller then just use getContentBounds () .height

    concerning

    Micheal

Maybe you are looking for

  • Cannot change default email app

    I can't change my e-mail program by default on my Macbook Pro. He keeps wanting to use a third-party email application called Postbox. I'm going in-app Mail / preferences / general... and click mail.app for the default program... but when I re - open

  • Yellow bracket with a Crown (I think it's a Crown, not sure) in this document, to the left of the icon of the Earth

    I hope that my laptop is covered in the title of this category. I have not seen a laptop, so I chose office. I do not recognize this icon, I tried to download an app from Win rar earlier. Norton, said he was sure, but when I opened two new Mozilla Wi

  • Equium A60: USB Hub problems

    I have an Equium A60 and that you just bought a USB 2.0 with 4 ports hub, but it is not recognized when plugged into one of the usb portsIt causes also the PC hang on shutdown and startupHass someone at - it had similar problems

  • virtual machine XP in w7 run with directx 9?

    If I have a program designed for directx 5, running xp with directx 9, but do not work with vista...with windows 7 in virtual machine xp I will find the support of directx 9?

  • graphs 571G Acer E1 problem

    Hello My laptop is acer E1 571 G core i7 I have graphics problem with most of the Games despite the good material such as FIFA 15 that it not good display on my laptop It is very slowI have updated graphics, but I still have this problem Please help