<?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/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6343647</id><updated>2011-04-21T20:54:46.350-07:00</updated><category term='ssl'/><category term='xml'/><category term='flash'/><category term='mx:Tree'/><category term='mx:ComboBox'/><category term='combo box'/><category term='adobe'/><category term='tree'/><category term='cache'/><category term='flex'/><title type='text'>Adobe Flex Code Snippets and Examples</title><subtitle type='html'>"It is impossible for a man to learn what he thinks he already knows." - Epictetus 
&lt;br&gt; &lt;br&gt;
The opinions expressed here are entirely my own, not those of my employer.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kmossman.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kmossman.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kurt</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6343647.post-1701224233992048754</id><published>2007-03-27T14:12:00.000-07:00</published><updated>2007-03-27T14:17:20.976-07:00</updated><title type='text'></title><content type='html'>Here is a new example. It seems I'm combo man! Here is one with a List&lt;br /&gt;&lt;br /&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="comboListExample" width="400" height="400" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"&gt;&lt;br /&gt;   &lt;param name="movie" value="http://kmossman.com/blogspot/comboListExample.swf"&gt;&lt;br /&gt;   &lt;param name="quality" value="high"&gt;&lt;br /&gt;   &lt;param name="bgcolor" value="#869ca7"&gt;&lt;br /&gt;   &lt;param name="allowScriptAccess" value="sameDomain"&gt;&lt;br /&gt;   &lt;embed src="http://kmossman.com/blogspot/comboListExample.swf" quality="high" bgcolor="#869ca7" width="400" height="400" name="comboListExample" align="middle" play="true" loop="false" quality="high" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"&gt;&lt;br /&gt;   &lt;/embed&gt;&lt;br /&gt; &lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Here is the &lt;a href="http://kmossman.com/blogspot/comboListExample.txt"&gt;ComboBox List Example&lt;/a&gt; and the &lt;a href="http://kmossman.com/blogspot/customListRenderer.txt"&gt;Custom List Renderer&lt;/a&gt; source code for you to use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6343647-1701224233992048754?l=kmossman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kmossman.blogspot.com/feeds/1701224233992048754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6343647&amp;postID=1701224233992048754&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/1701224233992048754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/1701224233992048754'/><link rel='alternate' type='text/html' href='http://kmossman.blogspot.com/2007/03/here-is-new-example.html' title=''/><author><name>Kurt</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6343647.post-5108689178848507048</id><published>2007-03-18T18:01:00.000-07:00</published><updated>2007-03-18T18:46:07.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='combo box'/><category scheme='http://www.blogger.com/atom/ns#' term='mx:Tree'/><category scheme='http://www.blogger.com/atom/ns#' term='mx:ComboBox'/><category scheme='http://www.blogger.com/atom/ns#' term='adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='tree'/><title type='text'></title><content type='html'>I worked up an example that uses a ComboBox to display a Tree control. I have seen some other postings on this. I have to admit I have not testing this fully so please  test it and tell me what you think. &lt;br /&gt;&lt;br /&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="treeExample" width="400" height="400" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"&gt;&lt;br /&gt;   &lt;param name="movie" value="http://kmossman.com/blogspot/treeExample.swf"&gt;&lt;br /&gt;   &lt;param name="quality" value="high"&gt;&lt;br /&gt;   &lt;param name="bgcolor" value="#869ca7"&gt;&lt;br /&gt;   &lt;param name="allowScriptAccess" value="sameDomain"&gt;&lt;br /&gt;   &lt;embed src="http://kmossman.com/blogspot/treeExample.swf" quality="high" bgcolor="#869ca7" width="400" height="400" name="treeExample" align="middle" play="true" loop="false" quality="high" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"&gt;&lt;br /&gt;   &lt;/embed&gt;&lt;br /&gt; &lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Here is the &lt;a href="http://kmossman.com/blogspot/treeExample.txt"&gt;treeExample&lt;/a&gt; and the &lt;a href="http://kmossman.com/blogspot/TreeComboBox.txt"&gt;TreeComboBox&lt;/a&gt; source code for you to use. The treeExample is based on the Adobe doc examples. &lt;br /&gt;&lt;br /&gt;The custom tag returns treeSelectedItem instead of selectedItem. The concept is to just pass the tree control's selectedItem back instead of trying to modify the ComboBox dataProvider to do the right thing. It's a little hacky but it seems to work ok for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6343647-5108689178848507048?l=kmossman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/5108689178848507048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/5108689178848507048'/><link rel='alternate' type='text/html' href='http://kmossman.blogspot.com/2007/03/blog-post.html' title=''/><author><name>Kurt</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6343647.post-2812636536658580590</id><published>2007-03-18T15:39:00.000-07:00</published><updated>2007-03-18T17:33:30.954-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'></title><content type='html'>This strange issue with IE and SSL has been bugging me. I found the time to do some testing on this. If you're using Pragma no-cache on your web server with SSL and Flash and are scratching your head trying to figure out why you can't see your data then continue reading.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Problem: &lt;/span&gt;I make a request from Flash to an XML file that's located on my web server with https (SSL). I can see the XML when I make the request from my IE however when I use the Flash Player with the load.xml method it fails to return results. To make matters worse things work just fine with FireFox, but not with IE. When using IE I don't see the XML results returned to Flash. When I use &lt;a href="http://www.xk72.com/charles/"&gt;Charles&lt;/a&gt; to see what's going on... I can see that the XML is returned to the browser. Is this a Flash issue ? Or is this IE ?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution: &lt;/span&gt; Just modify the "Pragma" to use must-revalidate along with no-cache. If you make it look like the following below it should work just fine. You need to modify the headers on the server that is serving the XML document. &lt;br /&gt;&lt;br /&gt;If you have this &lt;span style="font-weight: bold; font-style: italic;"&gt;Pragma: no-cache&lt;/span&gt;&lt;br /&gt;Change it to this &lt;span style="font-weight: bold; font-style: italic;"&gt;Pragma: no-cache,must-revalidate&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why? &lt;/span&gt;It's my theory the response hand off from IE to the FlashPlayer is the cause. Should the response be considered stale by IE then the cache (XML  data) will need to be revalidated with the server before Flash can get it. This seems to be an issue with the Pragma header and not the Cache-Control header and I'm not sure why.&lt;br /&gt;&lt;br /&gt;Here is the &lt;a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"&gt;rfc2616 &lt;/a&gt;w3c spec on cache control settings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6343647-2812636536658580590?l=kmossman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kmossman.blogspot.com/feeds/2812636536658580590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6343647&amp;postID=2812636536658580590&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/2812636536658580590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/2812636536658580590'/><link rel='alternate' type='text/html' href='http://kmossman.blogspot.com/2007/03/this-strange-issue-with-ie-and-ssl-has.html' title=''/><author><name>Kurt</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6343647.post-2917108223122917603</id><published>2007-02-06T08:46:00.000-08:00</published><updated>2007-02-06T08:56:17.044-08:00</updated><title type='text'></title><content type='html'>It's about time I started a blog. I work for Adobe as an Sr. Technical Support Engineer for the Flex product. I tend to get busy with work however, I'll try my best to update this blog when I can. I'm inspired by &lt;a href="http://blog.739saintlouis.com"&gt;Kyle's new blog&lt;/a&gt;. This is just a first quick post to get me started.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6343647-2917108223122917603?l=kmossman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kmossman.blogspot.com/feeds/2917108223122917603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6343647&amp;postID=2917108223122917603&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/2917108223122917603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6343647/posts/default/2917108223122917603'/><link rel='alternate' type='text/html' href='http://kmossman.blogspot.com/2007/02/its-about-time-i-started-blog.html' title=''/><author><name>Kurt</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
