Skip to main content
New Participant
February 24, 2015
Answered

Pixel Tool in Flash CC?

  • February 24, 2015
  • 4 replies
  • 20104 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?

    New 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.

    LironPeer
    Known Participant
    January 3, 2017

    Im on Mac at the moment at the folder I showed is [users/username/Library/Application Support/Adobe/Animate CC 2017/en_US/Configuration/Tools]

    my first run likewise is just PolyStar and I cant find the third location on my machine so I'm assuming thats a windows one.

    its a long shot but who knows;

    Heres the files missing from your folder#2.

    @patach I installed using the terminal/mac & commandline/windows (this, for clarity).


    YAY!!!! It Worked!!!

    I put the files in C:\Users\<username>\AppData\Local\Adobe\Animate CC 2017\en_US\Configuration\Tools, then opened Animate and it was right there in my tools panel!!! I'm so happy!

    I played with it a bit, looks like a very useful tool. Had to figure out I control the size with the stroke size, while it seems to draw a shape.

    I don't know why it only worked this way, but I'm glad you could send the files. Maybe this should be in some available to all storage for others to use.

    Thank you very very much butterflysmasher, you made my day!!

    Cheers.

    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
    Adobe Expert
    February 24, 2015

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

    New Participant
    February 24, 2015

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

    Thanks again

    kglad
    kgladCorrect answer
    Adobe 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)

    }