Skip navigation
Currently Being Moderated

Set user defined bullet Style

Feb 8, 2012 9:06 PM

  Dear All,

 

  In our project we are using BulltedList in TLF. We have  requirement to change the bullet style. Is there any way to change the bullet style by using an fxg . I am trying to create the List amrker formet by using the following code sniplet

 

 

 

              

                                   var lnkelement:ListElement = childElement as ListElement;

                                           var lstMarkerFormat:ListMarkerFormat = ListMarkerFormat.createListMarkerFormat(new bulletblue());

                                              lnkelement.listMarkerFormat = lstMarkerFormat;

 

In the above code the new bulletblue() is my fxg graphic , but it does't have any effect.

 

 

Any help would be highely appreceated.

 

Thanks in advance

Regards,

Gaurav

 
Replies
  • Currently Being Moderated
    Feb 9, 2012 12:12 AM   in reply to gauravk.pandey

    TLF does not provide direct interface to replace list marker with your custom one till now.

     

    You can set style of marker as ListStyleType.NONE, and then take advantage of some formats in flashx.textLayout.formats.ListMarkerFormat to make it.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points