FORUMS: list search recent posts

How to create a de-pixelating grid for flash video?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Josh Evans
How to create a de-pixelating grid for flash video?
on Apr 6, 2009 at 3:52:32 am

Hi sorry to repost, i am super curious as to how to get this working.

In a previous post, I asked how the video was done on this website intro. The file is very very small (under 2 MB) and the quality looks great, even when scaled to full screen.

Pieter Helsen was kind enough to reply:

"On top of the video is an overlay with a checkered black and transparent pattern. Because of this, you can cut lower the quality of the video enormously without the video appearing to be of low quality or blocky."

OK so this makes sense to me, but here at my office we cant work out how to do this exactly. We created a few grids in an external program then brought those into flash as PNG. But the website seems to have the grid programmed into flash, so it was created in flash somehow? Our attempts look very blocky, and upscaling the video makes the grid look terrible.

Any insight into this process, or even if you could tell us what this technique is actually called - we would be most thankful for your help.



Return to posts index

Pieter Helsen
Re: How to create a de-pixelating grid for flash video?
on Apr 6, 2009 at 6:42:25 pm

// Create a transparent black square, 2x2 pixels
var bmpd:BitmapData = new BitmapData(2, 2, false, 0x00000000);
// Create a rectangle, 1x1 pixels
var rect:Rectangle = new Rectangle(0, 0, 1, 1);
// Place the rectangle inside the bitmap data object
// Give it a color... Black.

Then, use the beginBitmapFill to draw a rectangle the size of your stage...

var mc:MovieClip = new MovieClip();
// Create a new bitmap fill based on the bitmap data object
// And allow it to repeat, null, true);, 0, 200, 200);;

var mc:MovieClip = createEmptyMovieClip("grid_mc", 1);
with (mc) {

Kind regards,

General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved