Simple Flex smilies with HTML support

Here I am again, with a new demo of Simple Flex smilies.

This time it supports the HTML produced by a RichTextEditor. It might be the first demo out there that has both smilies (emoticons) and html text that also includes source, although I didn’t search around :) In any case, it is exploiting the method I posted in the previous post.

The issues that it has is that it doesn’t interpret LI tag, for some reason, but maybe in the future I will sort it out.

Explanations will be coming soon. In the meantime here is the link:

Flex smilies with HTML support demo (view source included): here.

I commented the code, so you can peak around. I will write a full explanation like I did in the previous post, but later on this week (maybe weekend?).

The code that parses the HTML is partially hardcoded (for the format produced by RichTextEditor), and partially generic (the code that processes the HTML).

I will be coming again soon with the explanations, in the meantime enjoy and leave me feedback :)

Tags: , , , , , ,

18.Dec.08 Flex


You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

4 Responses to “Simple Flex smilies with HTML support”

  1. Souch |

    Realy nice, congratulations :)

  2. eldervaz |

    Hey man, I love your code ^^ It’s very very nice, but I have a problem with first word, because the word is not created in the axis Y=0

    look! http://www.eldervaz.com/jpg/exampleTest.JPG

    why?

    Thanks ^^

  3. kiorull |

    Hi,

    I assume you have some styles applied on the container of the flowboxes or on the flowbox. Try to put a border around the FlowBox (via setStyle) and then play with the padding properties and gap properties. See what happens, I mean from there is the gap coming: from the outer container or from within the FlowBox?

  4. Arthur |

    Eldervaz the solution is:

    Comment the flowBox.addChild(dummyFix);

    :)

Leave a Reply

© kiorull.com | RSS Feed | Design by David Herreman | Wordpressed by Ericulous