摘要 |
Techniques are described for providing full support of inline images within online instant messaging applications such as those developed for Flash. When a message contains both a text component and an image component, the image component is separated from the text component. The location of the text is measured dynamically either using an XML ruler component or a bitmap ruler component. Based upon the locations of the text, the images are placed on an invisible image layer. The text is placed on a textfield to be displayed to the user. The image or textfield layer is then placed on top of the other of the image or textfield layer so that both the text component and the image component of the message are visible to the user.
|