引数

1 件の記事

2010

ActionScript3.0でイベントハンドラに引数を渡す

ActionScript使っているとイベントハンドラに引数を渡したいっていうことが多々あると思います。 なんだかいろいろな言語触っていると忘れてしまうので、メモしておきます。 public function hoge(userid:int):void { testBtn.addEventListener(MouseEv…

Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License