<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Working with Shaders/Filters in Flash 10</title>
	<link>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/</link>
	<description>Adobe Flash Platform Commentaries and General Tech Rambling</description>
	<pubDate>Wed, 03 Dec 2008 06:46:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: [FlashPlayer10]Minimal template for using Pixel Bender Filters</title>
		<link>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10537</link>
		<dc:creator>[FlashPlayer10]Minimal template for using Pixel Bender Filters</dc:creator>
		<pubDate>Wed, 21 May 2008 17:03:52 +0000</pubDate>
		<guid>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10537</guid>
		<description>[...] The Back Button &#187; Working with Shaders/Filters in Flash 10 The Flash Blog &#187; Loading Pixel Bender Filters in Flash 10 AstroのShaderFilter AIF [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] The Back Button &raquo; Working with Shaders/Filters in Flash 10 The Flash Blog &raquo; Loading Pixel Bender Filters in Flash 10 AstroのShaderFilter AIF [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10304</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 19 May 2008 22:36:06 +0000</pubDate>
		<guid>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10304</guid>
		<description>You need to use the compiled version of the filter (the .pbj).  You can use the Pixel Bender Toolkit to do this. http://labs.adobe.com/wiki/index.php/Pixel_Bender_Toolkit</description>
		<content:encoded><![CDATA[<p>You need to use the compiled version of the filter (the .pbj).  You can use the Pixel Bender Toolkit to do this. <a href="http://labs.adobe.com/wiki/index.php/Pixel_Bender_Toolkit" rel="nofollow">http://labs.adobe.com/wiki/index.php/Pixel_Bender_Toolkit</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Kappler</title>
		<link>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10303</link>
		<dc:creator>Laurent Kappler</dc:creator>
		<pubDate>Mon, 19 May 2008 22:23:14 +0000</pubDate>
		<guid>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10303</guid>
		<description>Hi Alex,

Very interesting post!

I'm trying your method but I get an error from flash player 10

ArgumentError: Error #2004: L'un des paramètres n'est pas valide.
	at flash.display::ShaderData/_setByteCode()
	at flash.display::ShaderData()
	at flash.display::Shader/set byteCode()
	at flash.display::Shader()
	at Main/init()[D:\job\logiquefloue\prog\as3\_Astro\AstroShader\src\Main.as:23]
	at Main()[D:\job\logiquefloue\prog\as3\_Astro\AstroShader\src\Main.as:17]

it's like the new Filter() is not a byteArray.
Do you have an idea what's going on. My code here:

package 
{
	import flash.display.*;
	import flash.filters.*;
	
	
	public class Main extends Sprite
	{
		
[Embed(source="../asset/firstSteps.pbk", mimeType="application/octet-stream")]
		public var Filter:Class;
		public var shader:Shader;
		
		public function Main():void
		{
			init();
		}
		
		public function init():void
		{
			
			shader = new Shader( new Filter() );

		}
	}	
	
}

ty
L</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>Very interesting post!</p>
<p>I&#8217;m trying your method but I get an error from flash player 10</p>
<p>ArgumentError: Error #2004: L&#8217;un des paramètres n&#8217;est pas valide.<br />
	at flash.display::ShaderData/_setByteCode()<br />
	at flash.display::ShaderData()<br />
	at flash.display::Shader/set byteCode()<br />
	at flash.display::Shader()<br />
	at Main/init()[D:\job\logiquefloue\prog\as3\_Astro\AstroShader\src\Main.as:23]<br />
	at Main()[D:\job\logiquefloue\prog\as3\_Astro\AstroShader\src\Main.as:17]</p>
<p>it&#8217;s like the new Filter() is not a byteArray.<br />
Do you have an idea what&#8217;s going on. My code here:</p>
<p>package<br />
{<br />
	import flash.display.*;<br />
	import flash.filters.*;</p>
<p>	public class Main extends Sprite<br />
	{</p>
<p>[Embed(source=&#8221;../asset/firstSteps.pbk&#8221;, mimeType=&#8221;application/octet-stream&#8221;)]<br />
		public var Filter:Class;<br />
		public var shader:Shader;</p>
<p>		public function Main():void<br />
		{<br />
			init();<br />
		}</p>
<p>		public function init():void<br />
		{</p>
<p>			shader = new Shader( new Filter() );</p>
<p>		}<br />
	}	</p>
<p>}</p>
<p>ty<br />
L</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: senocular</title>
		<link>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10044</link>
		<dc:creator>senocular</dc:creator>
		<pubDate>Fri, 16 May 2008 23:00:23 +0000</pubDate>
		<guid>http://thebackbutton.com/blog/66/working-with-shadersfilters-in-flash-10/#comment-10044</guid>
		<description>You may notice that source code for Pixel Bender (hydra) files now use the extension .pbk and bytecode uses the extension .pbj</description>
		<content:encoded><![CDATA[<p>You may notice that source code for Pixel Bender (hydra) files now use the extension .pbk and bytecode uses the extension .pbj</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.375 seconds -->
