{"id":87,"date":"2006-09-29T08:22:00","date_gmt":"2006-09-29T16:22:00","guid":{"rendered":"http:\/\/www.ericfeminella.com\/blog\/2006\/09\/29\/as3-displayobjectcontainermanager\/"},"modified":"2012-03-04T23:30:22","modified_gmt":"2012-03-05T04:30:22","slug":"as3-displayobjectcontainermanager","status":"publish","type":"post","link":"https:\/\/www.ericfeminella.com\/blog\/2006\/09\/29\/as3-displayobjectcontainermanager\/","title":{"rendered":"AS3 DisplayObjectContainerManager"},"content":{"rendered":"<p>A co-worker of mine ran into a problem the other day in which he needed to remove a component from it&#8217;s parent container and relocate the component to a new container. This type of functionality is pretty common in flex applications so I decided to write a simple utility class to handle relocating display objects from one container to another.<\/p>\n<p>The <a target=\"_blank\" href=\"http:\/\/code.ericfeminella.com\/asdocs\/DisplayObjectContainerManager-asdoc\/com\/ericfeminella\/managers\/DisplayObjectContainerManager.html\">DisplayObjectContainerManager<\/a> is a singleton pattern implementation in which there is a single instance created which handles display object relocation from within the display list. DisplayObjectContainerManager allows a component to easily be removed from it&#8217;s parent container and relocated to a seperate container while retaining it&#8217;s current state.<\/p>\n<p>You can view a basic usage example <a target=\"_blank\" href=\"http:\/\/www.ericfeminella.com\/portfolio\/flex_applications\/Flex2.0\/DisplayContainerManager\/bin\/DisplayContainerManagerExample.html\">here<\/a> or view the ASDoc for the DisplayObjectContainerManager <a href=\"http:\/\/code.ericfeminella.com\/asdocs\/DisplayObjectContainerManager-asdoc\/class-summary.html\">here<\/a><strong>.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A co-worker of mine ran into a problem the other day in which he needed to remove a component from it&#8217;s parent container and relocate the component to a new container. This type of functionality is pretty common in flex applications so I decided to write a simple utility class to handle relocating display objects from one container to another&#8230;. <a class=\"read-more\" href=\"https:\/\/www.ericfeminella.com\/blog\/2006\/09\/29\/as3-displayobjectcontainermanager\/\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-news"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ericfeminella.com\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}