One of these should help you out...

http://thanksmister.com/index.php/archive/flex-truncating-html-text/#more-613

http://www.frontenddeveloper.net/wiki/index.php?title=Truncate_HTMLText


--- In flexcoders@yahoogroups.com, "Matthew" <fume...@...> wrote:
>
> Hi - 
> 
> I have a Label with truncateToFit set to true and a maxWidth. However, the 
> htmlText I assign is concatenated a la:
> 
> ipText = '<b>' +endPointData.ipLabel+ '</b>: ' + endPointData.ipValue;
> 
> I've researched online and found that truncateToFit() has problems dealing 
> with concatenated Strings; my text does not get truncated. 
> 
> Has anyone found a solution? 
> 
> Thank you for any tips.
>


Reply via email to