2008/07/18 1:01:08
12
5
0 codezine.jp [
この元コンテンツへ ]
button.upState = createTriangle(points[0], points[1], points[2], 0x00FF00); button.overState = createTriangle(points[0], points[1], points[2], 0xFFFFFF); button.downState = createTriangle(points[0], points[1], points[2], 0xCCCCCC); button.hitTestState = button.upState; // ボタンを表示します。 addChild(button); } // 与えられた座標に従い三角形を描画します。 private function createTriangle(pointA:Point, pointB:Point, pointC:Point, color:uint):Shape { var triangle:Shape = new Shap...
[
← 前の画面 ]
【 PR 】 対 Google !! SEO トピックス [ 無料 ] [
ニコニコ風 ] [
関連記事 ] [
Feeling Lucky ]