# X-men site

**URL:** <https://forum.kirupa.com/t/x-men-site/13948>\
**Category:** Uncategorized\
**Created:** [February 20, 2003, 5:43am UTC](https://forum.kirupa.com/t/x-men-site/13948 "2003-02-20T05:43:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thutmose](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@Thutmose](https://forum.kirupa.com/u/Thutmose)\
**Post date:** [February 20, 2003, 5:43am UTC](https://forum.kirupa.com/t/x-men-site/13948/1 "2003-02-20T05:43:29Z")

</div>

How did those guys create the “stryker” mutant database section on the official x-men 2 movie website? The menu zooms in and out of the screen using the a and z buttons and I just thought that was way cool. Any clues would be appreciated. See [www.x-men-the-movie.com](http://www.x-men-the-movie.com)

---

<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:** [February 20, 2003, 6:02am UTC](https://forum.kirupa.com/t/x-men-site/13948/2 "2003-02-20T06:02:23Z")

</div>

could do that but need lots of time to spend 😉

---

<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:** [February 20, 2003, 6:09am UTC](https://forum.kirupa.com/t/x-men-site/13948/3 "2003-02-20T06:09:53Z")

</div>

Lots of actionscript to create a 3d engine. It is amazing.

You could probably do this with tweens, but that would be A LOT of tweens a gigantic file size.

---

<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:** [February 20, 2003, 6:55am UTC](https://forum.kirupa.com/t/x-men-site/13948/4 "2003-02-20T06:55:26Z")

</div>

> _posted by **fluid\_0ne** _  
> could do that but need lots of time to spend 😉

… prove it !! 😉

> _posted by **lostinbeta** _  
> Lots of actionscript to create a 3d engine. It is amazing.

You could probably do this with tweens, but that would be A LOT of tweens a gigantic file size.

are you up to the challenge **lost**??

i am :bad:  
i just need to finish some work … but definitively i’ll try 🙂

---

<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:** [February 20, 2003, 6:57am UTC](https://forum.kirupa.com/t/x-men-site/13948/5 "2003-02-20T06:57:18Z")

</div>

LOL, I am not up to that challenge Kax. I KNOW I can’t pull that one off.

---

<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:** [February 20, 2003, 7:01am UTC](https://forum.kirupa.com/t/x-men-site/13948/6 "2003-02-20T07:01:32Z")

</div>

come on **shane waldeck**!! :-\

it’s gonna be fun =)

---

<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:** [February 20, 2003, 7:02am UTC](https://forum.kirupa.com/t/x-men-site/13948/7 "2003-02-20T07:02:50Z")

</div>

sure it’ll be fun, but it would also take me about a year to do it…lol.

---

<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:** [February 20, 2003, 7:05am UTC](https://forum.kirupa.com/t/x-men-site/13948/8 "2003-02-20T07:05:23Z")

</div>

oh yeah … and i’m the best actionscripter ever :sure: 😛

it wouldn’t take me more than ten minutes … [size=1]again[/size] :sure:

---

<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:** [February 20, 2003, 7:06am UTC](https://forum.kirupa.com/t/x-men-site/13948/9 "2003-02-20T07:06:20Z")

</div>

If it only takes you 10 minutes, then your better than me 😉

---

<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:** [February 20, 2003, 7:10am UTC](https://forum.kirupa.com/t/x-men-site/13948/10 "2003-02-20T07:10:48Z")

</div>

> [sarcasm]oh yeah … and i’m the best actionscripter ever :sure: 😛

it wouldn’t take me more than ten minutes … [size=1]again[/size] :sure:[/sarcasm]

and no … i’m not better than you 🙂

but i’ll try anyway … you can take a seat and wait for my attempt =)

---

<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:** [February 20, 2003, 10:51am UTC](https://forum.kirupa.com/t/x-men-site/13948/11 "2003-02-20T10:51:05Z")

</div>

I wonder if they’re using plasma?

---

<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:** [February 20, 2003, 11:20am UTC](https://forum.kirupa.com/t/x-men-site/13948/12 "2003-02-20T11:20:34Z")

</div>

2 KAX:

ok mr. wiseguy!!!  
i’ll do it if ya want to…

i have internet restrictions, so i’ll upload it later

it’s as good as done 😉

---

<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:** [February 20, 2003, 11:40am UTC](https://forum.kirupa.com/t/x-men-site/13948/13 "2003-02-20T11:40:53Z")

</div>

oh thats not hard guys 😉 I thought LIB might be able to know how to do that… at any rate its time to learn.

```auto

MovieClip.prototype.makeBox = function(r){ // draw a box
	var clip;
	with(clip = this.createEmptyMovieClip("box"+this.depth, this.depth++)){ // create new clip
		lineStyle(1, 0, 100); // draw the new clip
		moveTo(-r,-r);
		lineTo(r,-r);
		lineTo(r,r);
		lineTo(-r,r);
		lineTo(-r,-r);
	}
	return clip;
}
	
ref = 300; // perspective reference
origin = {x:200, y:200}; // origin of 3d view

for (i=0; i< 10; i++){
	var box = this.makeBox(50); // make box with radius of 50 (100x100)
	box.x = box.y = 0; // all positioned in center of x & y
	box.z = i*100; // space out along z depth
	box.onEnterFrame = function(){ // control its movement, position, scaling etc
		this.z += (Key.isDown(90) - Key.isDown(65))*5; // controll in/out movement (a & z keys)
		this.x += (origin.x-this._parent._xmouse - this.x)/10; // control left/right movement w/ ease
		this.y += (origin.y-this._parent._ymouse - this.y)/10;
		var prop = ref/(ref+this.z); // proportion based on reference and z positioning
		if (this._visible = (prop < 4)){ // only show if proportion less than 4
			this._x = origin.x + this.x*prop; // position on screen
			this._y = origin.y + this.y*prop;
			this._xscale = this._yscale = this._alpha = 100*prop; // scale and adject alpha for depth
		}
	}
}

```

throw this in a new movie and you should get the same effect.  
if you have any questions, shoot.

[edit] oops I forgot to add easing to the zooming… oh well ;)[/edit]

---

<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:** [February 20, 2003, 4:58pm UTC](https://forum.kirupa.com/t/x-men-site/13948/14 "2003-02-20T16:58:52Z")

</div>

yeah but the question of the day is how would you go about navigating into that 3D Vortex of boxes, and add buttons to dynamically generated boxes…

=) but the effect the code generated rocked…

---

<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:** [February 20, 2003, 5:02pm UTC](https://forum.kirupa.com/t/x-men-site/13948/15 "2003-02-20T17:02:59Z")

</div>

nevermind about the navigating question…i’m retarded…i didn’t have the actual movie selected…

all i have to say is that is really cool…:beam:

---

<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:** [February 20, 2003, 5:40pm UTC](https://forum.kirupa.com/t/x-men-site/13948/16 "2003-02-20T17:40:02Z")

</div>

Wow, that is simpler than I thought Sen…lol. I still think it would have taken me a while to set something up (I am slow), but that code is extremely simple.

---

<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:** [February 20, 2003, 5:49pm UTC](https://forum.kirupa.com/t/x-men-site/13948/17 "2003-02-20T17:49:01Z")

</div>

that’s not funny **sen** :-  
you stole my glory !! 😛 [size=1]just kidding[/size] 😉

i knew it wouldn’t be so hard … but i’ve been so busy these last few days ☹ [size=1]i need a break **now**!![/size]

[size=1]**[edit]**  
typo … :sigh:[/size]

---

<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:** [February 20, 2003, 5:55pm UTC](https://forum.kirupa.com/t/x-men-site/13948/18 "2003-02-20T17:55:33Z")

</div>

> \*Originally posted by senocular \*  
> **oh thats not hard guys 😉 I thought LIB might be able to know how to do that… at any rate its time to learn.**

I just noticed that… and hey!!!

I am not as good at this stuff as people think I am ☹ I know bits and pieces of code, but putting it all together can sometimes be a problem for me.

---

<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:** [February 20, 2003, 8:26pm UTC](https://forum.kirupa.com/t/x-men-site/13948/19 "2003-02-20T20:26:58Z")

</div>

■■■■ it!!!  
i’ve finished!!!

oh, ■■■■ i’ll put it here anyway

enjoy 😜

---

<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:** [February 20, 2003, 8:33pm UTC](https://forum.kirupa.com/t/x-men-site/13948/20 "2003-02-20T20:33:07Z")

</div>

lol 😛

request002 ?? 😛

i like it … nice one 🙂

[Next page](https://forum.kirupa.com/t/x-men-site/13948.md?page=2)
