<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>diamondTearz - Latest Comments in Architecture Choices for ActionScript Flex Components | diamondTearz</title><link>http://diamondtearz.disqus.com/</link><description>Unity 3D, Flash, Flex and iPhone Blog</description><atom:link href="https://diamondtearz.disqus.com/architecture_choices_for_actionscript_flex_components_diamondtearz/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 03 Aug 2008 21:06:57 -0000</lastBuildDate><item><title>Re: Architecture Choices for ActionScript Flex Components | diamondTearz</title><link>http://diamondtearz.org/blog/2008/03/03/architecture-choices-for-actionscript-flex-components/#comment-4470392</link><description>&lt;p&gt;@Chetan-&lt;br&gt;  That would depend.  The updateDisplayList() is the method where you would pass a component it's size that it was going to be regardless.&lt;/p&gt;&lt;p&gt;The measure method, however is where a component would tell its container/parent what size it would like to be.  I think this needs more clarification and if I get a change I'll post more about it later this week.   &lt;br&gt;Meanwhile check out Michael Labriola's slideshow &lt;br&gt;&lt;a href="http://www.slideshare.net/michael.labriola/2007-max-presentation-creating-custom-flex-components" rel="nofollow noopener" target="_blank" title="http://www.slideshare.net/michael.labriola/2007-max-presentation-creating-custom-flex-components"&gt;http://www.slideshare.net/m...&lt;/a&gt;&lt;br&gt;and his blog for many tutorials on the details of this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mani Saint-Victor</dc:creator><pubDate>Sun, 03 Aug 2008 21:06:57 -0000</pubDate></item><item><title>Re: Architecture Choices for ActionScript Flex Components | diamondTearz</title><link>http://diamondtearz.org/blog/2008/03/03/architecture-choices-for-actionscript-flex-components/#comment-4470395</link><description>&lt;p&gt;If I want to measure the height and width of child components based on the size of component, In which method I should do this ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chetan Sachdev</dc:creator><pubDate>Sat, 02 Aug 2008 09:26:40 -0000</pubDate></item><item><title>Re: Architecture Choices for ActionScript Flex Components | diamondTearz</title><link>http://diamondtearz.org/blog/2008/03/03/architecture-choices-for-actionscript-flex-components/#comment-4470393</link><description>&lt;p&gt;Actully, if you want to add components dynamically at runtime, it should actully be done in the CommitProperties method. The reason, is that, if you added a textfield to a custom uicomponent, the amount of space and size of the component would have to now accomodate the new addition as a child. InvalidateSize/measure can also be called afterwards to measure the child, and finally updatedisplaylist will have proper unscaledwidth and unscaledheight values, were you can finally position the component.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lordy</dc:creator><pubDate>Tue, 04 Mar 2008 06:01:30 -0000</pubDate></item><item><title>Re: Architecture Choices for ActionScript Flex Components | diamondTearz</title><link>http://diamondtearz.org/blog/2008/03/03/architecture-choices-for-actionscript-flex-components/#comment-4470394</link><description>&lt;p&gt;hey M,&lt;/p&gt;&lt;p&gt;With regards to frameworks, the only framework i would draw dependencies on is the flex framework.&lt;/p&gt;&lt;p&gt;Then you can use your component in as many cairngorm apps as you want..&lt;/p&gt;&lt;p&gt;For example a button component.&lt;br&gt;The button is self-contained and only really represents the V in MVC, if that makes any sense...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bjorn</dc:creator><pubDate>Mon, 03 Mar 2008 23:32:00 -0000</pubDate></item></channel></rss>