Skip to main content
Participant
February 24, 2015
Answered

Pixel Tool in Flash CC?

  • February 24, 2015
  • 4 replies
  • 20122 views

Is anyone here familiar with the extension Pixel Tool v2.0?

I've used it for years in Flash CS3, and held on to that for dear life - but now I'm pretty much forced to start using CC. Unfortunately I can't get this extension to work in CC (Followed all the proper steps).

Does any one know of any other tools for drawing pixels directly in Flash? I know I have the Photoshop alternative, but I'd rather try to create directly in Flash if possible.

Thanks!

    Correct answer kglad

    this will get you started, or may all you want:

    function pixellateF(mc:MovieClip,pixelSize:int=4):void{

        var bmpd:BitmapData = new BitmapData(mc.width,mc.height,true,0xffffff);

        bmpd.draw(mc);

        for(var xvar:int=pixelSize/2;xvar<=mc.width;xvar+=pixelSize){

            for(var yvar:int=pixelSize/2;yvar<mc.height;yvar+=pixelSize){

                var col:uint = bmpd.getPixel32(xvar,yvar);

                for(var xx:int=xvar-pixelSize/2;xx<xvar+pixelSize/2;xx++){

                    for(var yy:int=yvar-pixelSize/2;yy<yvar+pixelSize/2;yy++){

                        bmpd.setPixel32(xx,yy,col);

                    }

                }

            }

        }

        var bmp:Bitmap = new Bitmap(bmpd);

        addChild(bmp)

    }

    4 replies

    Known Participant
    April 28, 2016

    How would you be able to access it after installing?  Seems it'd require access to the custom tool panels which was since removed after CS6

    Known Participant
    April 11, 2016

    Now that CC has removed the Customized Tool Panel, we no longer have the extension support for Pixel Tools.  Does anybody have any knowledge about how to obtain ANY kind of pixel brush or drawing tools in Animate?  This seems like it's currently the only Vector based animation program that supports pixel graphics and animation, and it seems like since CC, that opportunity is gone. 

    Well, anybody know of an alternative program?

    Participant
    April 17, 2016

    Best I was able to do was find a guide, then create a step by step process of making Pixel Tools (and keyframe caddy to boot) work on CS6. The guide is here​. As far as anything to do with putting Pixel Tools on CC, you're right, because the Customized Tool Panel is gone, there's no way of making that .ZXP file available to anything later than CS6. Hopefully the guide in the link above will help people who have CS6 on their computers.

    butterflysmasher
    Participating Frequently
    April 18, 2016

    Nice! kudos on finding the extension!

    Using this installation method I was able to get this extension working in AnimateCC, which I assume means an installation would work on cc2015, cc2014 ect..

    I had to convert the .mxp to a .zxp using cs6 extension manager, but the .zxp seems to install without a problem.

    .zxp Pixel Tools 2.0

    butterflysmasher
    Participating Frequently
    February 9, 2016

    Would you mind posting the extension (v2) up? I have been missing it for years as the original place it was hosted doesn't seem to exist anymore.

    I would too love a version that supported CC but having access to it for the older versions again would be boss.

    kglad
    Community Expert
    Community Expert
    February 24, 2015

    you can use the bitmapdata class to create a function that does that.

    Participant
    February 24, 2015

    Thanks kglad! I'm unfamiliar with bitmapdata, so I'll do some research today.

    Thanks again

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    February 24, 2015

    this will get you started, or may all you want:

    function pixellateF(mc:MovieClip,pixelSize:int=4):void{

        var bmpd:BitmapData = new BitmapData(mc.width,mc.height,true,0xffffff);

        bmpd.draw(mc);

        for(var xvar:int=pixelSize/2;xvar<=mc.width;xvar+=pixelSize){

            for(var yvar:int=pixelSize/2;yvar<mc.height;yvar+=pixelSize){

                var col:uint = bmpd.getPixel32(xvar,yvar);

                for(var xx:int=xvar-pixelSize/2;xx<xvar+pixelSize/2;xx++){

                    for(var yy:int=yvar-pixelSize/2;yy<yvar+pixelSize/2;yy++){

                        bmpd.setPixel32(xx,yy,col);

                    }

                }

            }

        }

        var bmp:Bitmap = new Bitmap(bmpd);

        addChild(bmp)

    }