# BIT 101 contest

**URL:** <https://forum.kirupa.com/t/bit-101-contest/921>\
**Category:** random\
**Created:** [August 2, 2002, 3:54pm UTC](https://forum.kirupa.com/t/bit-101-contest/921 "2002-08-02T15:54:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![pom](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pom](https://forum.kirupa.com/u/pom)\
**Post date:** [August 2, 2002, 3:54pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/1 "2002-08-02T15:54:39Z")

</div>

Hey people,  
In case you’re interested, there’s a contest at [www.bit-101.com/contest](http://www.bit-101.com/contest)  
You have to produce something cool with less than 25 lines of AS (no drawing, nothing). You can check the site too, some crazy effects there.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2002, 4:01pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/2 "2002-08-02T16:01:13Z")

</div>

Hey,

that’s pretty \<b\> sweeet \</b\> I didn’t know they posted competitions like that. I was giving it a read through and it said mx actionscripting… I’m wondering if I could get away with 5 actionscripting… (mx doesn’t really suit my tastes).

Thanks for posting that,

Uth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2002, 5:02pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/3 "2002-08-02T17:02:45Z")

</div>

Hey,

I just realized that the actual drawing functions with actionscript are only in mx aren’t they? Darn it… I might have to start playing with mx a little bit…

Uth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2002, 7:40pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/4 "2002-08-02T19:40:22Z")

</div>

Well, you can try to make an 100% code-based animation with Flash 5, but I’m not sure you’re gonna much happening on your scene 😛

Go for MX, man.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 12:57pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/5 "2002-08-03T12:57:19Z")

</div>

OK, I’ve done that for the contest. 15 lines of code:  
[http://membres.lycos.fr/museebranly/flash/tryBit5.html](http://membres.lycos.fr/museebranly/flash/tryBit5.html)  
What do you think? Is it cool or not? I can’t tell… Please be frank, and if you have ideas to make this better, you’re more than welcome.

pom 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 1:45pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/6 "2002-08-03T13:45:03Z")

</div>

Hey Pom,  
That looks really nice! I am guessing adding colors would make the code be longer than 15 lines? Anyway, I think you have a sure-fire animation that is impressive.

EDIT: Another cool thing; if you want an 1980s like wireframe look, set the quality on the movie to LOW.

Cheers!  
Kirupa :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 3:12pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/7 "2002-08-03T15:12:05Z")

</div>

hmm… adding color would be nice, yes. Maybe I should do something like Karen’s footer, like a gradient. I’ll try that =) Thanks! And don’t worry about the lines of code, the max is 25.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 5:18pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/8 "2002-08-03T17:18:19Z")

</div>

Check that: [http://membres.lycos.fr/museebranly/flash/contest/](http://membres.lycos.fr/museebranly/flash/contest/)  
I put color and everything.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 6:20pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/9 "2002-08-03T18:20:29Z")

</div>

Really amazing Pom! I’m fairly certain you are a full-fledged candidate to win the award 🙂

Cheers!  
Kirupa :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2002, 10:02pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/10 "2002-08-03T22:02:58Z")

</div>

Thanks 🙂 Actually, I checked last month’s swf, and some of them are really mind blowing (but got no votes)…

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 4:33am UTC](https://forum.kirupa.com/t/bit-101-contest/921/11 "2002-08-04T04:33:32Z")

</div>

yeah, pom, that’s really impressive. you really know how to use mx’s drawing API. are you just recreating those lines, or are you actually controlling them. i’m not really a big fan of mx’s actionscript, but now that i can see what it can do, i might give it a shot. time to open up mx that’s been collecting dust for quite some time now.

power to the french!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 4, 2002, 5:04am UTC](https://forum.kirupa.com/t/bit-101-contest/921/12 "2002-08-04T05:04:44Z")

</div>

Hey thanks Thor. I’m honored you like it 😛 No, I’m serious.

And yes, I recreate the lines, thanks to a function called curveTo. I still don’t understand how it works exactly (thanks to Macromedia’s dictionary), so I was pretty much shooting in the dark, and got to that without really expecting it 🙂

It kinda kills the myth, hue?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 14, 2002, 7:35pm UTC](https://forum.kirupa.com/t/bit-101-contest/921/13 "2002-08-14T19:35:38Z")

</div>

It’s very stimulating!

```auto
body=new Array();
bord=new Array();
p=0;
mc = _root.createEmptyMovieClip("rond", k++);
mc.lineStyle(30, 0xffffff, 100);
mc.lineTo(.15,.45);
mc2 = _root.createEmptyMovieClip("contour", k++);
mc2.lineStyle(40, 0x000000, 100);
mc2.lineTo(.15,.45);
for (z=0;z < 5;z++)	for(i=-2;i < 3;i++)	for (j=-2; j < 3;j++){
	bord[p]=contour.duplicateMovieClip("contour"+k,k);
	body[p]=rond.duplicateMovieClip("rond"+(k++),(k+1000),{scale:200/(20*z+200)});
	body[p].j=j;
	body[p].i=i;
	body[p++].onEnterFrame=function(){
		this._x=(200-_root._xmouse+50*this.i)*this.scale+_root._xmouse;
		this._y=(200-_root._ymouse+50*this.j)*this.scale+_root._ymouse;
		this._xscale=this._yscale=this.scale*100;}}
_root.onEnterFrame=function(){
	for (var f in bord){
		bord[f]._x=body[f]._x;
		bord[f]._y=body[f]._y;
		bord[f]._xscale=bord[f]._yscale=body[f]._xscale;}}
rond._visible=false;
contour._visible=false;

```

25 lines of code sharp. It’s part of my discovery of 3D/perspective in Flash. I’d be glad to hear if you have ideas to improve either the code or the animation.

pom :asian:
