{"id":127,"date":"2013-06-17T17:00:00","date_gmt":"2013-06-18T07:00:00","guid":{"rendered":"http:\/\/ploscariu.com\/wordpress\/?p=127"},"modified":"2014-10-31T15:08:54","modified_gmt":"2014-10-31T15:08:54","slug":"flex-setting-the-selecteditem-on-a-tree-freezes-the-application","status":"publish","type":"post","link":"http:\/\/ploscariu.com\/wordpress\/2013\/06\/17\/flex-setting-the-selecteditem-on-a-tree-freezes-the-application\/","title":{"rendered":"Flex setting the selectedItem on a tree freezes the application"},"content":{"rendered":"<p>\n\tapplication start freezing, after I debugged the code I found that the problem was the Tree setter selectedItem, googling I found this page&nbsp;http:\/\/forums.adobe.com\/thread\/823041 with people that have the same issue, the solution suggested was to call validateProperties before the problematic setter, this worked to make the app not freeze but the selectedItem did not done it&#39;s job so I used a callLater function to set the selectedItem &nbsp;after an interval&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>application start freezing, after I debugged the code I found that the problem was the Tree setter selectedItem, googling I found this page&nbsp;http:\/\/forums.adobe.com\/thread\/823041 with people that have the same issue, the solution suggested was to call validateProperties before the problematic setter, this worked to make the app not freeze but the selectedItem did not done &hellip; <a href=\"http:\/\/ploscariu.com\/wordpress\/2013\/06\/17\/flex-setting-the-selecteditem-on-a-tree-freezes-the-application\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Flex setting the selectedItem on a tree freezes the application<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[14,34],"class_list":["post-127","post","type-post","status-publish","format-standard","hentry","category-programming","tag-flex","tag-tree"],"kl_preview_url":"http:\/\/ploscariu.com\/wordpress\/?p=127&preview=1&kc_p=90b440e208","_links":{"self":[{"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":1,"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":677,"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/posts\/127\/revisions\/677"}],"wp:attachment":[{"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ploscariu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}