00:00
00:00
mike
hello!

Mike Welsh @mike

Age 39, Male

stupids

Penn State

San Diego

Joined on 2/24/00

Level:
23
Exp Points:
5,598 / 5,880
Exp Rank:
8,641
Vote Power:
6.47 votes
Rank:
Police Captain
Global Rank:
3,970
Blams:
1,268
Saves:
1,004
B/P Bonus:
16%
Whistle:
Normal
Trophies:
14
Medals:
916
Supporter:
10y 7m 13d
Gear:
1

Comments

what can l say nice

Sweet.

Maybe you should have them bounce off each other when they collide during the changing of depth.

Even though I complained about it in your last post, it is really cool that you use correct terminology and provide links to the term backgrounds in your posts...I've never taken a CS class, so I find it interesting to look into the theories behind what you're talking about. It amazes me how math can be so useful for logical operations, eg: using logs in the merge sort.

I look forward to future posts.

awesome

Looks awesome, I should use that for something :)

AS3 scares me aswell!

Depth sorting still boggles me. I wrote up what I thought was the perfect way to organize and sort movieclips for easy addition and removal, only to have something bizzare screw the whole thing up.

Still, it seems simpler than what you're describing and this review gives me more reason to stick with good ol' Flash 8.

good stuff man, hopefully this will make the as3 transition much easier should I decide to go that route.

any other AS3 snags like the depth sorting?

No idea what this means but I like it!

You're old.....
..........
..........
..........
..........
..........
..........
..........
..........
..........
22 years.....old :D

no offence but that is actually realy simple to do alls u have to do is make the smilies snaler as u go back...

that was cool

Mike <3

Fuckin saved. Though algorithims are scary.

Awesome!
Keep posting. Your posts are the most interesting of all the NG staff. ;)

nice work man, this is really helpful

It's nice to Google an ActionScript 3 article that's not just a total dump on the transition from AS2 to AS3. This wasn't what I was looking for, but a useful piece of information nonetheless. The link to the merge sort algorithm is a nice touch. Thank you so much!

Articles in the tone of Penquin11 or fetusdoctor's comments just bury the useful AS3 information out there. I think for my next comment, I'm going to go to a good graphic artist's article and write "No offense man, but drawing is real easy. Just put a circle for the head, a couple of lines for arms and legs, and you're done!", or better yet, "Gradients still boggle me. I wrote up what I thought was the perfect way to make colour fades pixel by pixel, only to have something bizzare screw the whole thing up.
Still, it seems simpler than what you're describing and this review gives me more reason to stick with good ol' Microsoft Paint."

thanx so much =) i use this now to swap depths according to y coordinates (the further something is down, the more it is in front)

function sortdepts(holder:MovieClip):void { //holder contains all movieclips to be ydepth.sorted
var len:uint=holder.numChildren;
for (var i:int=0; i < len-1; i++) {
for (var j:int=i+1; j < len; j++) {
if (holder.getChildAt(i).y>holder.getChildAt(j).y ) {
holder.swapChildrenAt( i, j );
}
}
}
}