-
AS3- Function problem
aButton.addEventListener(MouseEvent.MOUSE_DOWN,but tonDown);
function buttonDown(e:MouseEvent):void
{
//does some awesome stuff
}
if (something == someOtherThing)
}
//here is where my problem is. I would like to make buttonDown ALSO possible to happen when this if
//statement works. I am unsure how to code that.
}
Thank you very much for any help =)
j3
-
Senior Member
f (something == someOtherThing)
{
//here is where my problem is. I would like to make buttonDown ALSO possible to happen when this if
//statement works.
buttonDown(null);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|