View comments | RSS feed

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.


Flash CS3


Comments


No screen name said on May 7, 2007 at 8:18 AM :
Is there a way to put an img in the same line than a preceding text?
It seems just works when the image is placed as the first character in the text area. Any suggestions?
No screen name said on May 31, 2007 at 9:32 AM :
I am attaching a movie clip using the <img> Tag, is there anyway to
pass variables to that mc from the html code,

something like

<img src="imgLoader" width="300" height="75" id="my_mc"
variable="value"/>

Thanks

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00000935.html