How to make the scroll bar in flex automate to focus on the new ui component added in the canvas?

Hi all ,
There is a canvas container where am adding charts in separate windows.
So whenever a new chart is added the scroll bar needs to set the focus on the present chart window.
For this i made the functionality for the canvas container to scroll whenever a new chart is added using the below code
canvasContainer.verticalScrollPosition = canvasContainer.maxVerticalScrollPosition;
But the calculations for the vertical position are not precise...
Is there anything else I should do to make the scroll happen automatically as the chart windows get added in the container ??
Any suggestions pls

Many many thanks to Frank,
In the css,use the follwing style settings to hide the scroll bar
visibility: hidden;
visibility: hidden;
visibility: hidden;
visibility: hidden;

Similar Messages

  • How to make a scroll bar!!!

    i need to know how to make a scroll bar in flash cs3! can
    anyone help me with this??

  • How to make a scroll Bar with buttons

    Hi all,
    I am using Flash cs6 on an iMAC running 10.7.2
    I would like to know if anyone could please point me to a tutorial, showing "how to create a scroll bar with buttons". I am having a heck of a time finding a tutorial.
    Many thanks in advance.

  • How to get a scroll bar to the applications popup by default?

    How to get a scroll bar to the applications popup by default when clicked the applications folder from the dock? If I have so many applications that they do not fit in the default area, I have to find out myselft that I have to scroll the content before the scroll bar appears. This leads to "where is my missing applications questions" by the novice users with Mountain Lion.

    System Preferences > General > Show scroll bars.
    Click the button by the side of "Always".

  • Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now ?

    Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now that they do not have the spry option?

    bbull2005 wrote:
    Preran, why wouldn't Dreamweaver include it's own menu/navigation bar widget?
    I can't answer on Preran's or Adobe's behalf, but I think you'll find at least part of the answer here:
    Adobe decided to discontinue development of Spry in August last year, and Dreamweaver CC made the switch to using jQuery UI widgets and effects. One reason for dropping Spry was that it failed to work correctly in some browsers. Judging from the fact that the jQuery UI menubar is now "on ice", creating a flyout menu that works reliably across all devices is proving more difficult than originally envisaged.
    Because all other widgets in Dreamweaver CC use jQuery UI, it's a reasonable assumption that Adobe hoped the jQuery UI menubar would be ready in time, but it wasn't.

  • I just upgraded from snow leopard v10.6.8 to os x mountain lion and my scroll bar has disappeared on all my applications on the internet. does anyone know a patch to get the scroll bar to work.

    i just upgraded from snow leopard v10.6.8 to os x mountain lion and my scroll bar has disappeared on all my applications on the internet. does anyone know a patch to get the scroll bar to work.

    Open General preferences in System Preferences. You can set the desired scrollbar behavior there.

  • I have not found the scroll bar I need yet... any help would be great!

    Anyone know where I can get a scroll bar that has two
    important capabilities:
    1). It can be re-skinned so that the dragging scroll bar
    stays at a fixed height. I re-skinned the ScrollPane component and
    the bar re-adjusts itself depending on the height of the entire
    scroll pane. I need the scrollbar NOT to change its dimensions.
    2). I can pass in something like the yPosition property to
    move the scroll bar and its contents to a certain location based on
    a variable. The yPosition works great using the ScrollPane but I
    cannot skin it like I would like.
    Any info would be great!

    The following may help: iOS: Device not recognized in iTunes for Windows

  • I can't disable the scroll bar in Mavericks

    I can't disable the scroll bar in Mavericks. I go to System Preferences>General and I select the option "Automatically" or "When scrolling". I close de System Preferences and re-open and the option selected is "Always", ever. I don't want scroll bar in my page every time, but just when I need.

    Ok, try this:
    Go to Finder
    - in the top left to the right of the black apple, go to "GO"
    - then hold down the option key on your keyboard
    - and go to library which is between the home and computer
    - in there, go to a folder called "preferences"
    - in preferences, find
    - take that file and put it on the desktop
    - after that, restart and try to disable the scroll feature again

  • I can't scroll by hitting the space bar, or clicking on the scroll bar itself, or even use the scroll arrows- how do I make them work again?

    I wake up, unhibernate my laptop and suddenly I can't scroll by hitting the space bar, or clicking on the scroll bar itself, or even use the scroll arrows. In other programs it works fine. What happened and how do I fix this?

    You may have switched on [ caret browsing].<br />
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    You can press Ctrl + L to go to the location bar.

  • How do I get the scroll bars in iCloud Numbers Beta to appear?

    I have been playing around with Numbers iCloud and have a long spreadsheet. The only way I have figured out to make scroll bars appear is to drag on one of the spreadsheet's borders. They appear, then disappear as soon as I get done scrolling. How can I make them stay visible or make them visible in a more elegant way?

    I don't know if you're still working on this, but I finally stumbled onto a solution. I've been having the same problem using iCould Numbers on a PC in Google Chrome. I finally figured out if you 'mouse over' where they're supposed to be, they'll appear. So drag your mouse over near either the edge of that window or where the spreadsheet meets the format panel along the right edge (depends on what you have showing.) The scroll bars will faithfully appear.

  • How can I retrieve the scroll bar in Home applications using OS 10.6.8?  I don't have a general section after clicking on System Preferences.  Thanks.

    I have deleted the scroll bar twice in 4 years and I still don't know how to set it back.  Please help.

    hi Samberl
    thanks a lot for the fast reply.
    I was dragging folders from main folders on the laptop-desktop  onto the external drive icon - to copy them across....
    Your suggestion sounds very promising -  I didn't know about 'cloning'.
    Yes the idea is to backup the laptop -    I thought I would just move it all now, new - and then keep saving/dragging physically   across to the new drive myself each day or two...
    Would this be the sizeof the internal hard drive = c.500 gb  ?   =   under the HD icon on desktop is written  : 
    " 499.76gb , 311.5 gb free  " 
    I can erase and start agin on the new external drive - so this plan is to make two partititions, rather than the one at present, and make one of them 500 gb ?
    I have found CCC [carbon copy cloner] googling - looks good.
    When CCC site says it backs up  the hard drive - would this  mean all my files  [over 100 gb] that are mostly  in folders on the desktop, plus the others in itunes, iphotos etc found in the HD icon,  would all copy across successfully [wherever they are in the computer ]  ?
    thanks again, hope you can clarify these things and then I will go for it. 
    It would be great and amazing if this 'lack of permission' message doesn't show up in the process of doing this ccc transfer - hopeful!

  • How do I keep the scroll bar from disappearing in the Mountain Lion update 10.8.5?

    When I got the prompt yesterday that there was an update for Mountain Lion I went ahead and downloaded it, and it is awful!  The scroll bar on the right side of the screen disappears too quickly now to use it easily, and is difficlut to get back, which adds extra steps (clicking on the down arrow while the cursor is in the scroll area then quickly clicking the arrow cursor while it is in the temporary scroll down bar.  Or else this is from a Firefox update I did NOT actually download, but indications when I started up my computer today are that it did download somehow by itself without my permission, as there was a notice that some of my Mozilla ad-ons might not be compatible with this version of Firefox.  I couldn't understand that since it should have been the same version of Firefox I used yesterday!  I know I didn't download the new Firefox because the pop-up box went away very quickly each time it came up so I never did click on it.  Does anyone know if the change in scrolling is a Firefox update or the OSX 10.8.5 update?  I HATE it and want it off, but don't know which one is the culprit nor how Firefox updated itself without my consent.  Aaaarrrggghhh!

    System Preferences > General > Show scroll bars:
    Make sure that "Always" is selected.

  • How do I temporarily hide the scroll bars ?

    How do I temporarily hide the scroll bars ?

    I assume that your post in [[/questions/906990#answer-291125]] ended up in the wrong thread and should have appeared here.
    The only thing that changes if you run the code in the Scratchpad is the disappearance and reappearance of the scroll bar in the current tab. You do not see anything in the Scratchpad. So you need to switch back to the browser window.
    You can test it with this code, that should make both scroll bars appear:
    <blockquote>In Scratchpad I ran both:
    In the 2nd one I got:
    17:48:57.826 |x unexpected end of XML source
    @ Scratchpad:1'''
    For the 1st one I got no activity, only a blinking cursor.
    any other ideas ?
    Good luck and merry Christmas, Bill

  • How can we remove the scroll bars from the table?

    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • I would like to know it it's possible to change the scroll bar from the right part of the firefox browser, to the left part and, if it's possible, how can it be done. Thank you!

    The scroll bar (the one used to scroll up and down any kind of website), that is normally in the right part of the firefox browser, would be of much help to me if it could sometimes be moved to the left part of the browser. Is this possible? How can it be done? Can anybody tell me the exact steps to take in order to do this (if it is possible of course)? This would be helpfull to me, since I think that the firefox scroll bar is overlaping the scroll part of the facebook chat sidebar, since I just can see a few people on this facebook chat sidebar and I can´t scroll along it, as I could a while ago. So my guess is that the firefox scroll bar is covering the other. In order to solve it in a simpler way, I guessed that if the firefox scroll bar could be moved to the left side of the browser, this problem could be solved. So, can anybody help me?
    Type '''about:config''' in Location (address) bar
    filter for '''layout.scrollbar.side'''
    Right-click the Preference and Modify it to '''3'''
    You may need to reload any pages open to have scrollbar move to left after Preference change.

Maybe you are looking for

  • Configuration Error in PI 7.1 Receiver Agreement

    Hi, I am facing a problem while testing my interface throught RWB, I am getting below error. Error while sending message: ConfigException in XI protocol handler. Failed to determine a

  • Links in Subscription emails

    Will we ever see a proper link to new posts again? Links now only take you to the thread and in Threaded view it's a pain to locate new posts in large threads. This To view the topic, visit: a

  • Original file name as header?

    I've seen that one can write Javascript codes in order to put filenames on the document when you're printing it, but I have another kind of problem. I've combined some TIF files into a PDF document (binder.pdf) The original TIF filenames can now be s

  • I don't know how I'm to send you what is happening.  Someone please help me with this THING.

    I have sent for help since Tuesday.  I can not find where I need to answer back.  My 10 yr old son is dying to use this thing.  We have purchased the games, but when we login to it, it says YOU ARE NOT  CONNECTED TO THE INTERNET,  ONLINE FUNCTIONALIT

  • HP Pavilion Desktop PC need to buy new front USB

    I have a Hp Pavilion Slimline S5123w Desktop Pc  product # NY469AA with Windows Vista Home Premium.  I need to replace 1 of th  front I/O Ports USB's witch has 2 USBs, 1 Headphone & 1 Passive IR receiver. 1 of the USB ports the prongs on the inside a