Setting style  for DatagridColumn?

My dataGrid has a style set for it in the CSS stylesheet. How
can I change the style for one of the columns please?

If your DataGridColumn has an id set for it, you can use the
setStyle() method to set individual styles.
<?xml version="1.0"?>
<!-- dragdrop\SimpleDGToDG.mxml -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="initApp();">
<mx:Script>
<![CDATA[
private function initApp():void {
greg.setStyle("backgroundColor","#ff00ff");
srcgrid.dataProvider = [
{Artist:'Carole King', Album:'Tapestry', Price:11.99},
{Artist:'Paul Simon', Album:'Graceland', Price:10.99},
{Artist:'Original Cast', Album:'Camelot', Price:12.99},
{Artist:'The Beatles', Album:'The White Album', Price:11.99}
]]>
</mx:Script>
<mx:DataGrid id="srcgrid">
<mx:columns>
<mx:DataGridColumn id="greg" dataField="Artist"/>
<mx:DataGridColumn dataField="Album"/>
<mx:DataGridColumn dataField="Price"/>
</mx:columns>
</mx:DataGrid>
</mx:Application>

Similar Messages

  • Correct way of setting styles for custom components

    Hey everyone,
                            I have a custom component which extends UIComponent and holds a image and a button. If I want to set the default style for my button where do I set it in the createChildren, stylesInitialized ,  updateDisplayList  or styleChanged ? I know styleChanged gets called first but the param is always null
    styleChanged = null
    stylesInitialized
    initialize
    createChildren
    initializationComplete
    commitProperties
    measure
    updateDisplayList
    Cheers,
    Firdosh

    Thanks for your recommendations. I have seen a lot of components (yahoo-astra e.g) call a static function or use Mixin (asfusion Rating Component)
    public class CustomComponent extends UIComponent {
              public static function initializeStyles():void
                   var styleDeclaration:CSSStyleDeclaration = StyleManager.getStyleDeclaration("BaseMultiFieldInput");
                   if(!styleDeclaration)
                        styleDeclaration = new CSSStyleDeclaration();
                   styleDeclaration.defaultFactory = function():void
                        this.backgroundColor = 0xffffff;
                        this.backgroundDisabledColor = 0xdddddd;
                        this.textAlign = TextFormatAlign.CENTER;
                        //other styles are based on the framework defaults
                   StyleManager.setStyleDeclaration("BaseMultiFieldInput", styleDeclaration, false);
              initializeStyles();
    is there a reasons why they are set in a static call?

  • Set style for reports

    Hello
    i need to find a way to give a format to objects inside my reports, in a way similar to css.
    Actually i export my reports in the code behind of my page, i wish to set the report sytle (font size and type, color, backgroung and so on). I've tried to use the setcssclass method in the code behind of the page that export the pdf without success :
    the page:
    <head id="Head1" runat="server">
    <title></title>
    <style type="text/css" runat="server" id="stile">
        h1
        background-color:Aqua;
        border-color:Black;
        color:Black;
        font-family:Arial;
        font-weight:bold;
        font-style:italic;
    </style>
    </head>
    the code behind
    report.SetCssClass(ObjectScope.PageHeaderSections,"h1")
    Dim oStream As System.IO.MemoryStream
    oStream = DirectCast(report.ExportToStream( _
    CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream)
    Response.Clear()
    Response.Buffer = True
    Response.ContentType = "application/pdf"
    Response.BinaryWrite(oStream.ToArray())
    I wish to remark i don't use crystalreportviewer and the above code print the file directly inside the browser.
    the questions are:
    1. does the above code should work and i'm doing something wrong or that approach is completly wrong and will never work? If it's a correct approach, why the stye doesn't get applied?
    2. if that's not the rigth way to do this thing what tool should i use? formatting formulas? do them allow me to format large pieces of report at the same time like css do in html ? Can you provide me links to examples or tutorial.
    i'd like to avoid to set font size,type , line thickness or colors for each item in the report, so any hint will be greatly appreciated
    thank you in advance
    Stefano

    Hello, Stefano;
    The code you are using is only formatting the HTML page and not affecting the report object.
    To do that you would need to use the Crystal Reports SDK and that would include formatting options.
    You are correct, you can use formatting formula for objects. You will want to test your results in the designer first. It will have to work the way you expect there.
    You may be able to do create some generic formula that will work on larger groups.
    e.g. @Format_Color
    You could use this formula for lines and fonts that you needed the same color and at runtime pass in the color needed:
    Report.DataDefinition.FormulaFields.Item("Format_Color").Text = crBlue
    Then use this formula when formatting all the fields you where you want blue options for Font or Underlines as an example.
    Another option is to actually add formatting at runtime using the Report Creation API properties of the Report Application Server SDK (RAS).
    You can look for more ideas in the [Developer's Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]. Look at "[New APIs for enhanced report customization|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_net_doc/doc/rassdk_net_doc/html/Whats_New_RAS2.html#1022964]".
    Once the changes are made in the report object it should export to .pdf as you expect.
    Elaine

  • Setting style for html tags in flex

    I need to add display:inline style property to <p>tag in flex CSS. Is there anyway to do like the below in flex
    p{ display:inline}
    Thanks in advance.

    Hi rizmysl,
    You cannot directly set the backgroundColor to a Label control however you can do it by getting a reference to the underlying TextField control inside the Label, for that you need to write some actionscript.
    Check out the below code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
         <mx:Style>
              .texfield{ width:300; height:30; background-color:red; fontWeight:bold;}
         </mx:Style>
         <mx:Script>
          <![CDATA[
           import mx.core.IUITextField;
           private function init():void
            //Getting reference to the underlying TextFiled control inside Label
            var tf:IUITextField = (myTextField.mx_internal::getTextField());
            tf.background = true;
            tf.backgroundColor = 0XFF0000;
            tf.width = 300;
            tf.height = 30;
          ]]>
         </mx:Script>
         <mx:Label x="25" y="113" text="My Sample Text Goes Here ...."  styleName="texfield" id="myTextField" />
    </mx:Application>
    Thanks,
    Bhasker Chari    

  • Using Global Style for DatagridHeader and DataGridColumn

    Can someone tell me how to apply Globalstyles for the datagrid header and datagrid columns.
    I placed css styles in my lib project in defaults.css (as followed in   adobe material).
    I am refering this style in my projects in datagrid headers headerStyleName="SomeStyleNamefromCSS". Similarly how should I specify the styles for DataGridColumn in a Global CSS file (defults.css).Because I dont want to set style seperately in all of my projects.
    Also does the DatagridColumns inherit the styles from headerStyle of the Datagrid and how to deal with it in CSS files. I am using Flex 4.1
    Any suggestions on this is very much appreciated

    The headers pick up styles from headerStyleName, but the renderers don't.
    Anything set on the DG should get picked up by all headers and renderers,
    but you can also make a custom renderer and a type selector for it.

  • Set default style for shapes

    Is there a way to set a default style for Shapes in Pages 5.2 ? 

    Accidentally discovered th answer to this (tried to delete the question but could not).... seems that if rearrange the "styles" in the format side bar, the first style will be the default style used....

  • Create a new set of skin and style for OC4J

    hi, I have created a new set of skin and style
    for example,
    just duplicated folders s_oracle10 , sk_oracle10 and rename them as s_oracle10b , sk_oracle10b (in \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res)
    however, I found that there is no new choice - oracle10b in the dropdownlist for selecting style.
    how to create a new set of skin and style ??

    I have read Oracle® Business Intelligence Suite Enterprise Edition Release Notes Version 10.1.3.4.1 E10404-25
    =====================================================================
    In Chapter 10, the section "About Skins and Styles" contains incomplete
    information. The following information should appear after the section's first
    paragraph:
    Respective Web servers require resource files like styles to be deployed
    appropriately for those applications. For example, when using OC4J as is common
    in Oracle BI deployments, skins, styles and images need to be duplicated in the
    following directories:
    – {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    – {OracleBI}\web\app\res
    As a rule, customer-specific files like custom styles should live in the
    {OracleBIData} folders so these are not lost during upgrades. In this case, the
    custom style would then be deployed to OC4J as described above and to the
    following directory: {OracleBIData}\web\res
    ===================================================================== copied from the pdf
    we need to copy the new set to two directories.
    however, I found that resources of the new set are from {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    not from {OracleBI}\web\app\res
    if there is a upgrade or redeployment, will the new set be removed or replaced.
    why isn't load from {OracleBI}\web\app\res?
    how to configure to make it load from {OracleBI}\web\app\res?
    thanks

  • Set by script the tag and/or the class of a paragraph style for HTML / EPUB export?

    Is it possible to set by script the tag and/or the class of a paragraph style for HTML / EPUB export?

    I found a way
    tell application "Adobe InDesign CS6"
      tell document 1
      tell paragraph style 2
      --get count of style export tag map
      tell style export tag map 1 -- HTML  , 2 = PDF
      --get export class
      --get export tag
      set export tag to "H1"
      set export class to "blue"
      end tell
      end tell
      end tell
    end tell
    and its works
    but thanks for help to use the class "style export tag map"

  • How to set different style for headings in quicklaunch

    Hi,
    would like to assign a special style for Headings in the Quicklaunch. Is it possible to assign a different style to headings using CSS?
    Thanks
    Sven

    Hi Sven,
    Please refer to the following article, it might help.
    Customize Change quick launch style and design SharePoint
    .s4-ql UL.root > LI > .menu-item {
    PADDING-BOTTOM: 1px; MIN-HEIGHT: 30px; BACKGROUND: url(http://md-jayabharathi:28586/SiteAssets/BCKHover.jpg) no-repeat 0px -10px; FONT-SIZE: 1em; PADDING-TOP: 1px
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • Datagrid with LinkButton/Hyperlink for DataGridColumn(simple one)...

    Hi All,
       I'm having below code
       <mx:Script>
         [Bindable]
                 public var mySourceDataProvider:Array = new Array({isRowSelected: false, name:'Name1', age:10, comment:'Comment1'},
                             {isRowSelected: false, name:'Name2', age:20, comment:'Comment2'},
                             {isRowSelected: false, name:'Name3', age:30, comment:'Comment3'},
                             {isRowSelected: false, name:'Name4', age:40, comment:'Comment4'});
       </mx:Script>
       <mx:DataGrid id="mySourceDataGrid" dataProvider="{mySourceDataProvider}" headerRelease="headRelEvt(event);" x="54" y="65" width="365">
                 <mx:columns>
                         <mx:DataGridColumn sortable="false">
                                 <mx:headerRenderer >
                                     <mx:Component>
                                         <mx:HBox horizontalAlign="center" verticalAlign="middle">
                                             <mx:CheckBox selected="{outerDocument.check_flg}" click="outerDocument.headerCheckBoxSelection(event);"/>
                                         </mx:HBox>
                                     </mx:Component>
                                  </mx:headerRenderer>
                                 <mx:itemRenderer>
                                         <mx:Component>                                             
                                                 <mx:VBox horizontalAlign="center" verticalAlign="middle">
                                                         <mx:CheckBox id="source"
                                                             selected="{data.isRowSelected}"
                                                             click="outerDocument.updateSelectedRowFlag(event);"/>
                                                 </mx:VBox>
                                         </mx:Component>
                                 </mx:itemRenderer>
                         </mx:DataGridColumn>
                         <mx:DataGridColumn dataField="name"/>
                         <mx:DataGridColumn dataField="age"/>                    
                         <mx:DataGridColumn dataField="comment"/>
                 </mx:columns>    
    </mx:DataGrid>
       The grid is showing correctly with data and it is working fine. Now I need to have hyperlink/linkbutton on name column displayed in DataGrid. When I press this link/button it should navigate to different page(.mxml)...
        Can someone please let me know how to do this?
        Thanks in advance.
    Regards,
    sharath.

    I'm able to solve this problem but having question on setting style on linkbutton. Linkbutton style is not working
    <mx:DataGridColumn editable="false" textAlign="center" id="dgCol_buttons" >                       
                            <mx:itemRenderer>
                                <mx:Component>
                                <mx:LinkButton styleName="htmlLink" label="{data.name}" toolTip="Accept WorkOrder"/>                                                   
                                </mx:Component>
                            </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:Style>
           .htmlLink        {
                fontSize: 12;
                fontWeight: normal;
                text-decoration:underline;           
    </mx:Style>
    text-decoration is defined as underline but it is not showing underline for linkbutton column.
    Can you please advice, how to solve this problem.

  • How to define the style for JTextArea using synth style xml file.

    Hi all,
    How can we align the text inside the JTextArea using synth style xml file.
    We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
    <insets top="3" left="3" bottom="3" right="3"/>
    Please help me if any one knows

    Hi Anju,
    This may help you.
    http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Preferrence Variable can be updated either thorugh EM console or ConfigPlan
    Regards,
    Richa

  • How does one define a default style for a custom Flex component?

    How does one define a default style for a custom Flex component?
    hello
    I created a new set of Flex component library slib.swc (Flex 4.5). Would also like to have a default style. defaults.css file, making it the default style of the component library.
    Like flex the builder install directory of sdks \ 4.5.0 \ frameworks out \ libs directory has a spark.swc file, open with Winrar will see defaults.css this file. Defaults.css file defines the default style of the flex spark components.
    How can it be achieved?
    As follows
    slib.swc contains a CLabelEx components, and a defaults.css file
    defaults.css source file as follows:
    @ namespace s "library :/ / ns.adobe.com / flex / spark";
    @ namespace mx "library :/ / ns.adobe.com / flex / mx";
    @ namespace cn "http://os.slib.cn";
    cn | CLabelEx
            styBackgroundAlpha: 1;
            styBackgroundColor: # 569CC0;
            styBorderAlpha: 1;
            styBorderColor: # 569CC0;
            styBorderWeight: 1;
            styCornerRadius: 3;
    In slib.swc the application MyLabel.mxml of the source file as follows:
    <? xml version = "1.0" encoding = "utf-8"?>
    <s: Application, the xmlns: fx = "http://ns.adobe.com/mxml/2009
                               xmlns: s = "library :/ / ns.adobe.com / flex / spark"
                               xmlns: mx = "library :/ / ns.adobe.com / flex / mx"
                               xmlns: cn = "http://os.slib.cn
                               the minWidth = "955" The minHeight = "600">
            <fxeclarations>
            </ fxeclarations>
            <cn:CLabelEx x="67" y="112"/>
    </ s: Application>
    I hope CLabelEx default use cn | CLabelEx, style to display its appearance.
    I refer to above approach, but failed to achieve. Can you please re-Detailed
    Thanks!

    dj is right. Any Folder can be a picture folder.
    Create a root level folder and add it to your Pictures Library in Windows.  It will show up with all the scattered pictures from other programs. It can even be a different dirve if you like.  You  can even specify one to be the default save location for pictures in this dialog.
    Navigate to Pictures in your Libraries in Windows Explorer Right Click and select Properties.
    Message was edited by: Rikk Flohr forgot the instructions...

  • [svn:fx-trunk] 10006: Initial checkin of the "More styles for Spark skins" feature.

    Revision: 10006
    Author:   [email protected]
    Date:     2009-09-03 15:04:47 -0700 (Thu, 03 Sep 2009)
    Log Message:
    Initial checkin of the "More styles for Spark skins" feature. Details here:
    http://opensource.adobe.com/wiki/display/flexsdk/MoreStylesforSparkSkins
    There are some known issues:
    Panel bottom corners not rounded correctly when the panel has a control bar
    cornerRadius on Tab and DateChooser non functional
    cornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like components
    TextInput/TextArea incorrectly list lineBreak and verticalAlign as valid styles
    This checkin also includes a couple minor unrelated bug fixes:
    Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5
    Fix RTEs when setting focusSkin to null
    Optimization: don't measure skins if the host component has explicit sizes
    QE notes: Yes, many baseline images will need to be regenerated
    Doc notes: New ASDoc comments should be scrubbed
    Bugs: SDK-22931, SDK-22798, SDK-22217, SDK-19358
    Reviewer: Jason
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22931
        http://bugs.adobe.com/jira/browse/SDK-22798
        http://bugs.adobe.com/jira/browse/SDK-22217
        http://bugs.adobe.com/jira/browse/SDK-19358
    Modified Paths:
        flex/sdk/trunk/frameworks/halo-manifest.xml
        flex/sdk/trunk/frameworks/mxml-manifest.xml
        flex/sdk/trunk/frameworks/projects/airframework/defaults.css
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowed ApplicationSkin.mxml
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplication Skin.mxml
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.a s
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableCom ponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTex tBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.m xml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mx ml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxm l
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperTextInputSki n.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerDecrementButtonSkin .mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerIncrementButtonSkin .mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin .mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin. mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxm l
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mx ml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mx ml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mx ml
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
        flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/targets/MiniDebugTarget.as

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • Using a downloaded image as the icon style for a Button

    Hello
    I have a problem and after a lot of investigation I have reached to no conclusion.
    When setting the icon to a Button, a Class of an image is needed. This can be done very simply by embeding an image. But what I would like to do is use an image known only at runtime.
    More exactly I can not download an image from an external source, obtain it bitmapData or something else, convert it and assign it as the icon style for a Button.
    So my problem is that for the Flex components that need an image, a Class needs to be assigned, and I can not use an external image to download it, to convert it in some way and assign it.
    Does anybody have any sugestion? Is it possible?
    My purpose is to make some utility that just downloads the images and after the downloading has been completed, to notify the "client" it should take the "created Class" to use it as a style.
    Thank you in advance for your time,
    Claude Bur.

    A quick google search turned up this solution:
    http://blog.benstucki.net/?p=42
    - Jason

  • Nested Tab Leader Style for Price List Issue

    Hello,
    I wanted set up a character style for a tab leader that makes the font weight light as opposed to the bold paragraph style. I tried two character styles, one as a tab leader, and one as a dotted underline and got different results.
    When I set up the nested style on my paragraph style using the character style "Leader Dots" is changing the price from bold to light.
    When I set up the nested style on my paragraph style using the character style "Dotted Line" the dotted underline goes to the full right-justified width.
    Both issues I think are b/c the tab is right-justified. See the attached images for examples.
    I am trying to figure out a way to have either character style stop before the price, but keep the price right-justified. So in a nutshell it would be… Bold item name / Light tab leader / Bold price
    Thank you for any help.

    Aha! Peter, you're right! 
    // French version //

Maybe you are looking for