Follow us on Twitter!
The measure of a mans life is not how well he dies, but how well he lives.
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 20
Guests Online: 20
Members Online: 0

Registered Members: 82876
Newest Member: bhl1986
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Actionscript 3 Bitmap of screen selection


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 06-11-09 02:08
I have a Flash project for school and I would like to detect collision through checking to see if a pixel is black around the player. I have looked all over and I cannot seam to implement what they describe. I know that flash is capable of getting a bitmap of the screen can anyone help me?
Author

RE: I should be shot


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 06-11-09 02:57
I started searching again. And I found it

Code

var scr:BitmapData = new BitmapData(stage.stageWidth,.stage.stageHeight);
scr.draw(stage);
var color:Number=scr.getPixel(x:int, y:int);





Sorry for the waste of DB space

Edited by on 06-11-09 02:58