Wednesday, 25 December 2013

Flash Apps : Exit Button


Paste this code into any action in any empty frame.

var exitingEvent:Event = new Event(Event.EXITING, false, true);
NativeApplication.nativeApplication.dispatchEvent(exitingEvent);
if (!exitingEvent.isDefaultPrevented()) {
NativeApplication.nativeApplication.exit();
}

create button and direct action to the empty frame that included with the code.

Automatically apps will exit.

Translate manually Wordpress

 add_filter( 'gettext', function( $translated, $original, $domain ) {     // Senarai penggantian (case-insensitive)     $map = array...