hey guys well i have a movie clip title g_mc and i have this folowing code on the movie clip with an onclip event
onClipEvent (keyDown) {
if ( Key.getAscii() == 97 && g_mc._alpha == 100 && _global.Isg == 0 )
_root.g_mc.gotoAndPlay("_engaging")
}
what im wanting is that when the user press a when the movie clip alpha level is 100 and on the frame that the global Isg is set to 0 to play the engaging animation but no variation of this code works.
also when i global variable in g_mc is greater then zero and they press a again i dont want it to do nething and i only want it too work if as i said the _alpha level of g_mc is 100.
thanks hope u can understand that thanks in advanced ne ways