Actionscript3

  • , ,

    swf間でメッソドよびだし

    action script3 swf間でのコミュニケーション Official document http://kb2.adobe.com/community/publishing/918/cpsid_91887.html http://www.fabiobiondi.com/blog/2009/08/swf-to-swf-communication-in-flash-csx-how-to-call-methods-between-swf-files/ Commentの loader.load( new URLRequest(“Page.swf”), new LoaderContext(false, new ApplicationDomain())); がkeypoint

    続きを読む

  • ,

    interface メソッド build が互換性のない署名を使用して…

    JavaプログラマーがActionscript3コードを書くと言語仕様に起因する幾つかの問題に直面する。 例えば以下の仕様 – enumの不在 -Abstractの不在 その中で悩みの種となったのはinterfaceの実装の際、戻り値が厳格すぎることである。 例えばinterfaceの戻り値がClass Aのオブジェクトであれば実相時は必ずClass Aのオブジェクトを 返す必要がある。Class AのSuper Class, Sub Class 共にだめである。 以下サイトに識者らのやりとりが参考になる。 http://stackoverflow.com/questions/7837855/actionscript-overriding-methods-in-extended-interfaces-vs-java

    続きを読む