0
私のコードは次のとおりです。AS3で画像とテキストの間のスペースを設定する方法のTextFlow
htmlMarkup:XML =
<TextFlow whiteSpaceCollapse="preserve" version="3.0.0" xmlns="http://ns.adobe.com/textLayout/2008">
<p><font face="Arial" size="18"><span>TLF 2.0 will <span class="word">include</span> support for Floats. This feature is currently under development,</span>
<span> so the final form may change, but what follows is a description of how it works now. We are </span>
<img height="auto" width="auto" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Ash_Tree_-_geograph.org.uk_-_590710.jpg/220px-Ash_Tree_-_geograph.org.uk_-_590710.jpg" align="left"/>
<span>so the final form may change, but what follows is a description of how it works now. We are </span>
<span>very interested in feedback on this feature, so please let us know how it works for you, </span>
<span>very interested in feedback on this feature, so please let us know how it works for you, </span>
<span>and if you have any suggestions for improvements.</span></font>
</p>
</TextFlow>;
var textFlow:TextFlow = TextConverter.importToFlow(htmlMarkup, TextConverter.TEXT_FIELD_HTML_FORMAT);
を実行し、このコード、画像やテキストは、何もスペースを閉じていません。しかし、私はいくつかの白いピクセルでそれらを分離したい。私はCSSラベル "パディング"を使用しようとしましたが効果はありません。