How to skin an Accordion in FB4?

I'm at a loss here how to skin a mx:Accordion in the Spark world. I have a typical accordion:
<mx:Accordion width="251" minHeight="300">
     <s:NavigatorContent label="Phase 1" width="100%" height="100%" skinClass="skins.NavigatorContentSkin1">
          <s:layout>
             <s:VerticalLayout paddingLeft="5" paddingRight="5" paddingTop="5" paddingBottom="5"/>
          </s:layout>
          <s:Label text="{dataList[0].sub}" styleName="subhead" />
          <s:RichText text="{dataList[0].desc}" width="100%" styleName="caption" />
     </s:NavigatorContent>
     <s:NavigatorContent label="Phase 2" width="100%" height="100%">
          <s:layout>
             <s:VerticalLayout paddingLeft="5" paddingRight="5" paddingTop="5" paddingBottom="5"/>
          </s:layout>
          <s:Label text="{dataList[1].sub}" styleName="subhead" />
          <s:RichText text="{dataList[1].desc}" width="100%" styleName="caption" />
     </s:NavigatorContent>
     <s:NavigatorContent label="Phase 3" width="100%" height="100%">
          <s:layout>
             <s:VerticalLayout paddingLeft="5" paddingRight="5" paddingTop="5" paddingBottom="5"/>
          </s:layout>
          <s:Label text="{dataList[2].sub}" styleName="subhead" />
          <s:RichText text="{dataList[2].desc}" width="100%" styleName="caption" />
     </s:NavigatorContent>
