How can I skin the TextLayout scrollbar?

I've been searching online for hours about how to skin the scrollbar component thats embedded in the TextLayout component. I'm using Flash CS4 and Actionscript 3. I'm guessing it is very similar to skinning other components, but it doesn't seem to work the same way. Here's one line of code I'm trying:
myTextLayoutComponent.setStyle("thumbUpSkin", "SliderThumbUp");
where "myTextLayoutComponent" is the instance name of the TextLayout component, "thumbUpSkin" is the Style's skin I want to change, and "SliderThumbUp" is the Class name of a MovieClip in my library.
This same code works perfectly with the ComboBox component, UIScrollBar, and similarly with other components.
The documentation has all the skins listed in the "Styles" area, but this code does absolutely nothing. Does anyone have a clue how this can be accomplished? I'm guessing I'm very close, but missing something! I haven't been able to find anything online about skinning this new TextLayout component with ActionScript. Any help will be greatly appreciated.
Here's a link to the documentation if it's at all helpful:
http://livedocs.adobe.com/labs/textlayout/fl/controls/TextLayout.html
Thanks!

TLF itself doesn't include a scroll bar, we just have the internal support necessary for scrolling. The scroll bar itself is supplied as part of Flash. If you have picked up the Flash Component for TLF, I think it is rather old now -- it uses a version of TLF that dates from more than a year ago. We have a new version out now that is much better. But it does not come with a component for Flash. I would suggest getting the new version of TLF from the Flex open source at http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK. You don't have to use Flex to use TLF, its just the best way to get the most up to date version. Then you can use the TLF libraries in Flash, although not with the Flash component. You will have to build your own component in Flash. Alternatively, you could wait for Flash CS5 (see cslaunch.adobe.com), which will have support for TLF.

