-

  • (2181)
  •     (342)
  •     (292)
  •     (274)
  •     (189)
  •     (183)
  •     gif - (171)
  •     ( , ) (96)
  •     (84)
  •     (, , ) (76)
  •     (72)
  •     (59)
  •     (59)
  •     (56)
  •    , , , , (55)
  •     (55)
  •     , , (43)
  •     () (43)
  •     (39)
  •     HTML-Css () (39)
  •     - mimozochka (21)
  •     (13)
  •    - (12)
  •     Diza (10)
  •     (10)
  •     Gimp (10)
  •     - (8)
  •     (8)
  •     - Cafe__de__Paris (3)
  •     (3)
  • (528)
  •     (175)
  •     (89)
  •     (86)
  •     (83)
  •     (77)
  •     (47)
  •     (38)
  •     (7)
  • (377)
  •     (98)
  •     (89)
  •     (50)
  •     (41)
  •     (38)
  •     (37)
  •     (19)
  •     (14)
  •     (9)
  •     (9)
  •     (9)
  •     (8)
  •     (5)
  •     (1)
  • (226)
  •     (159)
  •     (7)
  •     (5)
  •     (2)
  • (140)
  •     (50)
  •     (33)
  •     (23)
  •     (18)
  •     (14)
  •     (10)
  •     (7)
  •     (6)
  •     (4)
  •     (3)
  •     5 (1)
  • (126)
  •     (52)
  •     (39)
  •     (21)
  •     (15)
  •    Relax (4)
  •     (3)
  • (114)
  •     (69)
  •     (25)
  •     (20)
  •     (1)
  • (105)
  • (88)
  •     (48)
  •     (18)
  •     (10)
  •     (9)
  • (78)
  •     (70)
  • (70)
  •     (36)
  •     (33)
  •     (9)
  •     (6)
  • (64)
  •     (56)
  •     (8)
  • (49)
  •     (, ) (40)
  •     (6)
  • (45)
  • (40)
  •     (19)
  •     ( ) (10)
  •     (5)
  •     (1)
  • (34)
  •     (15)
  •     (7)
  •     (6)
  •     (4)
  •     (3)
  • (33)
  •     (18)
  •     (15)
  • (31)
  •     (12)
  •     (11)
  • (26)
  •     (13)
  • (12)
  • (12)
  • (6)
  • (4)
  •     - (2)
  •     - (1)
  •     - (1)
  • (3)
  • (3)
  •     (2)
  •     (1)
  • (2)
  •    , , (1)

 -

   Irina-snez

 - e-mail

 

 -

 -

 LiveInternet.ru:
: 10.01.2012
: 4095
: 13279
: 27956

:


.

, 24 2012 . 12:24 +
___

Macromedia Flash 8. . ) - .




, . , . , . . , -- ... .
Ctrl+J , . - 25 - . .

 (372x346, 12Kb)


. , . . ( ), . , "" (V)
, "" .


- "". "*", [Ctrl+B] .

 (345x310, 20Kb)

. ( - ), .

: ? F8. "Convert to Symbol" MovieClip, - "zw_fly" .


 (414x143, 7Kb)


, , .
F8. "Convert to Symbol" MovieClip, - "zw" .

.. "zw_fly", - "zw", . .

 (428x352, 33Kb)


25 F6 - . , . ""(Properties). y- 100 . , .

" "(Create Motion Tween). , - 1 25 . .

[Ctrl+Enter] .

, , , .

"" "Ease", ( 70). . .

 (428x352, 18Kb)


15 F6, 25 . . . . "Color" - "None". - "Alpha" () = "0%".

 (428x352, 23Kb)


25 , F9 ""(Actions - Frame) () "removeMovieClip(this);" ( )

! ! "" .

, - "zwezda"post-9953-1268740914 (170x135, 3Kb)

, ""( F9) :



CODE
/**********************
* @ MOHCTEP 2007 *
***********************/
//
//*********************
var x0:Number, y0:Number;// . " " :))
var id:Number;//
var fireLength:Number=100; //
var colorNum:Number=0;//
var colors:Array=[0xFF0000, 0xFFFF00, 0x00FF00, 0x00FFFF, 0x2020FF, 0xFF00FF, 0xFFFFFF];
//
zwezda.gotoAndStop(1);
/* . "" ,
2- . 1 . 2 -
************************

************************/
/*
, ..*/
function randomNum(min:Number, max:Number):Number{
return Math.floor(Math.random()*(max-min))+min;
}
// ""
function shoot(){
clearInterval(id);//
x0=randomNum(fireLength,(Stage.width-fireLength));//
y0=randomNum(fireLength,(Stage.height-fireLength));//
zwezda._x=randomNum(fireLength,(Stage.width-fireLength));//
zwezda._y=Stage.height+5;//
zwezda.onEnterFrame=function(){// ...
this._x-=(this._x-x0)/6;// . .
this._y-=(this._y-y0)/6;// "Tween".
if((this._y-y0)<3){//
this._y=Stage.height+5;//
delete this.onEnterFrame;//
createFirework();// ...
}
}
}
//
function createFirework(){
var total:Number=randomNum(70,120);// -
var color:Number=colors[colorNum];//
colorNum++;
colorNum%=colors.length;
for(var i:Number=0;i/ , ,
new Color(mc).setRGB(color);//
}
// !!!!
id=setInterval(shoot, 1000);// ,
}
shoot();// .

Ctrl+Enter , .


. () . , "". , . - . - . Sothink SWF Quicker.

.. )


!

http://demiart.ru/forum/index.php?showtopic=20807

/
:  

: [1] []
 

:
: 

: ( )

:

  URL