Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アクション スクリプト 1 のクラスに静的関数を作成できますか? 例を挙げてください。
ありがとう
AS1プロジェクトの場合はグローバル関数を使用する必要があると思います
_global.myFunction = new function(param1, param2) { // do stuff trace("1: " + param1 + "\n 2:" + param2 ); }
このように呼んでください
_global.myfunction("hello", 42);