<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>asahiufo</author_name>
  <author_url>https://blog.hatena.ne.jp/asahiufo/</author_url>
  <blog_title>書き物</blog_title>
  <blog_url>https://asahiufo.hatenadiary.org/</blog_url>
  <categories>
    <anon>AS3</anon>
    <anon>レポート</anon>
  </categories>
  <description>スクリプトでテキストを表示させようとする場合、AS3ではTextFieldを使います。基本的な使い方は以下の通り。 var t:TextField = new TextField(); t.text = &quot;文字ィッ&quot;;もちろん、コンテナにaddChildしなければ表示されません。 しかしこのTextField、表示させる位置を設定するとき自身のサイズを使って設定すると、想定していた位置に表示されないことがあります。例えば以下のような場合。 var t:TextField = new TextField(); t.text = &quot;文字ィッ！&quot;; t.x = 300 - t.width / 2; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasahiufo.hatenadiary.org%2Fentry%2F20070112%2F1168622397&quot; title=&quot;TextFieldのwidthとheight - 書き物&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-01-12 02:19:57</published>
  <title>TextFieldのwidthとheight</title>
  <type>rich</type>
  <url>https://asahiufo.hatenadiary.org/entry/20070112/1168622397</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
