Quiz #1: Find the bug
Where is the bug in this program? It seems to run just fine. But there is a bug. Can you find it?
package { import flash.display.Sprite; import flash.events.Event; public class MyClass extends Sprite { public function MyClass() { this.addEventListener(Event.ENTER_FRAME, function(e:Event):void { trace("enter frame") }, false, 0, true); } } }
Comments(6)