
{"id":412,"date":"2008-04-30T10:08:02","date_gmt":"2008-04-30T09:08:02","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=412"},"modified":"2008-05-04T02:20:11","modified_gmt":"2008-05-04T01:20:11","slug":"as2-to-as3-get-all-objects-in-a-movieclip","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/","title":{"rendered":"AS2 to AS3: get all objects in a movieclip"},"content":{"rendered":"<p>Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root.<\/p>\n<h3>ActionScript 2<\/h3>\n<p>A little trick that I used a lot in AS2 is:<\/p>\n<div class=\"showcode\">\n<pre>\r\nfor(var i in _root){\r\n   trace('key: ' + i + ', value: ' + _root[i]);\r\n}\r\n<\/pre>\n<\/div>\n<p>or <\/p>\n<div class=\"showcode\">\n<pre>\r\nfor(var i in target_mc){\r\n   trace('key: ' + i + ', value: ' + target_mc[i]);\r\n}\r\n<\/pre>\n<\/div>\n<p>to find out which movies are in <code>target_mc<\/code><\/p>\n<p>It was not only a trick to <code>trace <\/code> everything, I also used it to reset movieclips (place them outside the stage, or delete them) or quickly make buttons out of them:<\/p>\n<div class=\"showcode\">\n<pre>\r\nfor(var i in target_mc){\r\n\ttarget_mc[i].id = i;\r\n\ttarget_mc[i].onRelease = function (){\r\n\t\ttrace (\"id = \" + this.id); \/\/ onRelease the id will be called (the name of the movie)\r\n\t};\r\n}\r\n<\/pre>\n<\/div>\n<p><\/p>\n<h3>ActionScript 3<\/h3>\n<p>But in AS3 this doesn&#8217;t work any more!<br \/>\nAnd I know: AS3 should make my life easier&#8230;. well if I see the solution to the problem created by AS3, I have to disagree!<\/p>\n<div class=\"showcode\">\n<pre>\r\nfor (var i:uint = 0; i < target_mc.numChildren; i++){\r\n\ttrace ('\\t|\\t ' +i+'.\\t name:' + target_mc.getChildAt(i).name + '\\t type:' + typeof (target_mc.getChildAt(i))+ '\\t' + target_mc.getChildAt(i));\r\n}\r\n<\/pre>\n<\/div>\n<p>In AS3 you first have to get the \"number of children\" (<code>numChildren<\/code>) in a <code>DisplayObjectContainer<\/code>, then you have to say which child you want (<code>getChildAt(i)<\/code>)...<br \/>\nA good thing about AS3 is, you get <strong>everything<\/strong> in a movieClip, even shapes you made there without a instance name.<\/p>\n<p>I'm glad that I work with <a href=\"http:\/\/www.flashdevelop.org\/community\/\">FlashDevelop<\/a>, which has <a href=\"http:\/\/en.wikipedia.org\/wiki\/Snippet_%28programming%29\">snippets<\/a> so I don't have to type this constantly!<\/p>\n<p>(For the people that use FlashDevelop too, here is my snippet:)<\/p>\n<div class=\"showcode\">\n<pre>\r\n\/\/ $(Clipboard)is a DisplayObject\r\ntrace ('+ number of DisplayObject: ' + $(Clipboard).numChildren + '  --------------------------------');\r\nfor (var i:uint = 0; i < $(Clipboard).numChildren; i++){\r\n\ttrace ('\\t|\\t ' +i+'.\\t name:' + $(Clipboard).getChildAt(i).name + '\\t type:' + typeof ($(Clipboard).getChildAt(i))+ '\\t' + $(Clipboard).getChildAt(i));\r\n}\r\ntrace ('\\t+ --------------------------------------------------------------------------------------');\r\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace(&#8216;key: &#8216; + i + &#8216;, value: &#8216; + _root[i]); } or for(var [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[68,39,97,408,398],"class_list":["post-412","post","type-post","status-publish","format-standard","hentry","category-as3","tag-actionscript","tag-as2","tag-as2-to-as3","tag-as3","tag-flash"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace(&#039;key: &#039; + i + &#039;, value: &#039; + _root[i]); } or for(var\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Matthijs Kamstra\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"[mck] | a polymath zapper\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"AS2 to AS3: get all objects in a movieclip | [mck]\" \/>\n\t\t<meta property=\"og:description\" content=\"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace(&#039;key: &#039; + i + &#039;, value: &#039; + _root[i]); } or for(var\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-04-30T09:08:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-05-04T01:20:11+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"AS2 to AS3: get all objects in a movieclip | [mck]\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace(&#039;key: &#039; + i + &#039;, value: &#039; + _root[i]); } or for(var\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#article\",\"name\":\"AS2 to AS3: get all objects in a movieclip | [mck]\",\"headline\":\"AS2 to AS3: get all objects in a movieclip\",\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"},\"datePublished\":\"2008-04-30T10:08:02+01:00\",\"dateModified\":\"2008-05-04T02:20:11+01:00\",\"inLanguage\":\"en-US\",\"commentCount\":20,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#webpage\"},\"articleSection\":\"AS3, Actionscript, AS2, AS2 to AS3, AS3, Flash\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"name\":\"Flash\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"position\":2,\"name\":\"Flash\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/#listItem\",\"name\":\"AS3\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/#listItem\",\"position\":3,\"name\":\"AS3\",\"item\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#listItem\",\"name\":\"AS2 to AS3: get all objects in a movieclip\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"name\":\"Flash\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#listItem\",\"position\":4,\"name\":\"AS2 to AS3: get all objects in a movieclip\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/as3\\\/#listItem\",\"name\":\"AS3\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\",\"name\":\"[mck]\",\"description\":\"a polymath zapper\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Matthijs Kamstra\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/06ff22a1197b6624946e5a3377184f11ddc00ac06a6f1d2311b9d2072bdf61b1?s=96&d=wavatar&r=g\",\"width\":96,\"height\":96,\"caption\":\"Matthijs Kamstra\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#webpage\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/\",\"name\":\"AS2 to AS3: get all objects in a movieclip | [mck]\",\"description\":\"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace('key: ' + i + ', value: ' + _root[i]); } or for(var\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/04\\\/30\\\/as2-to-as3-get-all-objects-in-a-movieclip\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2008-04-30T10:08:02+01:00\",\"dateModified\":\"2008-05-04T02:20:11+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/\",\"name\":\"[mck]\",\"description\":\"a polymath zapper\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"AS2 to AS3: get all objects in a movieclip | [mck]","description":"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace('key: ' + i + ', value: ' + _root[i]); } or for(var","canonical_url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#article","name":"AS2 to AS3: get all objects in a movieclip | [mck]","headline":"AS2 to AS3: get all objects in a movieclip","author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"},"datePublished":"2008-04-30T10:08:02+01:00","dateModified":"2008-05-04T02:20:11+01:00","inLanguage":"en-US","commentCount":20,"mainEntityOfPage":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#webpage"},"isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#webpage"},"articleSection":"AS3, Actionscript, AS2, AS2 to AS3, AS3, Flash"},{"@type":"BreadcrumbList","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.matthijskamstra.nl\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","name":"Flash"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","position":2,"name":"Flash","item":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/#listItem","name":"AS3"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/#listItem","position":3,"name":"AS3","item":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#listItem","name":"AS2 to AS3: get all objects in a movieclip"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","name":"Flash"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#listItem","position":4,"name":"AS2 to AS3: get all objects in a movieclip","previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/#listItem","name":"AS3"}}]},{"@type":"Organization","@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization","name":"[mck]","description":"a polymath zapper","url":"https:\/\/www.matthijskamstra.nl\/blog\/"},{"@type":"Person","@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author","url":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/","name":"Matthijs Kamstra","image":{"@type":"ImageObject","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/06ff22a1197b6624946e5a3377184f11ddc00ac06a6f1d2311b9d2072bdf61b1?s=96&d=wavatar&r=g","width":96,"height":96,"caption":"Matthijs Kamstra"}},{"@type":"WebPage","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#webpage","url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/","name":"AS2 to AS3: get all objects in a movieclip | [mck]","description":"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace('key: ' + i + ', value: ' + _root[i]); } or for(var","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/#breadcrumblist"},"author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"datePublished":"2008-04-30T10:08:02+01:00","dateModified":"2008-05-04T02:20:11+01:00"},{"@type":"WebSite","@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website","url":"https:\/\/www.matthijskamstra.nl\/blog\/","name":"[mck]","description":"a polymath zapper","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"[mck] | a polymath zapper","og:type":"article","og:title":"AS2 to AS3: get all objects in a movieclip | [mck]","og:description":"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace('key: ' + i + ', value: ' + _root[i]); } or for(var","og:url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/","article:published_time":"2008-04-30T09:08:02+00:00","article:modified_time":"2008-05-04T01:20:11+00:00","twitter:card":"summary_large_image","twitter:title":"AS2 to AS3: get all objects in a movieclip | [mck]","twitter:description":"Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace('key: ' + i + ', value: ' + _root[i]); } or for(var"},"aioseo_meta_data":{"post_id":"412","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-12-11 09:01:32","updated":"2025-06-04 08:49:18","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/\" title=\"Flash\">Flash<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/\" title=\"AS3\">AS3<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAS2 to AS3: get all objects in a movieclip\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.matthijskamstra.nl\/blog"},{"label":"Flash","link":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/"},{"label":"AS3","link":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/as3\/"},{"label":"AS2 to AS3: get all objects in a movieclip","link":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/04\/30\/as2-to-as3-get-all-objects-in-a-movieclip\/"}],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/comments?post=412"}],"version-history":[{"count":0,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/412\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}