</mx:Accordion>
I loked at the existing skins and found an AccordionHeaderSkin.mxml.  I know how to apply these to Spark containers, so I tried:
mx|Accordion {
    skinClass: ClassReference("skins.AccordionHeaderSkin");
and then
mx|Accordion {
    headerStyleName: "myaccordionHeader";
myaccordionHeader {
   skinClass: ClassReference("skins.AccordionHeaderSkin")
neither did anything at all.
So next I tried
mx|Accordion {
     borderStyle: none;
     headerHeight: 32;
     textIndent: 0;
     highlightAlphas: 0.6, 0.62;
     fillAlphas: 1, 1, 1, 1;
     fillColors: #a3b2e2, #4557a2, #868EB9, #868EB9;
     selectedFillColors: #a3b2e2, #4557a2;
     backgroundColor: #F7F9DF;
     textRollOverColor: #000000;
     textSelectedColor: #000000;
     headerStyleName: "myaccordionHeader";
.myaccordionHeader {
     color: #000000;
     fontFamily: Arial;
     fontSize: 16;
And this also did nothing at all, other than the header height and the headet title size. So I tried an old tip of adding this to the compiler argument: -theme=${flexlib}/themes/Halo/halo.swc
But that apparently broke the Spark skins, AND did nothing to change colors etc.  So I removed it.
So next I focused on the navigator content, I duplicated its skin. And changed its backgroundColor style, which works, but now the navigator is empty:
So I removed that too, and am back to a plain vanilla Accordion.  Can someone please explain this?  Otherwise I will just replicate the functionality with various Spark elements.  But it seems odd, since an accordion is exactly what I need.

hey Steve,
you almost have it!! try this:
  <fx:Style>
    @namespace mx "library://ns.adobe.com/flex/halo";
    mx|Accordion {
      borderStyle: none;
      headerHeight: 32;
      textIndent: 0;
      highlightAlphas: 0.6, 0.62;
      fillAlphas: 1, 1, 1, 1;
      fillColors: #a3b2e2, #4557a2, #868EB9, #868EB9;
      selectedFillColors: #a3b2e2, #4557a2;
      backgroundColor: #F7F9DF;
      textRollOverColor: #000000;
      textSelectedColor: #000000;
      headerStyleName: myAccordionHeader;
    .myAccordionHeader {
      color: #000000;
      fontFamily: Arial;
      fontSize: 16;
      skin: ClassReference("skins.CustomAccordionHeaderSkin");
  </fx:Style>
- e
well I can't for all the styles applied, but the header skin should register...
Message was edited by: mewk

Similar Messages

  • Custom skin for accordion component

    Hi,
    I need to create an accordion component that looks like following image:
    I tried this tutorial: http://blog.flexexamples.com/2009/06/21/creating-a-custom-halo-accordion-header-skin-in-fl ex-4/
    I am able to create the background gradient with help of above tutorial.
    I have 3 questions now:
    How to style the header text?
    How to add a link on the active header?
    How to add rounded corner for closed state of last heading only?
    Any help on this is appreciated.
    Best Regards,
    Alok Jain

    You have to download flexlib.swc file.
    Just create custom itemrenderer
    <CanvasButtonAccordionHeader
        xmlns="flexlib.containers.accordionClasses.*"
        xmlns:mx="http://www.adobe.com/2006/mxml"
      mouseChildren="true"
        verticalScrollPolicy="off" horizontalScrollPolicy="off"
         >
        <mx:Script>
             YOUR SCRIPT HERE
            ]]>
        </mx:Script>
       [YOU CAN CREATE A LINK BUTTON HERE]
    </CanvasButtonAccordionHeader>

  • How to skin a cat? Or maybe a BoxDivider?

    Ok, I'm pretty new to all of this, and learning lots every day I work with it.
    I would simply like to make the dividers on my 3-panel DividedBox "pretty".
    I'm thinking that adding a small tiled bitmap as the divider would be a good approach. But I'd be open to creating a box/canvas component and adding some kind of interesting fill color and maybe programatically adding a few choice lines.
    But, as a newbie, I'm finding this unnervingly tricky.
    I'm not finding any skins (flex or otherwise) that are built for a BoxDivider (plenty for panels, buttons, etc). And it seems complicated to try to build my own (I have read about the process, and can learn it, but I was hoping this would be an easy step).
    I also had some success adding components to the BoxDivider programatically (lots easier than getting a skin to work it seemed, just get each divider object and .addChild() and voila, however they didn't resize nicely). But when I looked at my code it seemed "hoakey" and since I'm learning, I'd rather learn the right way to do things (but maye this is more reasonable than I think, but then again, if this was a planned approach I would expect BoxDivider to decend from Container, and it doesn't, which makes me think I'm not on track with this  one).
    Any thoughts on what approach I should take on this? I'm floundering as I poke my nose down different avenues, afraid that I'm missing some knowledge that makes all of this more simple that it seems.
    Thanks!
    David

    Thanks for the reply! I appreciate it.
    I did see that example. And it seems like the only thing they are doing is applying a bitmap to the divider. I managed to do that with enough ease, but it seemed like a pretty limited use case.
    If I wanted my bitmap to stretch the entire length of the divider (minus the area reserved for padding), and I wanted that bitmap to resize as the window size is changed. It seems like a tiled bitmap that resizes with the DividerBox would work. However, I don't see how I could accomplish such a seemingly logical effect.
    I don't have Adobe CS4 and was recently watching a tutorial on skinning with CS4, so maybe that's the path I need to take, it seems like I can create a pretty straight forward vector graphic skin in CS4 to accomplish this. I'm going to grab the eval copy of CS4 and play with this functionality. I'm a developer, not a designer.
    If you have any other thoughts on how I can accomplish this let me know.
    Thanks,
    David

  • How to make Spry Accordion Content Panel with a variable content fit

    I have a problem.  The content panel has a fixed length so I changed it to auto so I can view all the content of each panel.  The problem is that the content panel takes the dimensions of the longest content and applies that to ALL the panels.  So as you click from one to the other, some are practically empty with all the space, while others seem full. 
    The question is, is there a way to vary the size of the content panel so on one that has not a lot of content stays to that size.  This is the way I have the CSS for that.  How can I achieve the variable heights?
    .AccordionPanelContent {
    overflow: auto;
    margin: 0px;
    padding: 5px 4px 6px 15px;
    height: auto;
    background: url(../images/backgrcolor0033.png);
    color: #FFF;
    Thank you.

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">Content 1</div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 2</div>
        <div class="AccordionPanelContent">Content 2</div>
      </div>
    </div>
    <script type="text/javascript">
    var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false });</script>
    </body>
    </html>
    Gramps

  • How to edit the accordion height?

    Hi,
    first of all, sorry for my english ;)
    I tried to edit my Spry Accordion's height like that:
    <div id="Services" class="Accordion" tabindex="0"
    style="height: 500px;">
    but it seems to make an error in the accordion (
    view
    screen). how can i modity the height of this "control" without
    any problem in the design...
    Thanks,
    Regards.

    Hi,
    if you want to use a fix layout, then you should use a
    formula for computing correctly the height.
    For the accordion situation, you should use a formula like
    this:
    Accordion_container_height = sum of all (PanelTabs_height) +
    PanleContent_height + sum of all(margins, paddings and borders).
    This is translated to: the Accordion container height
    depends by all the tabs height, the PanelContent height and also
    you should not forget by the borders, paddings and margins.
    In your case, you should compute first the height for all
    Panles tabs together plus content plus borders, margins and then
    you'll have the correct size for the container that you initially
    set to 500px
    Hope this helps,
    Diana.

  • How to skin the UI Component using AS3

    Hi,
    My application demands skinning the scroll bar component using  coding.
    Aware of manual skining but how can we change the skin programmatically using AS3.
    Help please.

    When you create content dynamically, using the dot notation doesn't work and you have to use getChild...  methods if you want to access via the parents.  However, you shouldn't need to do that since you already have a direct reference to the object...
    nextChild.addEventListener(MouseEvent.CLICK ,onChildClick);
    function onChildClick(evt:MouseEvent):void
    trace("Last Child is Clicked");
    You probably could have realized this when you were implementing this line (assuming it worked)...
    myChild.addChild(nextChild);
    With the parent approach to targeting, wouldn't you have tried to use... myMovie.myChild.addChild(nextChild); ?
    and "Click" should be "CLICK"

  • Muse Themes Mobile Menus- how to customize Classic Accordion

    Can anyone help me on how to customize the Muse Themes Mobile Menus - specifically the Classic Accordion. Or lead me to a tutorial.
    Thank you so very much in advance!

    This will help you :
    https://www.youtube.com/watch?v=Thm8bsNccvI
    Thanks,
    Sanjit

  • How to bring a Accordion  effect to a datagrid row?

    Actually i am working on datagrid. I have an issue of
    bringing some component in between the row.
    That is when i click a specific row i just want to get a
    panel as a drop down stuff between rows(Something similar to the
    one when we click on accordion node).
    Please help me to get this stuff ready,
    Regards,
    Arun

    Adobe Muse only allows .muse files for editing. You can't import a previously created page say in Dreamweaver into Muse.

  • How to make spry accordion open on mouse hover ?

    hi everybody i have just a simple question about spry accordion in cs4 it try to open it using mouse hover not onclick
    can anyone help me plz ?

    This is one way
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab" onMouseOver="Accordion1.openPanel(0); return false;">Label 1</div>
        <div class="AccordionPanelContent">Content 1</div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab" onMouseOver="Accordion1.openPanel(1); return false;">Label 2</div>
        <div class="AccordionPanelContent">Content 2</div>
      </div>
    </div>
    <script type="text/javascript">
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    </script>
    </body>
    </html>
    Another way is to have a SpryEventListener. Look that up for further info.
    Ben

  • How to skin the ToggleButtonBar

    I'm trying to skin the buttons in the ToggleButtonBar but I'm
    having a hard time figuring this one out. I used the style on a
    Button and it worked fine. Can someone see what's wrong?
    Here's what I have by way of code:
    MXML:
    <mx:ApplicationControlBar width="100%" y="80">
    <mx:ToggleButtonBar selectedIndex="0" horizontalGap="2"
    styleName="toggleButton">
    <mx:dataProvider>
    <mx:Array>
    <mx:Object label="ProjectCatalog"
    icon="@Embed(source='images/alert.png')"/>
    <mx:Object label="Snapshot"
    icon="@Embed(source='images/undo.png')"/>
    <mx:Object label="Country"/>
    <mx:Object label="Calendar"/>
    <mx:Object label="Radar"/>
    <mx:Object label="Current and Previous"/>
    </mx:Array>
    </mx:dataProvider>
    </mx:ToggleButtonBar>
    </mx:ApplicationControlBar>
    CSS:
    .toggleButton {
    upSkin:Embed(source="../images/TabButton.swf",
    symbol="up_skin");
    selectedUpSkin:Embed(source="../images/TabButton.swf#up_skin_selected");
    overSkin:Embed(source="../images/TabButton.swf#over_skin");
    selectedOverSkin:Embed(source="../images/TabButton.swf#over_skin_selected");
    downSkin:Embed(source="../images/TabButton.swf#down_skin");
    selectedDownSkin:Embed(source="../images/TabButton.swf#down_skin_selected");
    borderStyle: none;
    /* hide the default focus rectangle*/
    focusThickness: 0;
    }

    Take a look at
    http://www.scalenine.com/
    themes source files:
    E.g:
    CSS:
    ToggleButtonBar
    buttonStyleName: "buttonBarButton";
    firstButtonStyleName: "firstButtonBarButton";
    lastButtonStyleName: "lastButtonBarButton";
    horizontalGap:10;
    // ButtonBarButtons
    .firstButtonBarButton
    disabledSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstDisabledSkin");
    downSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstDownSkin");
    overSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstOverSkin");
    selectedDisabledSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstSelectedDisabledSkin");
    selectedDownSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstSelectedUpSkin");
    selectedOverSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstSelectedUpSkin");
    selectedUpSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstSelectedUpSkin");
    upSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_firstUpSkin");
    color: #ffffff;
    textRollOverColor: #ffffff;
    textSelectedColor: #ffffff;
    .buttonBarButton
    disabledSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonDisabledSkin");
    downSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonDownSkin");
    overSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonOverSkin");
    selectedDisabledSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonSelectedDisabledSkin");
    selectedDownSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonSelectedUpSkin");
    selectedOverSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonSelectedUpSkin");
    selectedUpSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonSelectedUpSkin");
    upSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_buttonUpSkin");
    color: #ffffff;
    textRollOverColor: #ffffff;
    textSelectedColor: #ffffff;
    .lastButtonBarButton
    disabledSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastDisabledSkin");
    downSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastDownSkin");
    overSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastOverSkin");
    selectedDisabledSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastSelectedDisabledSkin");
    selectedDownSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastSelectedUpSkin");
    selectedOverSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastSelectedUpSkin");
    selectedUpSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastSelectedUpSkin");
    upSkin: Embed(source="messenger.swf",
    symbol="ButtonBar_lastUpSkin");
    color: #ffffff;
    textRollOverColor: #ffffff;
    textSelectedColor: #ffffff;
    }

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

  • 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.

  • ADF Skinning - How to identify Skinning Selector Name

    When we do skinning, in the CSS file that is generated by ADF Framework, we are seeing a style named
    af_commandMenuItem_menu-itemIn order to define, custom properties to this above style, we would need to modify in the custom skinning file as
    af|commandMenuItem::menu-item {
    background-color: #17375E;
    }I would like to know, how the skinning selector in CSS file generated by ADF Framework - can be converted into the actual style name that is to be specified in the Custom Skin CSS file.
    In above, how can we get
    af|commandMenuItem::menu-itemfrom
    af_commandMenuItem_menu-itemIs there any general guideline for this?
    Thanks in advance,
    Navaneeth

    :: is a pseudo class and defines an area within a component e.g. af|inputText::content
    : is a pseudo element and describes a behavior. e.g. af|inputText:hover (this is the default CSS syntax)
    Frank

  • How to Disable Accordion Tab?

    HI. My first visit here...
    Is anyone knows how to disable all accordion tabs and be able
    to open each next from inside previous.
    I know there are some nice samples on how to programatically
    open panels and tabs, but on the same time each of panels or tabs
    can be open by simply clicking on it. I need to restrict user from
    opening tab, unless info is entered inside previous tab content...
    Any advice is appreciated.

    This question has been asked before. Once again, you can NOT do this using pure java. This could be done in Windows using JNI and a keyboard hook or interfacing with the screensaver API perhaps.

  • How to add Skin/Theme to VC++ MFC Application

    How to add skin/Theme to full VC++ MFC Application.
    default Theme is looks like a old window screen . so i trying to change the theme of the application.
    i need to change the good (look and feel) Skin/Theme.
    How Can i achieve this? There is any possible to do this?
    Thanks

    First way:
    The MFC that is in use with VC2008 and later you have the possibility to use the CMFCVisualManager* classes and you can derive an own class that has a skin you create on your own. The problem is this classes are not very well documented and I would not know
    there is an good example that shows on how to do that.
    2nd way:
    You use an own skin framework and do all by your own, the advantage is you know how your skin manager works, the bad thing may be, it can be a lot of work dependig what controls / window parts you want to skin. Here a nice example on making an own skin manager:
    http://www.codeproject.com/Articles/744/EZSkin-A-Primitive-Framework-for-building-skinnabl
    3rd way:
    Using commerical tools. The good thing is you have support, if there are problems. The bad part is you must pay money:
    http://skincrafter.com/
    http://www.stardock.com/corporatesolutions/DirectSkin/
    http://www.codejock.com/products/SkinFramework/
    Best regards
    Bordon
    Note: Posted code pieces may not have a good programming style and may not perfect. It is also possible that they do not work in all situations. Code pieces are only indended to explain something particualar.

Maybe you are looking for

  • ODI with Sql Server

    Hi Frnds, I'm working on ODI 10g. JDK - 1.6 Version. I downloaded Sqljdbc4 jar file and placed it in Oracledi\drivers And, i was successfully able to connect to ms sql server 2000 DB i.e. able to insert data server with In definition tab - i gave dat

  • Down payment display in MIRO

    Hi, When MIRO is processed,if there is a down payment done it use to throw the message.But now the message is not coming for the advance holding vendors.How to solve this or where to check the config.Please help Thanks

  • Why do My contacts do not download to my iPad?

    I have just bought an iPad and my contacts are not showing or syncing.  I have iCloud and it works perfectly with my iPhone and contacts in outlook on my PC but not on my iPad. Contacts is turned on in settings. Any ideas anyone?

  • PO Item is not coming into MIGO

    Hi Gurus, I am facing a problem please tell me why I am getting this issue. I created a PO with 2 items one with master record and other without master record. I gave them account assignment category K to both. Now when I am doing goods receipt using

  • Where we can assign the form J_1IEWT_CERT and program

    where we can assign the form J_1IEWT_CERT and program which we customized for the standard program J_1IEWT_CERT (name same as the form name ) . Can anybody please tell me I did the customization for both the form and the program now where I can assig