swf_textwidth Get the width of a string Description floatswf_textwidth stringstr The swf_textwidth function gives the width of the string, str, in pixels, using the current font and font size.