A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: My app won't turn off

  1. #1
    Junior Member
    Join Date
    Jun 2014

    My app won't turn off

    Hey, I'm new to AIR. I created a simple test app. It runs fine on my Android, but it won't turn off. When I press the home button, or open other app, my app continues running in the background.

    Android device: Gallaxy note 3
    AIR version: AIR 13.0 for Android
    My really simply test script:
    package  {
    	import flash.display.MovieClip;
    	import flash.events.TouchEvent;
    	import flash.ui.Multitouch;
    	import flash.ui.MultitouchInputMode;
    	import flash.events.Event;
    	public class test extends MovieClip {
    		//create vars
    		public var counting:int;
    		public function test() {
    			// constructor code
    			Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    			stage.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin);
    		public function onTouchBegin(e:TouchEvent):void
    			someText.text = String(counting);
    Any help would be appreciated.

  2. #2
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Moved to Adobe AS3 where you'll get an answer moreso than you would in the chat only Coffee Lounge.

    [ Hello ] | [ gerbick ] | [ Ω ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center