null argoman!
hello to every body;
I have problem with argoman of functions in actionScript 3 !
here is a simple doe :
stage.addEventListener(KeyboardEvent.KEY_DOWN , stage_key_down);
function stage_key_down(event:KeyboardEvent😞void
{
trace("OK");
}
when I press the DOWN key on my keyBorad ; this function will be run;
but I want this function directly in as!
for example like this :
stage_key_down() OR stage_key_down(null)
action script compiler run this function but get a warning !! how to run this function dircetly with ut argoman !!
can any body help me or have a discussion ?
thanks a lot