Which property acts like the vertical-/horizontalScrollPolicy in an spark-project?

Hi there,
I could use these two properties for the halo components, but how can i control it in an spark project?
I want to control the document class, but i don´t find any property that show/hide both of the scrollers.
I also added a skinClass, with the consideration that i can use these properties from the skin-file.
but with no positiv result.
Any tips and hints?

Hi ak,
Spark containers don't have a concept of verticalScrollPolicy/horizontalScrollPolicy like what existed in Halo.  Instead you can either wrapper a Scroller component around the spark container or hook up your own scroll bars by binding to the verticalScrollPosition/horizontalScrollPosition properties.
Here's an example of how to use a Scroller:
<s:Scroller width="100" height="100">
    <s:Group id="containerToScroll">
        <s:Button width="200" height="200" label="test" />
    </s:Group>
</s:Scroller>
Here's an example of binding to the verticalScrollPosition/horizontalScrollPosition properties:
<s:Group>
    <s:Group
        id="containerToScroll"
        width="100" height="100"
        clipAndEnableScrolling="true"
        verticalScrollPosition="{vsp.value}"
        horizontalScrollPosition="{hsp.value}"
        >
        <s:Button width="200" height="200" label="test" />
    </s:Group>
    <s:VScrollBar id="vsp" minimum="0" value="0" maximum="100" x="100" height="100" />
    <s:HScrollBar id="hsp" minimum="0" value="0" maximum="100" y="100" width="100" />
</s:Group>
You can read more about how scrolling works in spark in this blog post.

