ActionScript On AndroidManifest

by Ants, August 12, 2010 19:12

And this doesn't look like ...

F9a9ba6663645458aa8630157ed5e71e Talk
1
1000 to 9999

ActionScript On number guessing game 1000 t...

by alex, March 24, 2010 03:31

good site

294dae001922842c385346c4f08f650e Talk

ActionScript On number guessing game 1000 t...

by Ants, February 10, 2010 07:07

Looks like one of your clas...

F9a9ba6663645458aa8630157ed5e71e Talk

ActionScript On Get color from string

by Jay, December 31, 2009 14:50

You should move the regular...

Ab30f1078c14ea4d306aa5c015693275 Talk

ActionScript On Can anyone please refactor ...

by zetafish, October 06, 2009 07:37 Star_fullStar_fullStar_fullStar_fullStar_full

This method is too big, it ...

220a1ce7a99b513ece2aca0f6d4688c7 Talk

ActionScript On Isometric X/Y Grid pattern ...

by Ryan Magnon, February 27, 2009 00:05

Awesome. Looks correct, I'l...

Avatar Talk
1
function depthAt( x:Number, y:Number, N:Number ):Number { return x+y < N ? (x+y)*(x+y+1)/2 + y : N*N-1-depthAt(N-1-x,N-1-y,N); }

ActionScript On Isometric X/Y Grid pattern ...

by Tom Sirgedas, September 23, 2008 19:23

loop through x, y and get t...

Avatar Talk

ActionScript On Isometric X/Y Grid pattern ...

by ryanmagnon.myopenid.com, September 02, 2008 23:17

K, I'll add another example...

528a0b0b1dc5695c4380e47e084163aa Talk

ActionScript On Isometric X/Y Grid pattern ...

by ryanmagnon.myopenid.com, August 26, 2008 20:35

Yeah, 2D Isometrics, sort o...

528a0b0b1dc5695c4380e47e084163aa Talk

ActionScript On Isometric X/Y Grid pattern ...

by Juha Hollanti, August 12, 2008 10:28

Umm, i don't know what you'...

A623216a5d2384489e012478c555d167 Talk

ActionScript On Get color from string

by Nosredna, August 04, 2008 23:52 Star_fullStar_fullStar_fullStar_fullStar_full

If anyone wants to know how...

4d5cf9b8d40af8083b1797aa7c5f3de9 Talk

ActionScript On Get color from string

by shaman4d.blogspot.com, August 04, 2008 23:42

Yeah - its a much better th...

9a74ef7809e84411f21dd71771cf0534 Talk
1
2
3
public static function getColorFromString(color:String):int
    return parseInt(color.split("#")[1],16);
}

ActionScript On Get color from string

by Nosredna, August 04, 2008 22:47 Star_fullStar_fullStar_fullStar_fullStar_full

A lot depends on what you k...

4d5cf9b8d40af8083b1797aa7c5f3de9 Talk
1
2
3
4
public static function getColorFromString(color:String):int
{
    return parseInt(new RegExp(/[0-9a-fA-F]{6}/).exec(color),16);
...

ActionScript On Get color from string

by Juha Hollanti, July 13, 2008 21:04 Star_fullStar_fullStar_fullStar_fullStar_full

Ahh, ok. I misunderstood th...

A623216a5d2384489e012478c555d167 Talk

ActionScript On Get color from string

by shaman4d.blogspot.com, July 13, 2008 19:21

Thanks, but wgat we have fo...

9a74ef7809e84411f21dd71771cf0534 Talk
1
2
3
4
public static function getColorFromString(color:String):int
{
    // Convert '#' to '0x'. Everything starting with '0x' is interpreted by AS automatically as a hex number.
...

ActionScript On Get color from string

by Juha Hollanti, July 13, 2008 12:08

I can't picture getting aro...

A623216a5d2384489e012478c555d167 Talk