[AS3]オブジェクトからクラス名を取得する

このエントリーを含むはてなブックマーク

こんな感じ?

  1. import flash.utils.describeType;
  2. String(describeType(this).@name).match(/::(.*)/)[1];


Posted in actionscript3.0, 日記 at 10月 24th, 2007. Trackback URI: trackback

One Response to “[AS3]オブジェクトからクラス名を取得する”

  1. 3月 30th, 2010 at 3:42 PM #ryan's blog» Blog Archive » [as3]特定の型の子要素を見つける

    [...] [AS3]オブジェクトからクラス名を取得する [...]

Leave a Reply