Is it possible to convert an Event to a MouseEvent in AS3 (Visa versa)? I have a function that calls another function but one is an eventlistener (enterframe) and it calls another function that accepts a mouseEvent.
Appreciate any help. Couldn’t find anything on Google…
Regards
Luben
You could do something like this
In this way, you can call your function passing or not the parameter.