Android for ActionScript developers, part 2: Events and listeners
The first thing that made me pause when working with Java is discovering that it doesn’t have event listeners – at least not in the sense that I’ve come to expect based on my ActionScript experience. In ActionScript 3, you attach an event to an object like so: myObject.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); protected function onMouseDown(e:Event): void { […]
Continue reading →