Copy link to clipboard
Copied
Hi guys...
I am using flash builder 4.6 and I am creating an AIR game (for mobile) ... I used to use Flash Pro (CS6) before and, to pause the game I have used:
NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, onDeactivate);
function onDeactivate(e:Event):void {
stop();
}
and that was possible, of course, because Flash Pro is based on timeline...
Now... how can I do the same with Flash Builder?
Thanks!!!
Copy link to clipboard
Copied
Have you tried stage.addEventListener(Event.DEACTIVATE, onDeactivate) with flash builder?
Regards,
Nimit