Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Working with Text and Strings > Using HTML-formatted text > About embedding images, SWF files, and movie clips in text fields | |||
In Flash Player 7 and later, you can use the <img> tag to embed image files (JPEG, GIF, PNG), SWF files, and movie clips inside dynamic and input text fields, and TextArea component instances. (For a full list of attributes for the <img> tag, see Image tag.)
Flash displays media embedded in a text field at full size. To specify the dimensions of the media you are embedding, use the <img> tag's height and width attributes. (See About specifying height and width values.)
In general, an image embedded in a text field appears on the line following the <img> tag. However, when the <img> tag is the first character in the text field, the image appears on the first line of the text field.
|
|
|
|