<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Ryan Campbell</title>
	<atom:link href="http://www.ryancampbell.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryancampbell.com</link>
	<description>Flex/Flash Developer Blog</description>
	<lastBuildDate>Tue, 22 Feb 2011 20:14:03 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>Comment on Adobe Flex and Google AdSense by KJG</title>
		<link>http://www.ryancampbell.com/2007/12/11/adobe-flex-and-google-adsense/comment-page-1/#comment-5167</link>
		<dc:creator>KJG</dc:creator>
		<pubDate>Tue, 22 Feb 2011 20:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://wp.bobjim.com/wordpress/2007/12/11/adobe-flex-and-google-adsense/#comment-5167</guid>
		<description>Google&#039;s Adsense TOS -  

Google ads may not be: Integrated into a software application of any kind, including toolbars. Displayed in pop-ups or pop-unders. Obscured by elements on a page.

Trust me - I tried to do this a couple years ago with a Flex app I have and was told by them that it clearly violates their TOS.</description>
		<content:encoded><![CDATA[<p>Google&#8217;s Adsense TOS &#8211;  </p>
<p>Google ads may not be: Integrated into a software application of any kind, including toolbars. Displayed in pop-ups or pop-unders. Obscured by elements on a page.</p>
<p>Trust me &#8211; I tried to do this a couple years ago with a Flex app I have and was told by them that it clearly violates their TOS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing the Swiz [URLMapping] Metadata Processor by João Saleiro</title>
		<link>http://www.ryancampbell.com/2010/03/26/introducing-the-swiz-urlmapping-metadata-processor/comment-page-1/#comment-5083</link>
		<dc:creator>João Saleiro</dc:creator>
		<pubDate>Fri, 18 Feb 2011 11:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancampbell.com/?p=53#comment-5083</guid>
		<description>Ryan,

URLMapping is excellent, and simplifies most of the use cases.
There is one use case where using the URLMapping tag can be a bit tricky.

Imagine you have a business method that you are sure that is only called internally by your application if a certain condition is applied (example: the user is logged in). 
You want that the call to that method (via [EventHandler]) changes the URL, but you don&#039;t want the reverse: if the user fills up the url, you want the method to be only called if a condition applies (i.e. The user is Logged In). 

For solving this case, I would recommend adding a new argument to URLMapping: &quot;direction = [fromBrowser; toBrowser; both]&quot;. It would indicate if that tag 1- Listens ONLY to URL changes calling the method; 2- Updates ONLY the URL 3- Does both things. This way, the following would be possible:

[EventHandler(&quot;BusinessEvent.DO_OPERATION&quot;)]
[URLMapping(&quot;/myOperation&quot;, direction=&quot;toBrowser&quot;)
public function doBusinessOperation():void {  }

[URLMapping(&quot;/myOperation&quot;, direction=&quot;fromBrowser&quot;)
public function tryToDoBusinessOperation():void 
{  
     if (condition) dispatchEvent(new BusinessEvent(BusinessEvent.DO_OPERATION))
}


Want we could use URLMapping like before, by using the direction=&quot;both&quot;, which would be default argument.

What do you think? :)</description>
		<content:encoded><![CDATA[<p>Ryan,</p>
<p>URLMapping is excellent, and simplifies most of the use cases.<br />
There is one use case where using the URLMapping tag can be a bit tricky.</p>
<p>Imagine you have a business method that you are sure that is only called internally by your application if a certain condition is applied (example: the user is logged in).<br />
You want that the call to that method (via [EventHandler]) changes the URL, but you don&#8217;t want the reverse: if the user fills up the url, you want the method to be only called if a condition applies (i.e. The user is Logged In). </p>
<p>For solving this case, I would recommend adding a new argument to URLMapping: &#8220;direction = [fromBrowser; toBrowser; both]&#8220;. It would indicate if that tag 1- Listens ONLY to URL changes calling the method; 2- Updates ONLY the URL 3- Does both things. This way, the following would be possible:</p>
<p>[EventHandler("BusinessEvent.DO_OPERATION")]<br />
[URLMapping(&#8220;/myOperation&#8221;, direction=&#8221;toBrowser&#8221;)<br />
public function doBusinessOperation():void {  }</p>
<p>[URLMapping(&#8220;/myOperation&#8221;, direction=&#8221;fromBrowser&#8221;)<br />
public function tryToDoBusinessOperation():void<br />
{<br />
     if (condition) dispatchEvent(new BusinessEvent(BusinessEvent.DO_OPERATION))<br />
}</p>
<p>Want we could use URLMapping like before, by using the direction=&#8221;both&#8221;, which would be default argument.</p>
<p>What do you think? <img src='http://www.ryancampbell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Here&#8217;s 5 3D Layouts for Flex 4 by HDave</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-3397</link>
		<dc:creator>HDave</dc:creator>
		<pubDate>Tue, 24 Aug 2010 06:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-3397</guid>
		<description>@Balakrishnan -- Will you be making the source code available?  Desperately looking for an animated carousel for Flex 4</description>
		<content:encoded><![CDATA[<p>@Balakrishnan &#8212; Will you be making the source code available?  Desperately looking for an animated carousel for Flex 4</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Here&#8217;s 5 3D Layouts for Flex 4 by Balakrishnan Vijay</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-3317</link>
		<dc:creator>Balakrishnan Vijay</dc:creator>
		<pubDate>Wed, 11 Aug 2010 06:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-3317</guid>
		<description>I have now implemented animation myself (on my blog).

http://balakrishnanvijay.wordpress.com/2010/08/03/cylindrical-view-with-animatio/

It is not necessary as I had thought, to have a fixed number of states. All it takes for animation is to calculate the finalMatrix3D as Ryan has done and interpolate to it.

Once again, thanks Ryan !</description>
		<content:encoded><![CDATA[<p>I have now implemented animation myself (on my blog).</p>
<p><a href="http://balakrishnanvijay.wordpress.com/2010/08/03/cylindrical-view-with-animatio/" rel="nofollow">http://balakrishnanvijay.wordpress.com/2010/08/03/cylindrical-view-with-animatio/</a></p>
<p>It is not necessary as I had thought, to have a fixed number of states. All it takes for animation is to calculate the finalMatrix3D as Ryan has done and interpolate to it.</p>
<p>Once again, thanks Ryan !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MXML without Flex (Example and Source) by Apri</title>
		<link>http://www.ryancampbell.com/2009/08/26/using-mxml-without-flex-example-and-source/comment-page-1/#comment-3307</link>
		<dc:creator>Apri</dc:creator>
		<pubDate>Mon, 09 Aug 2010 07:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/08/26/using-mxml-without-flex-example-and-source/#comment-3307</guid>
		<description>Thiago, download and use Flex 4.x SDK. FlexBuilder 3 users Flex 3.x SDK by default.</description>
		<content:encoded><![CDATA[<p>Thiago, download and use Flex 4.x SDK. FlexBuilder 3 users Flex 3.x SDK by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Here&#8217;s 5 3D Layouts for Flex 4 by Balakrishnan Vijay</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-3180</link>
		<dc:creator>Balakrishnan Vijay</dc:creator>
		<pubDate>Thu, 15 Jul 2010 06:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-3180</guid>
		<description>Animation is possible as shown in http://www.rialvalue.com/blog/2010/04/14/carroflow-another-3d-layout-for-flex4/

The trick though is to display only a fixed number of objects at all times, rather have only a fixed set of positions that objects take. What is done in that example is that a set of matrix3D objects are allocated for each position(angle) and makes every object repeatedly &quot;interpolate&quot; from the initial matrix to the final matrix for every timer interval.

PS : Your layouts were very useful in learning 3-d layouts ! I have now done a couple of 3-d layouts of my own. Cheers !</description>
		<content:encoded><![CDATA[<p>Animation is possible as shown in <a href="http://www.rialvalue.com/blog/2010/04/14/carroflow-another-3d-layout-for-flex4/" rel="nofollow">http://www.rialvalue.com/blog/2010/04/14/carroflow-another-3d-layout-for-flex4/</a></p>
<p>The trick though is to display only a fixed number of objects at all times, rather have only a fixed set of positions that objects take. What is done in that example is that a set of matrix3D objects are allocated for each position(angle) and makes every object repeatedly &#8220;interpolate&#8221; from the initial matrix to the final matrix for every timer interval.</p>
<p>PS : Your layouts were very useful in learning 3-d layouts ! I have now done a couple of 3-d layouts of my own. Cheers !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Here&#8217;s 5 3D Layouts for Flex 4 by Vladimir Tsvetkov</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-3038</link>
		<dc:creator>Vladimir Tsvetkov</dc:creator>
		<pubDate>Fri, 25 Jun 2010 08:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-3038</guid>
		<description>Hi Ryan, 

Did you get any decent answers to the Animation?-question?

I&#039;m trying to animate layout changes to children, when children are added and removed to and from a Group. So far I&#039;ve experimented with setting the moveEffect of the Group&#039;s children. But as you expect this works only in the cases when there are no changes to the Group during the playing Move effect.

Probably I&#039;ll write a blog post when I get to a solution.

Best Regards, 
Vladimir</description>
		<content:encoded><![CDATA[<p>Hi Ryan, </p>
<p>Did you get any decent answers to the Animation?-question?</p>
<p>I&#8217;m trying to animate layout changes to children, when children are added and removed to and from a Group. So far I&#8217;ve experimented with setting the moveEffect of the Group&#8217;s children. But as you expect this works only in the cases when there are no changes to the Group during the playing Move effect.</p>
<p>Probably I&#8217;ll write a blog post when I get to a solution.</p>
<p>Best Regards,<br />
Vladimir</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MXML without Flex (Example and Source) by Thiago</title>
		<link>http://www.ryancampbell.com/2009/08/26/using-mxml-without-flex-example-and-source/comment-page-1/#comment-2932</link>
		<dc:creator>Thiago</dc:creator>
		<pubDate>Mon, 07 Jun 2010 14:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/08/26/using-mxml-without-flex-example-and-source/#comment-2932</guid>
		<description>I am getting two errors with FlexBuilder 3

Unable to transcode /assets/pf_ronda_seven.ttf.	MinimalComps/src/com/bit101/components	Component.as	line 51

Severity and Description	Path	Resource	Location	Creation Time	Id
transcoding parameter &#039;embedAsCFF&#039; is not supported by &#039;flex2.compiler.media.FontTranscoder&#039;	testApplicationCreation/src/com/bit101/components	Component.as	line 51	1275921796859	167


Does anyone know how to fix this?
Thanks</description>
		<content:encoded><![CDATA[<p>I am getting two errors with FlexBuilder 3</p>
<p>Unable to transcode /assets/pf_ronda_seven.ttf.	MinimalComps/src/com/bit101/components	Component.as	line 51</p>
<p>Severity and Description	Path	Resource	Location	Creation Time	Id<br />
transcoding parameter &#8216;embedAsCFF&#8217; is not supported by &#8216;flex2.compiler.media.FontTranscoder&#8217;	testApplicationCreation/src/com/bit101/components	Component.as	line 51	1275921796859	167</p>
<p>Does anyone know how to fix this?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Here&#8217;s 5 3D Layouts for Flex 4 by JackSW</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-2890</link>
		<dc:creator>JackSW</dc:creator>
		<pubDate>Wed, 02 Jun 2010 05:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-2890</guid>
		<description>Hi Ryan

I can not run your project in flash builder 4

an error occurs at  this line in CoverFlowLayout.as 

for ( var i:int = 0; i &lt; numElements; i++ )
			{
				var element:ILayoutElement = target.getElementAt( i );
                                ....

it always return null

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Ryan</p>
<p>I can not run your project in flash builder 4</p>
<p>an error occurs at  this line in CoverFlowLayout.as </p>
<p>for ( var i:int = 0; i &lt; numElements; i++ )<br />
			{<br />
				var element:ILayoutElement = target.getElementAt( i );<br />
                                &#8230;.</p>
<p>it always return null</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing the Swiz [URLMapping] Metadata Processor by Thomas Burleson</title>
		<link>http://www.ryancampbell.com/2010/03/26/introducing-the-swiz-urlmapping-metadata-processor/comment-page-1/#comment-2737</link>
		<dc:creator>Thomas Burleson</dc:creator>
		<pubDate>Fri, 14 May 2010 18:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancampbell.com/?p=53#comment-2737</guid>
		<description>After manually dealing with DeepLinks on several projects, this is really excellent. What a useful processor! 

Thank you,
THomasB</description>
		<content:encoded><![CDATA[<p>After manually dealing with DeepLinks on several projects, this is really excellent. What a useful processor! </p>
<p>Thank you,<br />
THomasB</p>
]]></content:encoded>
	</item>
</channel>
</rss>

