Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.