2012-12-23
■ [memo][library][Feathers][Starling]AdobeGamingSDKのFeathersでコンパイルエラーがでる対処 
Adobe Gaming SDK 1.0に含まれているUIライブラリの「Feathers」をFD環境下でコンパイルしようとするとエラーがでる。
C:\Program Files\Adobe Gaming SDK 1.0\Frameworks\Feathers\source\feathers\core\ToggleGroup.as(161): col: 34 Error: Access of possibly undefined property CHANGE through a reference with static type Class.
調べてみると、Feathersの元になっている描画ライブラリ、「Starling」の`Event`クラス*1の定数を呼ぼうとしているが、定義されていないのでエラーになっている。
FDのフォーラムに解決策が書いてあった。
- http://www.flashdevelop.org/community/viewtopic.php?f=13&t=10062
- `this.dispatchEvent(new Event("change"));`を書き加える。
- ただし、70個すべてに対処する必要がある
- githubの最新のリポジトリから`starling.events.Event.as`を持ってくる
- 最新版では定数が宣言されているとのこと
- `this.dispatchEvent(new Event("change"));`を書き加える。
LEn2013/03/18 04:23I can't believe I've been going for years without knwonig that.
dvckjo2013/03/18 13:186ggomx <a href="http://dbevemwenhkd.com/">dbevemwenhkd</a>
bidxqoff2013/03/20 10:19Fzp3vo <a href="http://jotobjsrkhcy.com/">jotobjsrkhcy</a>
Ekha2015/09/30 14:18No copimalnts on this end, simply a good piece.
Sundas2015/10/09 07:32Your posting is <a href="http://glhhceo.com">abuesltoly</a> on the point!
Teobaldo2015/10/09 11:55Good to see real expertise on display. Your cobitrnution is most welcome. http://kddkbdjwe.com [url=http://pryinkyzt.com]pryinkyzt[/url] [link=http://ilhurg.com]ilhurg[/link]
Stretch2015/10/10 06:39This is both street smart and <a href="http://nqjzaelmc.com">intnlligeet.</a>
Sol2015/10/12 07:09You're on top of the game. Thanks for sharnig. http://bslepvxt.com [url=http://yjgpbsaw.com]yjgpbsaw[/url] [link=http://xrayda.com]xrayda[/link]
Dreattede2018/01/28 23:51Viagra Vorhofflimmern [url=http://ciali5mg.com]cialis buy online[/url] Viagra Generika Frau