onClipEvent (enterFrame) {
this._x = _root._xmouse; 
this._y = _root._ymouse;
}      -     

stop()    - 

onClipEvent(enterFrame) { 
this._ x -- ;
}           -    

myRandomNumber = int(Math.random()*10) ;    -      0  9

if  -    

setInterval () -       "" .

else    -      

or   -   

for     - ,      

i     -   

on (press) {
fox._x = 200;
fox._y = 200;
}   -   ̳ '

on (press) { 
fox._xscale = 50; 
fox._yscale = 50;
}   -   '


on (press) {
fox._rotation = 30; 
}   -    


startDrag("circle", true);
stop () ;    -  '   

on (press) {
	startDrag("",false);
}

on (release) {
	stopDrag();
}   -  '   "-"   '

on (press) {
drag = true;
on (release) {
drag = false;
} 

onClipEvent (enterFrame) {
if (drag) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
} -    ,    .       ,     .



// initialize level
level = 0;

stop();  -   ,     .



on (press) {
//   .
firstclip.duplicateMovieClip("newelip"+level,level);
//     .
_root["newclip"+level]._x = int(Math.random()*550);
_root["newclip"+level]._y = int(Math.random()*400);
//  .
level++;
}   -   "    ".    .

on (press) {
//   .
attachMovie("myMovieClip","newclip"+level,level);
//    .
_root["newclip" + level]._x = int(Math.random!)*550);
_root["newclip"+level]._y = int(Math.random()*400);
//  , level++;
}  -    -,  '   .  ' AS.

on (press) {
	// remove previous movie clip
	_root["newclip"+(level-1)].removeMovieClip();

	// duplicate first clip
	attachMovie("myMovieClip","newclip"+level,level);

	// set a random position
	_root["newclip"+level]._x = int(Math.random()*550);
	_root["newclip"+level]._y = int(Math.random()*400);

	// increase level
	level++;
}  -    -,     ',  .

root.onEnterFrame = myFunction;
function myFunction() { 
trace("enterFrame Event");
}  -  '  ,   .          .


on (keyPress "<Right>") {
	circle._x++;
}

on (keyPress "<Left>") {
	circle._x--;
}

on (keyPress "<Up>") {
	circle._y--;
}

on (keyPress "<Down>") {
	circle._y++;
}   -     '   .



onClipEvent(enterFrame) {
	if (Key.isDown(Key.RIGHT)) {
		_root.circle._x++;
	}

	if (Key.isDown(Key.LEFT)) {
		_root.circle._x--;
	}

	if (Key.isDown(Key.UP)) {
		_root.circle._y--;
	}

	if (Key.isDown(Key.DOWN)) {
		_root.circle._y++;
	}
}   -  ,   .



on (press) {
    mySound = new Sound();
    mySound.setVolume(100); 
    mySound.attachSound("");
    mySound.start();
}    -    . 2-    ,  - .


onClipEvent(load) {
	// set initial scale to 100
	newscale = 100;
}

onClipEvent(enterFrame) {
	if (this._xscale > newscale) {
		// shrink
		this._xscale -= 10;
		this._yscale -= 10;
	} else if (this._xscale < newscale) {
		// grow
		this._xscale += 10;
		this._yscale += 10;
	}
}  - ,    ,   .



on (rollover) {
    //     ,
    newscale = 150;
} 
on (rollout) {
    //     .
    newscale = 100;
}
on (release) {
    // ,     .
    trace("1");
}   -    ,   .





onClipEvent(load) {
	myColor = new Color(this);
	myColorTransform = {rb:255, bb:0, gb:0};
	n = 0;
}

onClipEvent(enterFrame) {
	myColorTransform.rb = n;
	myColor.setTransform(myColorTransform);
	n++;
}   -  ;   - ,    .


// set pan limits
// 
panLimitLeft = -50;
panLimitRight = 50;
panLimitUp = 50;
panLimitDown = 50;
panAmount = 0;

function moveScene(d) {
	// check to see whether within pan limits
	if ((panAmount+d > panLimitLeft) and (panAmount+d < panLimitRight)) {
		// keep track of pan amount
		panAmount += d;		
		
		// move three layers at different speeds
		._x += d*1;
		}
}

function moveScen(d) {
	// check to see whether within pan limits
	if ((panAmount+d > panLimitLeft) and (panAmount+d < panLimitRight)) {
		// keep track of pan amount
		panAmount += d;		
		
		// move three layers at different speeds
		._y += d*1;
		}
}   -     
   
BACKSPACE	  BackSpace(8)
CAPSLOCK	  Caps Lock(20)
CONTROL	  Control(17)
DELETEKEY	  Delete(46)
DOWN	  " "(40)
END	  End(35)
ENTER	  Enter(13)
ESCAPE	  Esc(27)
HOME	  Home(36)
INSERT	  Insert(45)
LEFT	  " "(37)
PGDN	  Page Down(34)
PGUP	  Page Up(33)
RIGHT	  " "(39)
SHIFT	  Shift(16)
SPACE	  Space(32)
TAB	  Tab(9)
UP	  " "(38)