<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5586452099862540857.post1740340796590351133..comments</id><updated>2008-07-23T21:44:29.307-04:00</updated><title type='text'>Comments on The Flex Non-Docs: metadata.Exclude</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nondocs.blogspot.com/feeds/1740340796590351133/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5586452099862540857/1740340796590351133/comments/default'/><link rel='alternate' type='text/html' href='http://nondocs.blogspot.com/2007/04/metadataexclude.html'/><author><name>Dan</name><uri>http://www.blogger.com/profile/06759273451883424290</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5586452099862540857.post-3112976894872579684</id><published>2008-07-23T21:44:00.000-04:00</published><updated>2008-07-23T21:44:00.000-04:00</updated><title type='text'>Quick follow-up. It turns out that the Exclude met...</title><content type='html'>Quick follow-up. It turns out that the Exclude metadata tag does even less than I thought it does. All it does is make it so the excluded property will not show up in the code hinting list. You can still use the property, even within the tag declaring that component that it is a property of. So, continuing the example from my previous comments, it will work just fine to do the following:&lt;BR/&gt;&lt;BR/&gt;&amp;lt;myNamespace:MyComponent id=”myComponent” alpha=“ 0.5” /&amp;gt;&lt;BR/&gt;&lt;BR/&gt;Gordon actually says this in his original post, but I did not understand what he meant.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5586452099862540857/1740340796590351133/comments/default/3112976894872579684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5586452099862540857/1740340796590351133/comments/default/3112976894872579684'/><link rel='alternate' type='text/html' href='http://nondocs.blogspot.com/2007/04/metadataexclude.html?showComment=1216863840000#c3112976894872579684' title=''/><author><name>Sid Maskit</name><uri>http://www.blogger.com/profile/00728030058202172873</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://nondocs.blogspot.com/2007/04/metadataexclude.html' ref='tag:blogger.com,1999:blog-5586452099862540857.post-1740340796590351133' source='http://www.blogger.com/feeds/5586452099862540857/posts/default/1740340796590351133' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5586452099862540857.post-7078789287922330077</id><published>2008-07-23T21:27:00.000-04:00</published><updated>2008-07-23T21:27:00.000-04:00</updated><title type='text'>Although everything said above seems correct, I fo...</title><content type='html'>Although everything said above seems correct, I found it a bit confusing. Based on some testing, here is my understanding of how the Exclude metadata tag works, at least for properties (I haven&amp;#39;t tested anything else).&lt;BR/&gt;&lt;BR/&gt;Let&amp;#39;s say that we have a custom component in the file MyComponent.mxml, and within MyComponent.mxml, we have something like&lt;BR/&gt;&lt;BR/&gt;&amp;lt;mx:Metadata&amp;gt;&lt;BR/&gt;    [Exclude(name=&amp;quot;alpha&amp;quot;, kind=&amp;quot;property&amp;quot;)]&lt;BR/&gt;&amp;lt;/mx:Metadata&amp;gt;&lt;BR/&gt;&lt;BR/&gt;Then within another MXML component, we instantiate our custom component as follows:&lt;BR/&gt;&lt;BR/&gt;&amp;lt;myNamespace:MyComponent id=&amp;quot;myComponent&amp;quot; /&amp;gt;&lt;BR/&gt;&lt;BR/&gt;Because of the Exclude tag set for the alpha property, we will not be able to have an alpha attribute within the above tag declaring MyComponent.&lt;BR/&gt;&lt;BR/&gt;However, that is the only thing limited by the exclude tag. We will still be able to access the alpha property of the myComponent object, both for setting and getting by ActionScript, and for binding within another MXML tag.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5586452099862540857/1740340796590351133/comments/default/7078789287922330077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5586452099862540857/1740340796590351133/comments/default/7078789287922330077'/><link rel='alternate' type='text/html' href='http://nondocs.blogspot.com/2007/04/metadataexclude.html?showComment=1216862820000#c7078789287922330077' title=''/><author><name>Sid Maskit</name><uri>http://www.blogger.com/profile/00728030058202172873</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://nondocs.blogspot.com/2007/04/metadataexclude.html' ref='tag:blogger.com,1999:blog-5586452099862540857.post-1740340796590351133' source='http://www.blogger.com/feeds/5586452099862540857/posts/default/1740340796590351133' type='text/html'/></entry></feed>