After doing some research,
I've found a way (probably not optimal) to wrap a PBJ into an
That is, it's possible to create your own AS filter classes
which work just like the built-in BlurFilter and DropShadowFilter.
You can create an AS filter class with adjustable parameters
like BlurFilter.blurX and DropShadowFilter.quality.
The basic idea is converting a ByteArray into a String, then
store it in an AS class as a static String property.
Later on, it can be parsed to regenerate the original
This ByteArray can then be passed to a Shader to create a