-
Game Master
filling one pixel
Hi, does anyone know a way I could use the graphics method to fill only one pixel on the screen with a solid color?
For example, if I wanted to fill pixel (100, 100) and make it green, how would I do this or is it even possible?
All the graphics functions seem to only be able to work if you give it two seperate points, but I just want to fill one.
Any help appreciated.
-
5+5=55
You could use either:
_root.moveTo(100,100);
_root.lineTo(100,100);
or make a new bitmapData object and set a single pixel of that using setPixel();.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|