in a tree: how to move verticalscroll automatically when you select an item

Hello

Im working with the tree component, and what I want is to focus the verticalscrollposition to selecteditem position when my selecteditem changes. When you click an item that corresponds to the last o the penultimate row of the tree, woun you will see children of this element. What I want is to move the vertical scroll bar position automatically so that you can see these children without having to move the vertical scroll bar. Any ideas how I can do?

Here's a picture for you to watch what I want, if I wasn't really clear before:

ejemplo2.jpg

Thank you for your time and help

Sebastian Toro

Hello

You could hang yourself to listen when a node is expanded (itemOpen) and you can assign your item open after the firstVisibleItem property.

If you really want to have your piece of expansion in the middle of the tree, keep in mind that a tree is a ListBase and use selectedIndex to make some calculations about who you shoul put firstVisibleItem, so you can have your element of expansion in the middle.

Claude Bur.

Tags: Flex

Similar Questions

  • How to start Skype automatically when I start up mac os?

    I installed Skype on a mac and I need start Skype manually each time I log on mac os. On my pc Skype starts as soon as I start windows. How can I get this option on a mac as well? I went through the options but I could not find this feature.

    Thank you

    Anna

    Hi Anna,.

    Click the icon (top left of your screen) Apple > System Preferences > users and groups.

    Then, by default, the "Password" button is selected on the top. Click on the button "Login Items".

    Here you can add items, folders, applications, network even locations which will be launched during its connection.

    Find Skype in your Applications and add and it will start automatically when you start your Mac.

    (I have OSX Lion, if you have something else, it might be a little different, but I think the general idea is the same

    Good luck!

  • How can I submit photographs when you use imessages

    Just bought a MacBook Pro of the retina and I try to send pictures and graphics in imessages. How can I submit photographs when you use imessages.

    On Mac in Photos app, select picture, and then click

    (top right)

    Select Messages, then select the recipient, and the text you want included.

  • can I delete login page so that windows starts automatically when you first start?

    can I delete login page so that windows starts automatically when you first start?

    Yes, you can.

    See http://windowsxp.mvps.org/Autologon.htm

  • When you select multiple images in LR 5.2 on Mac, how delete all photos selected?

    Based on http://forums.Adobe.com/thread/1308132?TSTART=0 I decided to add each question separately:

    Hello, I am very interested in buying Lightroom 5.2. I tried the RC that was missing today. Yet, I have several questions that I can't find really good conclusive answers, I'd like to get an answer before buying LR. Please do not write maybe like this or that (assumptions), because I don't want to start my entire workflow and then realize that I have to change all around, please reply, if you know for sure that something works and you are, preferably, using this method too.

    When you select multiple images in LR 5.2 RC on my Mac, using the film display, how to remove all selected files using a shortcut (as opposed to from the context right click menu > delete selected photos)? Details: To backspace help wonder if I want to remove it, I choose to drive, but he simply deletes individual photos, so if I selected 3, I need to do this 3 times.

    Several operations of selection do not work in Film Strip mode.  You must be in the library to act on several photos grid-Module view.

  • Libraries open automatically when you open the file HAVE?

    Whenever I open HAVE, I need to restore the libraries in which I want to work with.  Is it possible to get them to connect/open automatically when you open the file?  Thank you!

    Use the new Document profiles in HD > Users > (yourname) (Mac) > library > Application Support > Adobe > Adobe Illustrator CS3 > new Document profiles. For CS4 add en_US before new Document profiles. Open the one you use the most. Open libraries that you want to appear and each Panel dialog box persist. Save the file and restart HAVE. Choose file > new and the new document should have these libraries available.

  • When you visit a particular site my user name is entered automatically when you click in the required area. I want to avoid this, how?

    This site requires a username to be filled in a specific area and in another box, you enter a series of numbers generated by a generator of numbers (so not a password - different series each time that you open a session).
    However I do not want my user name appears automatically in the first box. Trying to change that in the security settings (extra-options-security), there is a password section where you can choose any exceptions to the rule of the memory (if the box remember is marked). When clicking the exceptions button, the url of the site I'm talking about is not displayed, and it cannot be entered either, since you can't delete here.
    When you click on the option "saved passwords", nor the site, nor the username is listed. I think I've read all the help sections regarding usernames and passwords, but found no solution.
    How can I avoid this username (so only a user name - not the usename/password combination), appear in the box?

    Click on the box, hover over the drop-down menu with your mouse, if you select the word you want to delete, and then press the delete key. If Firefox fills automatically in forms of control

  • How to rename a file when you move it

    How to rename a file when he tries to move it to another directory and it already exists?
    I thought I could use a match pattern on the paths of the source and destination, because after a certain point, the path would be the same, and then with another model of correspondence I extract only the name and use a path of construction.
    I don't know if it would actually work. Can anyone give me any suggestions?
    Thanks in advance!


  • In OS 10.7.5, after resigning during the shutdown, how can I stop 23 Firefox opens automatically when you restart?

    Before I turned off my computer, I stopped all my open applications. This makes startup cleaner. But now, at the start, Firefox 23 automatically... not open Safari, no email, just new Firefox 23. This seems to be the new default. I can't stop this behavior?

    See:

    ' Reopen the windows when you log in.

    • http://www.apple.com/findouthow/mac/#tutorial=startup - Applications open automatically at startup
    • Control-click on the Firefox Dock icon and uncheck 'open the connection '.
    • Click accounts (in the line of the System Preferences window system)
      • Click the login items tab
      • Click on Firefox in the list
      • Click the minus (-) button
  • How can I get Firefox starts automatically when you start of OS 10.6.8 on iMac?

    Have been hunting everywhere for certain types of file on the system so that Firefox should start automatically when the computer starts. Find anything obvious. Any suggestions?

    See http://www.apple.com/findouthow/mac/#appstartup

  • OfficeJet pro 8620: how to set up printer to turn on automatically when you receive an incoming fax on a dedicated line

    I want to configure my printer to turn on automatically when receiving incoming fax. Do I have to leave power or can I change the setting to turn on automatically with each incoming call. He is a dedicated fax line that is not connected to my computer. Also there is a sleep mode, the power led remains on when you use the sleep mode?

    Hi @mcqwats,

    Welcome to the Forums of HP Support! I see you want for your printer HP switch automatically when an incoming fax arrives. You have not the possibility to activate the automatic answer - on, but the printer must be turned on so that this function executes.

    There is however no way to set the preferences to activate the printer when it is off.

    I hope that answers your questions.

    Thank you

  • My Windows Photo Gallery has incorrect time for good that my computer is correct. I know how to change the time, but wanted the exact time is displayed automatically when you scan photos etc as before.

    Time is incorrect in Windows Photo Gallery and I would like to do this automatically scanned early for photos instead of my change time.

    Hi Sardai,

    Unfortunately, this information is not always accurate. If you took some of your pictures in a different time zone, for example, the time recorded for these pictures could be incorrect by several hours. The camera can also be set to the wrong date and time. Or, if you're scanning photos, ta date will reflect the date that they have been digitized, not the date on which they were taken. All these anomalies can be adjusted manually.

    To change the date or time

    1. open Windows Photo Gallery by clicking on the Start button, all programs, and then clicking Windows Photo Gallery.

    2. If you do not see the details on the side of the window pane, click information on the toolbar to display it.

    3. click on the image you want to change.

    1. to select more than one picture, hold down the CTRL and click each picture you want to change.

    4. click on the date at the top of the details pane.

    5. click on the arrow next to the date and then click the correct date on the calendar.

    6. click on the time at the top of the details pane.

    7. Select the correct time.

     

    To adjust the time for pictures taken in a different time zone

    1. open Windows Photo Gallery by clicking on the Start button, all programs, and then clicking Windows Photo Gallery.

    2. right click on the image you want to change and then click on change time taken.

    To select more than one picture, hold down the CTRL and click each picture you want to change, and then click a picture when you are done.

    3. in the change to box, type the number of hours to change, or click the up or down arrow to select the number of hours. To make the new start time, type a minus sign (-) before the number.

    For more information, see the link below:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-date-and-time-a-picture-was-taken

    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.

  • Photos start automatically when you log on (login)

    Whenever I'm connect in a new photo session starts up, using a lot of resources and significantly slow down the logon process. How can I disable that?

    There are two possibilities that I think.   First of all, you let pictures running when you stop?   When you start, Mac OS will automatically re - try open any application you had open at the stop.

    Second, you have an iPhone or an iPad connected to your Mac via USB when you restart your Mac?   In the Photos, there is an option to open the pictures when your iDevice is connected to your Mac.   Select the device in the sidebar on the left and to the top of the window, there should be a check box with the text "Open pictures for this device".   Unchecking this box will stop Photos to open with the attached iDevice.

  • Computer stops automatically when you access internet using Chrome or Mozilla

    I'm having a problem with my computer. I use Windows 7 Professional. The problem is that when I use Chrome or Mozilla, the computer stops after a while (20-30 minutes) and when I use Internet Explorer, the computer hangs after 1 or 1/2 hour and then I have to restart my computer.

    Original title: computer shuts down automatically

    Hi Ashhadkhan,

    Have you made changes on the computer before this problem?

    Method 1:

    I suggest to start the computer in safe mode with network and try to access the Internet using Firefox or Google Chrome.

    Step 1:

    Check out the link to start in safe mode with networking

    Startup options (including safe mode).

    http://Windows.Microsoft.com/en-in/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    If you are able to access internet using Firefox or Google Chrome without the computer stops, I suggest you perform a clean boot.

    See the link to perform the clean boot.

    How to perform a clean boot in Windows

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

    Note: After troubleshooting, see the section «How to reset the computer to start normally after a boot minimum troubleshooting»

    For any problem, with the freezing of the computer when you use Internet explorer:

    Crashes Windows or freezes

    See (my computer crashes or freezes when you navigate in Internet Explorer) http://support.Microsoft.com/kb/2681286/en-us

    Anti Virus Disclaimer : The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Additional information:

    You can also check the following links, these will help you improve the performance of your computer.

    Optimize Windows to improve performance.

    http://Windows.Microsoft.com/en-us/Windows/optimize-Windows-better-performance#optimize-Windows-better-performance=Windows-7

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this helps to solve the problem. Please come back for any clarification on this or any issue of Windows. We will be happy to help you.

  • CS5 - Action starts automatically when you open the program

    I have CS5 and it was working properly until recently, now when you open the program first, it starts automatically perform an action, then I have to stop the action and continue with what I was doing.  Does anyone have an idea how to stop this action without deleting?  Thank you.

    I guess you've planned somehow a script to run at startup. I have no more CS5, but in more recent versions of Photoshop, you can find Scripts under file and would go to the Scripts event Manager dialog box. You can see that I set this up to run the sticker to the startup action. To stop running just uncheck the events allow to run box. It's probably a little bit different in CS5, but you can probably get by on your own now.

    Terri

Maybe you are looking for

  • I can't open my HTML messages in my email on firefox

    When I open my e mails on Safe-mail with Firefox, I can't open my HTML messages. Just, it presents itself as a blank page and said new tab at the top of the screen. I don't have this problem if I use Internet Explorer, but I much prefer to use Firefo

  • Equium P200 Series - slow WiFi!

    Wireless for my laptop Equium P200 series is very slow, often up to 0.5 MB. My hub has been tested and receives 8 MB and the laptop gets 8 MB when the hub is connected to the laptop, just very slow when you are working on a wireless connection, and B

  • Windows 7 Home Premium - cannot change the user name in the authentication dialog box

    I was hoping someone might be able to answer a question on how to get a computer running Windows 7 Home Premium to display both the username and password fields when attempting to authenticate on another Windows computer. Here's the situation: allow

  • Poseurs display NVIDIA is not available

    You are not currently using a screen attached to an NVIDIA GPU. I can't get the my NVIDIA Control Panel, when I received and set up my new special edition of 8900 XPS today...? +

  • Cisco IDS Vs Websense

    I have a n race pix firewall and I m trying to install hardware cisco IDS. I want to know if cisco ids and/or pix can help me to have as much control over the access to the internet as websense. I know that websense has 29 categories of content at th