Similar Messages

  • How can I get the firefox scrollbar on the right hand side of my screen to stay?

    The scrollbar appears, but it goes away with this version. I would like to have it permanently stay.

    Its about MAC OS X
    Goto SYSTEM PREFERENCES > GENERAL > Show Scroll Bar > Choose "Always"

  • How can I make the skin like rock ?

    How can I make the skin of a dramatic BW image of a Boxer look like peeling lava skin ?  I know that's a funny way to say it, but I want to make him look like rock and lava with hard cracks and such. Anyone have some ideas ?

    I'm sorry Myron, I didn't mean to cause your thread to go in the wrong direction.  I was feeling a bit frisky after a long day.
    Making skin look like something else is not a task I do normally, but if I were to want to experiment I'd probably try things like pasting a section of rock over the top of the skin in question, then set the mixing mode to Luminosity (so that just the luminance of the rock surface is used with the color of the face.  Use masking and partial mixing to help blend it.
    Seek (or capture) rock imagery with the light coming from the same direction, and with a similar level of detail.  That will help make it seem more believable.
    There may be others (I hope) who will chime in with more specific instructions or other tricks o' the trade that they've found to work.
    Best of luck, and please don't be afraid to show your results.
    -Noel

  • How can I adjust the skin color of only one person in the photo (Elements 11)

    How can I adjust the skin color of only one person in the photo (Elements 11)?
    Thanks for your help.

    From your question, I assume you know how to do it for all persons :
    Menu : Enhance/Adjust color/adjust color for skin tones
    So what you have to do is to do the color correction on a layer copy. Concentrate on the person to enhance and ignore the rest of the picture.
    When you are satisfied, add a mask to the layer copy and fill it with black.
    Set your foreground color to white
    In the layer palette, click on the mask icon on the right of the layer icon.
    Then use a brush to paint white on the skin of the person to reveal the correction.

  • How can I customize the skin of my AIR app

    Hi all,
    I have created an AIR app from my RoboHelp v7 WebHelp.
    Works and looks quite nice. Great. It's just that it did not use the WebHelp skin I created. It uses some default skin.
    How can I customize the skin of my AIR app? When I run the RH Packager for Adobe AIR, I get a dlg box come up, called, "General Options - RoboHelp Packager for Adobe AIR" and it offers me a few default skins, but it does not offer me the skin I made for my WebHelp.
    I also heard that if you learn FLEX you might be able to change the skins.
    TIA
    avi

    Heya,
    In order to change it alle just set it up as ordinary html webpage so heres and example of css:
    style.css - In the main directory of your app.
    body {
         margin:0;
         padding:0;
    #wrap {
         margin:0;
         padding:0;
         text-aling:left;
    #header {
         padding:2px;
         background:#000;
         color:#fff;
    #content {
         padding:1em;
         margin:0;
         background:#ccc;
    #footer {
         padding:2px;
         background:#000;
         color:#fff;
    Now for the html file:
    <html>
         <head>
              <title>My App</title>
              <link href="style.css" rel="stylesheet" media="screen" />
              // Scripts go here
         </head>
         <body>
              <div id="wrap">
                   <div id="header">
                        My Application title
                   </div>
                   <div id="content">
                        bla bla bla lorem lipsum.
                   </div>
                   <div id="footer">
                        Copyright'n stuff
                   </div>
              </div>
         </body>
    </html>
    If you need more help or examples I recomend that you go here and read some stuff on a lot of it all , you can also download theese samples it contains a lot of good stuff which makes it all A LOT easier to understand, the way I learnt most of what I know even though I am still missing some things.
    Hope it helped!
    Best Regards
    Buch

  • How Can You Change the Look and Feel of Charts in OBIEE 11g

    How Can You Change the Look and Feel of Charts in OBIEE 11g?
    Edited by: user11973122 on Jul 18, 2012 12:13 AM

    Check these files
    OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\s_blafp\viewui\chart\dvt-graph-skin.xml
    OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\views\dvtchart\obips.dvtchart.xml
    OFM_HOME\Oracle_BI1\bifoundation\web\display\chartfontmapping.xml
    Pls mark correct or helpful if helps

  • After making a call I put my phone in my pocket and when I bring it out to make a call the player is on killing battery life. How can I shut the player off or prevent this from happening?

    after making a call I put my phone in my pocket and when I bring it out to make a call the player is on killing battery life. How can I shut the player off or prevent this from happening?

    Try to position your iphone that the screen is facing away from your skin.
    Make sure that the back part of your phone will be the one that will contact your skin inside your pocket
    Thats what i do:)

  • How can I hide the scroll bar in TextArea?

    How can I hide the scroll bar in TextArea?

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

  • How can I view the Firefox Reading List?

    I am running Firefox on Android 2.3.4. I am reading about the Firefox "Reader Mode" [1], which states:
    "By tapping the readinglist1 icon, you can add the current page to your reading list (a special folder in your bookmarks list)"
    "Note: The reading list folder will not be shown until the first item is added to the list. If all the items in the list are removed, the reading list will be hidden again."
    Once I add the current page to my reading list, the screen changes and I am presented with different navigation controls. From here, the documentation says that:
    "By tapping the readinglist2 icon, you can display the reading list. "
    I have several items in my Reading List. However, I can only see the 'readinglist2' icon when I am viewing a page which has been converted to the Reader Mode. If I browse my bookmarks I do not see a folder for the reading list.
    How can I view the items which I added to my "Reading List"?
    [1] https://support.mozilla.org/en-US/kb/how-enable-reader-mode-firefox-android?fpa=1

    You can open any chrome file in Firefox via the location bar, provided you know the path.<br />
    XML (XUL) files need a view-source: prefix.
    chrome://browser/skin/browser.css
    chrome://browser/content/browser.css
    resource:///defaults/pref/firefox.js
    resource:///greprefs.js

  • How can I make the PSE 12 workspace menus on my laptop large enough to read

    I've just bought a Lenovo laptop and loaded PSE 12 but can't read any of the menu's as the text is so, so tiny.  How can I adjust the settings?

    see https://support.mozilla.com/en-US/questions/845800
    Bookmarks Toolbar Fx4 Blue/Folders, Red/Bookmarks - Themes and Skins for Browser - userstyles.org
    /* widen all bookmarks dropdown menus -- Chris Ilias 2007-01-12*/ menu.bookmark-item, menuitem.bookmark-item { max-width: 36em !important; }
    http://userstyles.org/styles/46947/
    try 250px instead of 36em and up or down from there.

  • How can I customize the stylesheet of webdynpro applications?

    Hello experts,
    how can I customize the Look & Feel (e.g. background color) of webdynpro applications?
    I refer e.g. to UWL which is opened by a task link in an email and opens as as webdynpro application in a separate window. It appears in the typical SAP blue. I would like to change the color.
    The portal´s customization does not affect webdynpro applications.
    Thanks in advance for any hint.
    Thomas

    Hi Avi
    Yep, that's what you get with AIR output. You have to live
    with the skins the AIR layout provides. I suppose if you are a FLEX
    developer you might be able to change the skins. But it is what it
    is.
    You might consider submitting a Wish Form to ask the
    development team to allow us more flexibility with AIR skins. Or to
    even create a way for the AIR app to use elements of the WebHelp
    skins.
    Click
    here to visit the Wish Form.
    Cheers... Rick

  • How can I remove the Powered by message?

    How can I remove the Powered by message in the output (HTML) in RoboHelp10?

    Hello again
    You change the image using the Skin editor. Click View > Pods > Project Set-up, then expand the Skins folder and double-click the skin you are using for the project.
    Select About. then click the Pencil icon and you finally use the file folder icon to browse to and select the image.
    Cheers... Rick

  • How can i change the default text "Query by Example"

    Studio Edition Version 11.1.1.3.0
    how can i change the default text *"Query by Example"* in a Panel Collection
    Thx

    Hi thieto,
    The label you are looking for is af_panelCollection.LABEL_MENUITEM_QBE*
    I'm currently writing a blogpost on this issue. In short, you will have to create a skin resource bundle.
    In the skin definition, refer to this bundle class.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
      <skin>
        <id>mySkin.desktop</id>
        <family>MySkin</family>
        <extends>blafplus-rich.desktop</extends>
        <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
        <style-sheet-name>skins/MySkin.css</style-sheet-name>
        <bundle-name>com.blogspot.lucbors.view.bundles.MySkinBundle </bundle-name>
      </skin>
    </skins>In this class, adjust the label text to your needs.
    package com.blogspot.lucbors.view.bundles;
    import java.util.ListResourceBundle;
    public class MySkinBundle extends ListResourceBundle {
      public MySkinBundle() {
        super();
    @Override
      public Object[][] getContents() {
        return _CONTENTS;
    static private final Object[][] _CONTENTS = {
         {"af_panelCollection.LABEL_MENUITEM_QBE","the text that you want"}
    }More in the blogpost
    Good luck
    Luc Bors
    Edited by: lucbors on Jul 26, 2010 11:39 AM (blogpost finished - URL added)

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

Maybe you are looking for

  • Cannot connect to DB from remote computer (ORA-12545)

    Hello all, Please help, I am stumped.  I am trying to connect to a database located at my work from at home. I am running into the following issue (see command and error below): ansichart@ansivm:~/src/perl$ sqlplus aspxdba/********@aspxp2 SQL*Plus: R

  • Installing Windows 7 on a B540

    Hello, I purchased a new B540 All-in-one from Best Buy and had the Geek Squad downgrade the operating system to Windows 7. The computer was purchased for my sister, who uses Windows 7 on her laptop. The first day I used it for 8 hours without a probl

  • Logic express 7.2.0 update. need help!

    anybody know where I can find the 7.2.0 update? I've been stuck on the 7.1.1 version for awhile and have been trying to find the 7.2.0 with no luck. Its not even on the support site. I just got an iMac and need to update to the latest version so it c

  • Can't reconnect PSD-Images

    Hi all Problem: For upgrading to OS X 10.5 I've chosen a plain new installation and saved my images (which where referenced outside the Aperture-Lib) to another USB-Drive. After Installation of Aperture I saved my images back. By using the "Reference

  • Not able to run forms on a mac osx lion

    Hi: I'm using Forms 9 and oracle 10g . I setup formsweb.cfg, and I can't run my form, browser is blank ! I need to instal some plug-in or I missing something else in my server or mac ? Thanks a lot !