Hslider lables not located on right ticks?

Please see attached file,
Why the Labels are not on right ticks.
<mx:HSlider id="hsView"    minimum="100" maximum="10000"  width="100%" value="500" visible="true"
      tickValues ="[100, 500, 1000, 5000, 10000 ]" labels="[100 ,500,1000, 5000, 10000 ]"   x="0" y="13"
           />
How to fix this? Thanks
Mark

The problem here is that your not using a linear scale i.e. 1,2,3. Yours is more like 1,2,5,10 which makes
the slider a little trickier. You need to set the number of ticks, in this case 5, set the min and max as 1 and
5, snap interval to 1, and when a user moves the slider, capture the value (1-5). Then its a matter of
assigning values to each slider interval e.g. 1 = 100, 2 = 500 etc.
The following should work fine.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script><![CDATA[
     import mx.events.SliderEvent;
     [Bindable]
     private var myValue:int;
     private function sliderChange(event:SliderEvent):void
         var sliderValue:int = hsView.value;
         switch(sliderValue){
            case 1:
                myValue = 100;
                break;
            case 2:
                myValue = 500;
                break;
            case 3:
                myValue = 1000;
            break;
            //etc....
]]></mx:Script>
    <mx:HSlider id="hsView" width="100%" value="500" visible="true"  
        minimum="1" maximum="5" 
        tickInterval = "1"   
        snapInterval="1"   
        showDataTip="false" 
          labels="[100 ,500,1000, 5000, 10000 ]"   x="0" y="13"
        change="sliderChange(event)"
     />   
    <mx:Label id="sliderLabel" x="25" y="72" width="66"
         text="{myValue}"
    />
</mx:WindowedApplication>

Similar Messages

  • Can't locate the right iPhoto Library

    I have a friend who can't find the right iPhoto Library.  Mac OS X 10.7 or 8...  latest iPhoto.  Searching in Finder for "iPhoto Library" produces no results, even though we see an iPhoto Library item in her Pictures folder (not the right one).
    So this leads me to believe that for some reason Finder won't display that....not sure why it would do that...but anyway.  She's a professional photographer, and doesn't know the name of most of the photos, because they are photos name by the camera.  She tried to find some with just the .jpg extension but everything was email or web based results that we found.  Thousands upon thousands.  This has happened before, and it was fixed, but we can't remember how. 
    Any help on how to locate the right version would be great.  Also, her Time Machine only seems to have the same one as in Pictures.  I think the iPhoto Library she uses is located somewhre else on the drive. 
    I also tried Locate and Find in the terminal, but neither brought up anything.
    Thanks in advance.

    Download and use  Find Any File to search for "Library6.iPhoto" which is a file in every iPhoto Library.  If there's another library on your hard drive FAF will find it as it can search areas that Spotlight can't.
    OT

  • After re-installing my MacBook Pro hard drive, I lost my Firefox/Mozilla 'top banner' (red ,yellow and orange in color) and with it my ability to down load via a small tab located top right on it's bar. How do I get this function back??

    Recently I found it necessary to re-install my entire operating system, and I lost my ability to down load streaming videos. I am an artist almost 70 yrs. old, and am not very computer proficient which is why I purchased a MacBook Pro. I used Firefox/Mozilla to do downloading because it was easy. When I brought my system back up I found that the top 'Firefox banner' had changed from red, orange and yellow in color to shades of gray. With this change found that I no longer had the download 'tab' to click on to initiate downloads (located top right on the Firefox top section).
    I've tried re-installing Firefox and Antbar download helper but am still not able to download. How do I get the download capability back again???? ......roxor999

    Your storage device is probably faulty.  It would be helpful if you indicated the EXACT model/year MBP that you have.
    Ciao.

  • HP Laserjet PRO MFP M125nw; scanner is not located wirelessly

    Product name: HP Laserjet PRO MFP M125nw
    Operating system: Windows 8.1 64 bit
    This is a new MFP that I installed today. The printer works fine wirelessly but the scanner is not located wirelessly - it is found only with the USB connection. I get the following error message when I try to use the scanner wirelessly:
    'The HP LJ M125126 Scan was not found'.
    I have done the following to troubleshoot:
    Uninstalled and reinstalled from the CD.
    Uninstalled and re-installed the full drivers from the HP website.
    Also tried the HP print and scan doctor. This says the full software solution is not installed on this computer and asks me to install the full soft ware solution which i had already done - step 2 - prior to using the scan doctor. I still keep getting the same error message.
    I would be most grateful for your help please.
    Many thanks.
    Kind regards
    SSUN

    Hi @SSUN ,
    I see that you are unable to scan over the wireless network, but you can scan by a USB connection. I would like to help.
    Since you can scan by a USB connection, the software and drivers should be installed properly. There shouldn't be any issues with the Wia either.
    Temporarily turn off the Antivirus Software. Just to make sure it isn't interfering.
    If you are still having issues then check that the scanning ports on the router to make sure that they are open. You can contact the router company to check and open these ports 9220/9500/427 on the router.
    What scanning software are you using?
    If you need further assistance, just let me know.
    Have a great day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • File vault: home folder is not located in the usual place...

    All of a sudden I get this error when logging into a filevault protected account.
    *The home folder for "XXXX" is not located in the usual place or cannot be accessed*
    The message goes on to warn me that the folder could have been moved or deleted or is on an unavailable network volume.
    I see that the sparsebundle is right where it should be. I tried searching this board, but I can't find anything threads discussing this error. So, none of the data is accessible. If it was a sparseimage I could just mount it under another user and get the data out, but I have no idea what to do to salvage a sparsebundle. Heck, I didn't even know they existed until 30 min ago.

    I have had no luck in fixing this. I've tried mounting the sparsebundle from the finder, disk utility, and the terminal and get an "Operation not supported on socket" error.
    opening the terminal while logged in to this account brings up a message along the lines of
    no home directory in /Users/AccountName
    Logging in with home = /
    So I thought it may be a permissions problem and reset them to be read write for user group and others, but still can't login or mount the sparsebundle from another account.

  • Getting error 'could not locate ASM instance' when make copy of ASM VM

    Hi everyone,
    I make virtual machine of OEL 5.7 with oracle 10.2.0.1 and successfully configured ASM instance. I am using vmware workstation.
    Now when I make copy of this virtual machine and startup database, then I get the below error:
    [oracle@oelinux ~]$ export ORACLE_SID=asmdb
    [oracle@oelinux ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 01:10:26 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+ASMGROUP/asmdb/spfileasmdb.ora'
    *ORA-17503: ksfdopn:2 Failed to open file +ASMGROUP/asmdb/spfileasmdb.ora*
    ORA-15077: could not locate ASM instance serving a required diskgroup
    So how can i solve this problem??
    Note: I copy this VM using both copy/paste and clone option, but get this error both times.
    Regards,
    Khurram Bhatti

    EdStevens wrote:
    Khurram Shehzad wrote:
    I add 3 SCSI vmware disks. and then use them as a raw device. no ASMLib is used.
    I refer below tutorial
    [http://www.oracle-base.com/articles/10g/asm-using-asmlib-and-raw-devices.php]
    That tutorial picks up after you created the disks.
    How did you create the virtual disks attatched to your vm? What are its properties - from VMWorksation's perspective.
    How did you create the "copy" of the vm?
    It depends on how you actually created the disks, at the vm level, not the partitioning and formatting at the vm's OS level. I've used Tim's tutorials myself on some other ASM related projects, and he typically has you create the ASM disks as 'sharable', which would mean they would not copy necessarily copy with the vm. I've not played around the with variants much, but I'm pretty sure what you are seeing is a result of either the way the disk was created in the original vm, or the way you made the copy of the vm, or both.
    Take a look at the machine properties of the two vms in the VMWorkstation control panel, looking at the HDD definitions. Compare and contrast.Hi EdStevens,
    My problem resolved with below steps. Thanks fro your replies.
    export ORACLE_SID=+ASM
    sqlplus sys as sysdba
    Connected to an idle instance.
    SQL> startup mount
    SQL> alter system register;
    SQL> exit
    [oracle@oelinux ~]$ export ORACLE_SID=asmdb
    [oracle@oelinux ~]$ sqlplus sys as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Regards,
    Khurram

  • I tried some software that changed my settings to use Bing, How can I change my settings to have google as my new tab search. Not the upper right bar the center

    Not the upper right the center one when you click on new tab

    I'm guessing you want to use Google as your new tab page?<br>
    You can do that by editing about:config:
    *Go to about:config (via Location Bar)
    *Click the "I'll be careful, I promise!" to proceed.
    *Search for '''browser.newtab.url'''
    *Right click and click Modify > type '''www.google.com'''
    *Then click OK to accept changes
    *Restart Firefox and see if the new tab pulls up as Google.

  • My ipad 1st generation will not locate wi-fi networks.  i have reset and have done router reseting, still nothing.  any suggestions?

    my ipad 1st generation will not locate wi-fi networks.  i have reset and have done router reseting, still nothing.  any suggestions?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • LR3 - "A file is not located at the specified path...."  AAAHHHHHHHH!!!!

    Please help.  I was edited a bunch of photos in LR3 last night and when I tried to export them they could not be exported.  Then when I right-click and ask to go to image in finder.  The dialogue comes up that says "file is not located at path..."   Images are avail in preview with all my edits, etc, but WHERE is the image in the library????????????????
    Please help guys!
    Thanks very much in advance.

    Beta issues should be posted to the Beta forum.
    If you have moved the image file to a new location outside of LR (using the OS rather than LR itself), you will need to tell LR where it is now. Right click on the image or the folder and select update location, then point to where you have moved the file to. This problem is often a result of using external disks on windows systems where the disk hasn't been allocated a specific drive letter...for some reason windows allocates different letters every time the disk is conected. You need to allocate a drive letter permanently to the disk in windows if this is the case on your system.

  • I have an album that I bought that is in my purchased bin but seems that the tracks are disconected or the machine coul not locate them...

    I have an album that I bought that is in my purchased bin but seems that the tracks are disconected or the machine coul not locate them...

    Your should be able to delete the broken entries, then redownload from the Purchased link in the right-hand column of the iTunes Store page.
    tt2

  • I am in tears! I have just lost all my music in my itunes and they are not located on my pc either as it's a new pc. Help PLEASE!

    I am in tears! I have just lost all my music in my itunes and they are not located on my pc either as it's a new pc. Help PLEASE!

    Did it used to be on that computer ? Your music library will only be where you put it, buying a new computer and installing iTunes on it will not put your library on it.
    If you go in Edit > Preferences in your iTunes and on the Store tab tick the 'show iTunes in the Cloud purchases' tickbox then your iTunes purchased music might show in the Music part of your library with cloud icons against them for redownloading - if you've moved countries since buying the music or if it's no longer in the store then it won't show for redownloading. And check to see if you've hidden any of your purchases : iTunes Store: Hiding and unhiding purchases - Apple Support
    For your own music (e.g. copied from CDs) and what you can't redownload then do you still have your old computer with it on, or do you have a backup of your downloads/library, or is it on your phone ? If on your phone then there are some programs listed halfway down this page which should be able to copy it back : Recover your iTunes library from your iPod or iOS device.
    Or to copy it from a different computer : How to move your iTunes library to a new computer - Apple Support.

  • Could not locate the service

    hi - I am hoping that someone can help with this.
    I have a new server (2008R2SP1) and Installed SQL 2008R2 SP3 Database and Management tools only.
    All looks like it has installed correctly, however when I try to stop the SQL service from the SQL Server Management Studio I get the Error "Could not locate the Service".
    I can stop the services correctly from both the Services.msc and the SQL Server Configuration Manager.
    I can see that the SQL Server Management Studio uses the command
    "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\ControlService.exe" -computer <SERVERNAME> -service MSSQLSERVER -stop
    So if I run that command from an elevated Command Prompt I get the same result "Could not locate the Service".
    I have tried reinstalling but to no avail.
    does anyone have experience with this issue?
    Many thanks,
    Alan
    Regards, Alan

    Hi,
    There is no need to start SQL Server service from SSMS. Please do it as you are doing from SQL server configuration manager.
    Are you logged into physical machine or taking remote of SQL Server make sure
    1. You log into machine on which SQL Server is installed  as admin
    2. Right click on SSMS and select run as administrator and then try restarting.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Can not locate the results to a published survey

    I created an online survey for a municipality and published it, now I can not locate the results which have been posted.
    When it was first published, and we had submitted a few tests of the system, I was able to see the responses, who had responded and the answers.
    Now I can find only the form, no responses.

    Just hide the Menu Bar. Right-click on the Menu Bar and uncheck Menu Bar.
    The Firefox button is there by default in Windows Vista and 7 but not Windows XP.

  • Music files not located....

    I have another issue...
    When updating my ipod, it says "Could not update "suchandsuchsong". ITs path could not be located. Search for it?
    Well the file is there, because I can manually search for it. But now it wont play in my itunes, because it cannot locate it. There is a gray exclamtion point before the song title.
    The songs are there, as I said before, becase I can manually locate them. Any thoughts?

    This is not the answer I would like to give you but there's got to be a better way to do this, it going to sound rediculous but there I go:
    1. Go to you your "empty" playlist (meaning the one itunes can not locate" pick anyone
    2. Double click, (it going to show you can not Locate)
    3. Click "Locate" then go to "All My Files" but make sure your check mark "Name" meaning you are looking the files By Name right? you will have
        to do this once, at the beggining when you click "All My Files" might be empty, the reason being is because "Name" is not checked,
    4. On Search just write the mp3 title you are looking for, Just click on it and click "Open"
    I know this is ants job, but I least you recover what you "thought" it was lost.....Again there is got to be another way specially when you have thousand songs

  • I did not find the right place for my question but Is Apple's products are shipped to the Gulf States by a company Aramex ?

    I did not find the right place for my question but Is Apple's products are shipped to the Gulf States by  Aramex ?

    An absolute URL will be a complete URL, it traces from the abosulte root of a file's location on a server...
    http://www.thesite.com/assets/images/Front_Page_Rotating_Banner/banners.xml
    A relative URL is anything short of including the http://domain..., and is read relative to wherever the file using it exists
    assets/images/Front_Page_Rotating_Banner/banners.xml
    In Flash files though, relative links need to be specified relative to the HTML page that embeds the swf.  So if the swf is in a different folder than the html page that embeds it, the swf's targeting must be adjusted as if it were actually in the html file's folder.

Maybe you are looking for