pixelbender and file creation
December 5th, 2008I started working with pixelbender and was getting a little irritated with having to write a custom class each time I was experimenting with something on the pixel bender exchange. This gave me a good opportunity to try out the new file I/O capabilities in player 10. I built out a little class that could generate .as files from .pbj files and save them. It’s not perfect. I would like to dig a little deeper and explore parameters a little better, but for what I needed, it saved me a lot of time creating a filter library to mess with. You can grab the source file here
Files are a lot easier to work with in player 10 than I though they would be. Writing to a text file is as simple as fileReference.save(someString, someName) loading is also a lot less painful than I thought it might be. Mike Chambers has written a good getting started guide here.
You’ll need flash 10 to view this: