3 Replies Latest reply on Jul 24, 2013 2:19 AM by KenneyNL

    TLF text add MovieClip from library as img


      Trying to add a MovieClip from the library to a TLF textfield using the following code:


      var textFlow:TextFlow = chatOutput.textFlow;


      var htmlText:String = "test <img src='smile' width='40' height='40'/> test";

      chatOutput.textFlow = TextConverter.importToFlow(htmlText, TextConverter.TEXT_FIELD_HTML_FORMAT);




      "smile" is the linkage name of a MovieClip in my library. However, it doesn't show up. The TLF textfield has a little gap where the MovieClip should show up but it doesn't. When I replace the MovieClip's linkage name with an online image it does work.