แจกโค้ดแฟลชอีกสักครั้ง

เริ่มโพสต์โดย heart, 11 ม.ค. 2007, 18:19 น.

0 สมาชิก และ 1 บุคคลทั่วไป กำลังเปิดอ่านโพสต์นี้

heart

สร้างงานใหม่ขนาด 600*600
ก็อปปี้โค้ดชุดนี้ไปวาง

step = 5;
all = 300;
color = "0xFFCC99";
function insertZerro(what) {
return (what.length == 2) ? what : "0"+what;
}
function randomColor() {
return "0x"+insertZerro(random(256).toString(16))+insertZerro(random(256).toString(16))+insertZerro(random(256).toString(16));
}
function d() {
for (i=0; i<=all; i += step) {
lineStyle(1, randomColor(), 100);
moveTo(0, (Stage.height/2)-i);
lineTo(i, 0);
}
for (i=0; i<=all; i += step) {
lineStyle(1, randomColor(), 100);
moveTo(((Stage.width/2)-i)+300, Stage.height);
lineTo(Stage.width, i+(Stage.height/2));
}
for (i=0; i<=all; i += step) {
lineStyle(1, randomColor(), 100);
moveTo((Stage.width/2)+i, 0);
lineTo(Stage.width, i);
}
for (i=0; i<=all; i += step) {
lineStyle(1, randomColor(), 100);
moveTo(300-i, Stage.height);
lineTo(0, Stage.height-i);
}
}
d();


แล้วรันดูผล
http://img2.f0nt.com/flash/6b89e4191d29561ef314196b3b3656a1.swf



ART_

+2   กับความพยายามสร้างสรรค์ผลงานครับ

:33:

คนตาบอดข้างเดียว

ในหมู่คนตาบอด คนตาบอดข้างเดียวได้เป็นราชา

SMF 2.1.7 © 2026, Simple Machines