Similar Messages

  • After applying update my apple tv2 will randomly go to a black screen that lasts for a few seconds. When it gets back to normal after a few seconds it acts like the video never stopped since its farther along in the timeline. This happens with all video c

    After applying update my apple tv2 will randomly go to a black screen that lasts for a few seconds. When it gets back to normal after a few seconds it acts like the video never stopped since its farther along in the timeline. This happens with all video content wether its from Netflix or streaming from my iTunes library

    You might try restarting the Apple TV by removing ALL the cables for a 30 seconds. If that doesn't help try using another HDMI cable.

  • I have lines from the top on the screen to the bottom the right one acts like the cursor now I have a transparent white line down the center of the screen about 1/8 inch thick.  Anyone know what is causing this?

    I have lines from the top of the screen to the bottom 4 lines.  They are the size of the cursor and the one on the right acts like the cursor.  Blinks.  The other day I brought compuer up and I have a white transparent line right down the center of the screen about 1/8 inch thick.  Does anyone know what is cauing this?  Also computer is running slow.

    Post a screen shot if you can by pressing cmd+shift+4 for only a certain section or cmd+shift+3 for a full screen shot.

  • I have a new IMAC. My mouse (very sensible) gave me the possibility to move left to right and right to left and also to scroll on the vertical way also on my page word. I like the vertical way, it is ok, but is it possible to block the vertical move only

    Hi, I have a new IMAC. Only by touch, my mouse (very sensible) gave me the possibility to move left to right and right to left on my pages word and also to scroll on the vertical way. I am ok with the vertical way, but I don't like the very sensible horizontal way. Do someone know a way to block the vertical move only and keep the move of the horizontal way? The only way I found blocked all the moves.
    I hope my descripion is understandable... English is not my habitual language.
    Danielle

    Merci Éric de me revenir en français, je l'apprécie beaucoup. Je ne veux conserver que le mouvement de haut en bas et de bas en haut. Je ne vois pas l'utilité du mouvement horizontale (gauche-droite, droite-gauche) et pire encore, par mégarde je fais trop souvent bouger ainsi mon texte et cela m'embête, même me dérange  beaucoup. Même que cela me donne même mal au coeur hahahahahaha!
    Par contre, ma souris précédente avait le mouvement de défilement du haut en bas et bas en haut et cela par contre m'est très utile. Je voudrais donc savoir s'il existe un moyen de stopper le mouvement de côté mais conserver tout de même la fonction du mouvement haut-bas et bas-haut avec le simple toucher de la souris. Suis-je plus clair? Disons que c'est plus aisé pour moi en français. merci à toi
    Danielle

  • How can I make my question slide look and act like the rest of the project?

    Hi,
    I have created my project without using a template. Each time I needed to create a new screen I simply duplicated the slide and then inserted new text. This worked quite well. However, when I tried to do this for a question slide, it wouldn't let me (obviously).
    Is there a way of customising a question slide to look exactly like the rest of my project (and have the interactivity on the slide that the rest of the project has)? When I tried designing a new template and question template side and applying it to the question slide in my project, I could only insert a static image as the background on the template slide. Needless to say, there was no interactivity on the slide, i.e. no active click boxes etc, and I couldn't add these either when I applied it to the slide.
    Any help is much appreciated. This is for a Masters project, so I'm still learning the basics.
    Thanks.

    Hi Lilybiri,
    I am using Captivate 4. All of my screens so far look like a website - with menus and makeshift spry menus (image maps with click boxes). My preference is to use this layout for the question slides. However, it sounds like this isn't possible. What do other people do to make their question slides look a part of the course?
    Thanks.

  • 10g 10 on XP PRO - Which property to print the master group on each page?

    Hi,
    I'm building a reports that displays the sum of orders totals per customer then per salesman.
    All fields have "print on first page" property set.
    However the salesman ename prints only on the first page of the report.
    If I change to "print on every page", the whole install goes "booom" !! :-(
    There are 3 repeating frames:
    group_emp
    --[group_customers]
    -----[group_orders]
    Here is the same report on SQLPlus (in case someone loses faith and needs a report badly)
    set pagesize 40
    set linesize 110
    set pause on
    set pause .........[Return]................
    clear breaks
    clear computes
    ttitle center "Orders Totals by Employee"
    break on ename skip page on custname skip 1
    compute sum of order_total on ename
    compute sum of order_total on custname
    select
    e.ename
    , c.custname
    , o.order_date
    , o.order_total
    from emp e, customers c, orders o
    where e.empno = c.empno
    and c.custno = o.custno
    order by e.ename, c.custname, o.order_date
    Many thanks if you can help
    Message was edited by:
    JeanParis

    Hi Fs, just like I wrote, Reports decided to shut down immediately, so I had to stop running OC4J instance and shutdown the PC running the 3 Oracle services.
    The PC has a Dual Core and 2 Gigabytes of Ram.
    I checked the reports at my company today, the only difference is that the frames display on every page and the fields display once.
    I think I have to reread the manuals before attempting to display one salesman per page.
    Remember what we used to say on Compuserve: There is only one thing more stubborn than a bug, it's a stubborn debugger.

  • Table cell formatting : please allow 'Horizontal autosizing' with 'at least' option like the vertical. Or is it in the pipeline already ?

    I suspect it has been asked by others, but can't find it in the archives. I need it for table cells with diagonals, and they need to fit like a glove.

    Hi,
    if the content is in a table cell (<td>), simply use valign="top" in the Region HTML table cell attributes.
    "Vertical align" is not intended to align text in a block, but an in-line component in another in-line component (for example a picture next to text).
    Maybe you have to play with margins.
    PS : more information here for example : http://evolt.org/article/rdf/17/60369/
    Yann.

  • I have a new iPhone 4S that is 2 days old. I got it because my old one (6 months Old) starting loosing it's charge 5 days ago. the new one is now acting like the old one. I want to dump everything and start over from scratch but don't want to loose contac

    I have backed up all my photos which was important to me. I dont mind loosing everything except my contacts.
    I did a restore yesterday but that didn't help.

    Contacts are designed to be synced with a supported address book app on your computer where your contacts should be available with or without an iPhone or any cell phone which can be lost or stolen or damaged beyond repair.
    In addition, there are a number of free email accounts that support syncing contacts over the air not involving your computer or involving it in addition to such as with an Apple iCloud account, Yahoo, Gmail, and Hotmail.

  • Need to create a function that will act like the save as browser function

    I need to create a button on a web page that will open up a save dialog box and then save the current web page as an .html file on the persons hard drive. The reason for this is because the window is a pop up that does not have the browser menu or any toolbars showing just the what we call print view. This window was used only as a print view so people can print the form out but now the powers that be want a save button as well so the people can save it to there HD. I can do this in IE using javascript but no other browser allows that so I need to create something in java. I have read about the setHeader() to download the file but I am sort of new and from what I've read it all sounds like you will be downloading a specific file and not the web page as a file. Anyone have any ideas as to how I can accomplish this? It doesn't have to be the save as dialog box just a way the person can get the current web page on their HD for viewing offline and done at the press of a button. Thanks.

    You'll be wanting to output a PDF or the like instead of a web page. That's the solution to your problem.
    Please next time consider using a line break or two when you post. Thank you for your consideration.

  • How can I stop the space bar from acting like the enter key?

    I'm doing a little self-project where I enter the band's origin place in the grouping category so I can sort by where they are formed. However, every time I hit space to enter a band or singer's location, iTunes assumes I'm hitting enter, and automatically fills in with whatever previous option is at the top of the list of prior entries. This is really freaking annoying. Is there a way to disable this so I can have spaces in my descriptions without having to delete the extra pieces two or three times for each entry?

    The current auto-complete behaviour when you press space is a bug. A workaround is to type say a leading X, then what you want to type, then remove the X.
    Or if you hold down Shift as you Right-click > Get Info you get the old style Get Info dialog box which you may find easier to use until the bug gets fixed.
    tt2

  • Make T440s trackpad act like the older one? - disable touch but keep buttons?

    Is there a way to disable the "touch" portion of the new T440s trackpad - while keeping the "button" functionality?  I'm a big fan of the trackpoint plus the two discrete buttons (Like my old T420/430s had), and if there is some way to disable everything EXCEPT the "soft buttons" on the new T440s... then I can get very very close to the old behavior... any thoughts on whether this is possible?

    Yes, this is possible:
    - Disable the TrackPad in BIOS
    - Enable "Classical TrackPoint only Mode" in the driver

  • When I enter full screen for a game or video using Firefox the whole "screen" moves to the left, leaving a white space on the right side of my monitor, but the mouse still acts like the image is where it should be, why?

    I have the latest Firefix update, and I am using Windows 7 Home Premium. It's annoying, specifically for games because I have to make sure the cursor is to the right (by a certain amount) of the item I wish to click. This issue is only in Firefox, I have tried in Internet Explorer *shudder* and there is no problem, I do not have any web browsers currently installed.

    Create a New Profile as a test to check if your current profile is causing the problems.
    -> Basic Troubleshooting: Make a New Profile
    * https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile
    -> If that New Profile works then you can recover your Bookmarks and Passwords from the Old Profile.
    -> Recovering important data from an old profile
    * https://support.mozilla.com/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile
    Check and tell if its working.

  • I can't click any links within 2 inches of my toolbar and when I left click in that area it gives me the toolbar options. Why is firefox acting like the top of my webpages is the toolbar ?

    I have tried everything that I can think of to fix it from troubleshooting to restoring firefox to defaults. The problem didn't occur until after I changed the toolbar skin with a skin from this site. I can't seem to find a way to change the skin back to it's original form to see if that's the problem. Hopefully you can help me so that I do not have to Reinstall firefox.

    This issue is probably caused by the Yahoo! Toolbar.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • I have a MacPro that for some reason FCPX briefly "sees" my Raid drives then acts like the Events there don't exist. Seems like it wants to treat that drive like a "camera". Any ideas..help.. It sees the Main drive no problem.

    I am having a problem with FCPX seeing my Raid drive as a Drive and not as a Camera.. Don't know what I might have done to change things..it was working fine and other than backing things up to external harddrive..not sure what happened. I reinstalled FCPx, checked the disk permissions and verified it with the disk utilities. any suggestions?
    I am  using a MacPro mid 2010.

    TN22 wrote:
    As a follow up I found the DCIM culprit folder that you where referring me to! I feel better now that I understand what happened!
    Ted
    Great.
    That would definitely be an offender.
    Al

  • My 13 MacBook Pro acts like the battery has died while it is plugged in.

    I will use my MacBook normally, it will be plugged in and fully charged. I will leave it on, close the lid and leave it plugged in for the night. The next morning it will still be fully charged (the charger indicator light is green, pressing the button on the left also shows full green dots). I will open the lid and instead of being ready to go right where it left off it has a white washed screen with a loading bar across the bottom. It goes through what normally happens as if the battery has died. It takes several minutes to fully start up before I can use it. Battery indicator is still at 100%. Strangely, this problem does not occur when I leave the computer on, UNPLUG it and close the lid. The next morning it will be ready to go without the white-washed loading screen. There is some, but minimal, battery depletion after that but only do to being unplugged. Otherwise it's fine.
    Right now it's in diagnostics overnight at my local apple store. But the apple genius, and several other people I have talked to have not heard of this problem. Any insight? That computer is less than a year old, purchase december 2012. Unfortunately I can't remember the exact operating system. Thank you!

    Youve got a wake from sleep issue when powered.
    yes, youve got a late 2012 macbook Pro running 10.8.5
    Theyll diagnose it and take care of it or replace the logic likely.

Maybe you are looking for

  • Bridge CC trial on Mac Pro Mavericks

    How to make your Mac run like a PC! I have downloaded Bridge and Photoshop from the creative cloud trials.  I have NEVER had a program crash on my Mac.  Everytime I try to open bridge I get an error and it closes. Photoshop itself seems to work but I

  • Restoring Library with Backup

    Hi, I'm afraid this is an old and recurrent theme, but having had a good read of lots of older posts I just can't get this fixed. I did an Erase and Install and am now running 10.4.6. I used Backup to save all my home folders including about 8GB of p

  • N97 mini: folder setting for image gallery / photo...

    Hi I've just got a simple question: is it possible to choose the images folder(s) which are shown in photobrowser or image gallery on a n97 mini? now it shows all the images on my device/mass storage/sdhc card, and I don't want that to happen. I want

  • Creating Workflow Container Elements

    Hi,                I am looking to create two new workflow container elements of lenght 80char for 'WS92000027'  inorder to hold the required name to be outputted in the workflow . Could you please let me know setp by step procedure to achive this as

  • Downloading and installing itunes update 7.3.2

    Whenever I try to download and install the itunes update 7.3.2 I get an error message "The update "iTunes" cannot be installed. A networking error has occurred: Error NSURLErrorDomain -1005 (-1005). Make sure you can connect to the Internet, then try