dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Changing the color of bullets in a <ul> tag?

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    2

    Changing the color of bullets in a <ul> tag?

    I'm pulling in text dynamically from a text file and formatting it using html tags. My text is white on a black background. When I use the unordered list <ul> tag it makes all the bullets black.

    Is there any way of making these bullets white? (the font color tag doesn't change them)

  2. #2
    sockpuppet
    Join Date
    Mar 2005
    Posts
    323
    The < ul > tag is not supported in Flash. The < li > tag not supported also, even if it does work sometime.

    http://www.macromedia.com/cfusion/kn...fm?id=tn_14808

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Posts
    2
    After some serious searching around I found the solution...

    Flash accepts the <TEXTFORMAT> tag, so you can make a series of bullets manually. This is how I set up mine:
    "<TEXTFORMAT blockindent="30" indent="-25"><p>%E2%80%A2 Blah, blah, blah</p></TEXTFORMAT>"
    ("%E2%80%A2" is the code for the bullet character I used)
    (blockindent indents the entire paragraph and indent indents the first line of each paragraph)

    So, all you have to do is place each bullet within the <p> tag and all the bullets within the <TEXTFORMAT> tag.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center