I want to design a music button for a game like geochallenge
A:
I wasn't able to see the geochallenge game , for some reason i get an empty facebook page , but for a button to change its shape you can create a function that will call the graphics property
var color:uint = 0x990000;
function clickHandler(event:MouseEvent):void
{
buttonGraphics(event.target as MovieClip)
}
function buttonGraphics(mc:MovieClip ):void
{
mc.graphics.clear; // clear the previous shape
mc.graphics.beginFill(color );
etc... //make the changes you need
}
PatrickS
2010-09-20 17:16:43