If I stop the animation immediately after adding it to the scene, then the movie clip is visible but the listener does not work. If I do not stop, then the movie is NOT visible, but the listener works and plays the animation. True, it works to the right of the x coordinate
public class PlayScreen extends Sprite { var cell:MovieClip; var cellSize:int = 45; public function PlayScreen() { super(); cell = new Cell_mc(); cell.width = 45; cell.height = 45; cell.x = 100; cell.y = 100; addChild(cell); cell.stop(); cell.addEventListener(MouseEvent.CLICK, onCellClick); } function onCellClick(e:Event):void { trace("Управление передается!"); e.target.play(); e.target.removeEventListener(MouseEvent.CLICK, onCellClick); } } What the hell is going on ???
