<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Vivisecting Media Conversations - Latest Comments in The Flex Code-Behind Pattern</title><link>http://vivisectingmedia.disqus.com/</link><description></description><atom:link href="https://vivisectingmedia.disqus.com/the_flex_code_behind_pattern/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 05 Aug 2009 08:47:16 -0000</lastBuildDate><item><title>Re: The Flex Code-Behind Pattern</title><link>http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/#comment-13974143</link><description>&lt;p&gt;I like the idea of this code behind a lot. One problem I seem to be having though is creating a new instance of an object in actionscript code and then trying to set elements within the mxml for that object.&lt;/p&gt;&lt;p&gt;It seems that I need to add the object before I can change any of the elements or properties. Is that correct? The project I'm working on requires a number of objects to be set in memory ready to be added when required. This might include setting the text of a label, but also it's position or styles or any number of other things.&lt;/p&gt;&lt;p&gt;I've tried moving the super.initialize() into the constructor, but that doesn't seem to work. Have you encountered this problem before?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">artigat1</dc:creator><pubDate>Wed, 05 Aug 2009 08:47:16 -0000</pubDate></item><item><title>Re: The Flex Code-Behind Pattern</title><link>http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/#comment-3143126</link><description>&lt;p&gt;That was just the case I was wondering about. Thanks a lot. Nice and simple. Just on point.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emre Selen</dc:creator><pubDate>Sat, 18 Oct 2008 06:55:57 -0000</pubDate></item><item><title>Re: The Flex Code-Behind Pattern</title><link>http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/#comment-1910909</link><description>&lt;p&gt;Fantastic article..... Good straight forward information.... Direct and compact....&lt;br&gt;It helped me understand more about how Flex/AS works and how this interaction should be handled....&lt;br&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rafael Santos</dc:creator><pubDate>Fri, 29 Aug 2008 10:22:14 -0000</pubDate></item><item><title>Re: The Flex Code-Behind Pattern</title><link>http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/#comment-392425</link><description>&lt;p&gt;I am glad this helped clear up some of the pitfalls.  When we first adopted this pattern on the project Webnesto is referring to in his comment, we would definitely had some challenges with the initial implementation.  I have a feeling I missed a few other less common pitfalls we stumbled upon during the that project and other ones I have have used it on.   At this point it has become more second nature, so what was once an "workaround" is now just how I code. If you, or anyone else, has some issues or questions about the pattern please let me know and I will reply and/or update the post with recommendations.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James</dc:creator><pubDate>Tue, 29 Apr 2008 12:11:09 -0000</pubDate></item><item><title>Re: The Flex Code-Behind Pattern</title><link>http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/#comment-391735</link><description>&lt;p&gt;Excellent article. Tried this pattern a couple of times (using some code from the Ted-On-Flex blog - &lt;a href="http://www.onflex.org/ted/2007/02/code-behind-in-flex-2.php)" rel="nofollow noopener" target="_blank" title="http://www.onflex.org/ted/2007/02/code-behind-in-flex-2.php)"&gt;http://www.onflex.org/ted/2...&lt;/a&gt;, but have always found several pitfalls. This seems to clarify a number of my questions. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brent</dc:creator><pubDate>Tue, 29 Apr 2008 10:04:15 -0000</pubDate></item><item><title>Re: The Flex Code-Behind Pattern</title><link>http://blog.vivisectingmedia.com/2008/04/the-flex-code-behind-pattern/#comment-380521</link><description>&lt;p&gt;Having worked with James on a project that implemented this pattern, I can heartily agree with his recommendations and personally attest to the value in this structure.&lt;/p&gt;&lt;p&gt;For people new to this concept, I always refer them to how we *try* to create unobtrusive javascript in a traditional HTML/JS environment.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">webnesto</dc:creator><pubDate>Fri, 25 Apr 2008 14:48:37 -0000</pubDate></item></channel></rss>