O'Reilly logo

Flash Development for Android Cookbook by Joseph Labrecque

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying Pixel Bender Shader effects to loaded images

Once we load a visual object into our application, as this is all Flash-based, we can do all sorts of robust visual manipulation. In this example, we will load a preselected photograph from the local file system, and then apply a variety of Pixel Bender Shaders to it, drastically changing its appearance.

Getting ready…

This recipe makes use of Pixel Bender Shaders. You can download .pbj files from the Adobe Exchange or create your own.

If you decide to write your own Pixel Bender kernels, you can download the Pixel Bender Toolkit for free from http://www.adobe.com/devnet/pixelbender.html and use it to compile all sorts of shaders for use in Flash and AIR projects.

The toolkit allows you to write ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required