Skip to main content
Known Participant
February 9, 2012
Question

Set user defined bullet Style

  • February 9, 2012
  • 1 reply
  • 2113 views

  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

This topic has been closed for replies.

1 reply

Adobe Employee
February 9, 2012

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.