<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>z-ohnami</author_name>
  <author_url>https://blog.hatena.ne.jp/z-ohnami/</author_url>
  <blog_title>ゼットコードログ</blog_title>
  <blog_url>https://z-code.hateblo.jp/</blog_url>
  <categories>
    <anon>OpenFL</anon>
    <anon>Haxe</anon>
  </categories>
  <description>DataEvent というのがあって、それを使います。 データは文字列に変換しておきます。 最初、cast(value,String) というのがいいのかと思ったら、 コンパイルエラーが出たので使ってないです。 _rect.dispatchEvent(new DataEvent(MyRect.EVENT_MOVE,false,false,Std.string(getNextColor()))); 受ける側はこのように。コールバック関数の引数の中に入ってやってきます。 private function onReceiveEvent(event:DataEvent):Void { trace(ev…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fz-code.hateblo.jp%2Fentry%2F2014%2F04%2F27%2F135137&quot; title=&quot;OpenFL イベント発生時にデータも送る - ゼットコードログ&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>2014-04-27 13:51:37</published>
  <title>OpenFL イベント発生時にデータも送る</title>
  <type>rich</type>
  <url>https://z-code.hateblo.jp/entry/2014/04/27/135137</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
