Вот посмотри, я что-то сделал. Думаю что можно намного проще сделать чем я. =)

Код AS3:
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.text.TextField;
public class Main extends Sprite
{
private var my_arr:Vector.<String> = new Vector.<String>();
private var arr:Vector.<String> = new Vector.<String>();
public function Main()
{
var ball1:MovieClip = new MovieClip();
ball1.graphics.beginFill(0x000000);
ball1.graphics.drawCircle(0, 0, 10);
ball1.graphics.endFill();
addChild(ball1);
ball1.name = "ball1";
ball1.x = 20;
ball1.y = 50;
var ball2:MovieClip = new MovieClip();
ball2.graphics.beginFill(0x0000FF);
ball2.graphics.drawCircle(0, 0, 10);
ball2.graphics.endFill();
addChild(ball2);
ball2.name = "ball2";
ball2.x = 100;
ball2.y = 50;
var ball3:MovieClip = new MovieClip();
ball3.graphics.beginFill(0x00FF00);
ball3.graphics.drawCircle(0, 0, 10);
ball3.graphics.endFill();
addChild(ball3);
ball3.name = "ball3";
ball3.x = 300;
ball3.y = 50;
my_arr.push("ball1", "ball2", "ball3"); // Последовательность нажатия на мувиклипы
stage.addEventListener(MouseEvent.CLICK, onClickMouse);
}
private function onClickMouse(e:MouseEvent):void
{
if (e.target is MovieClip)
{
arr.push((e.target as MovieClip).name);
if (arr.length >= 3)
{
if (my_arr[0] == arr[0] &&
my_arr[1] == arr[1] &&
my_arr[2] == arr[2])
{
trace("Yeah!");
}
arr.splice(0, 1);
}
}
}
}
}