
{"id":376,"date":"2008-01-03T13:40:40","date_gmt":"2008-01-03T12:40:40","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/index.php\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/"},"modified":"2008-05-10T23:33:08","modified_gmt":"2008-05-10T22:33:08","slug":"from-as2-to-as3-where-did-it-go-onrelease","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/","title":{"rendered":"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease"},"content":{"rendered":"<p>Last year I started working with AS3, and after having some startup problems, I&#8217;ve made my first application in it (not online yet).<br \/>\nThe strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2&#8230; \ud83d\ude41<\/p>\n<p>That AS2 is embedded deep into my brain and probably more people have this problem.<br \/>\nSo I started this series of post about the stuff that&#8217;s changed in <strong>from AS2 to AS3<\/strong>.<\/p>\n<p>I will probably regurgitate what other people already wrote something about, but it&#8217;s my &#8220;travel&#8221; trough AS3 land.<\/p>\n<h3>onRelease<\/h3>\n<p>One of things I use in every application that I build is onRelease.<\/p>\n<p>This is what the <a href=\"http:\/\/livedocs.adobe.com\/flex\/2\/langref\/migration.html\">ActionScript 2.0 Migration<\/a> has to say about this:<\/p>\n<table width='95%' cellpadding=\"2px\">\n<tr style='background-color:silver'>\n<td><strong>ActionScript 2.0<\/strong><\/td>\n<td><strong>ActionScript 3.0<\/strong><\/td>\n<td><strong>Comments<\/strong><\/td>\n<\/tr>\n<tr style='background-color:#F5F5F5'>\n<td>onRelease() EventHandler<\/td>\n<td>flash.display.InteractiveObject dispatches event: mouseUp <\/td>\n<td>Replaced in the new event model by a mouseUp event. <\/td>\n<\/tr>\n<\/table>\n<p>In AS2 I know 3 ways to use it:<\/p>\n<p><!--more--><\/p>\n<h3>AS2<\/h3>\n<p><em>For this example you need a movieClip named &#8216;<code>reload_mc<\/code>&#8216; and this AS2 code placed in the root<\/em><\/p>\n<p><b>example #1<\/b><\/p>\n<pre><code>\/\/ #1\r\nthis.reload_mc.onRelease = function (){\r\n\ttrace ('onRelease AS2::reload button')\r\n}\r\n<\/code><\/pre>\n<p><b>example #2<\/b><\/p>\n<pre><code>\/\/ #2\r\nthis.reload_mc.onRelease = reloadFunc;\r\n\r\nfunction reloadFunc () {\r\n\ttrace ('onRelease AS2::reload button')\r\n}\r\n<\/code><\/pre>\n<p><b>example #3<\/b><\/p>\n<pre><code>\/\/ #3\r\nvar thisObj = this;\r\nthis.reload_mc.onRelease = function (){\r\n\tthisObj.reloadFunc ();\r\n}\r\nfunction reloadFunc () {\r\n\ttrace ('onRelease AS2::reload button')\r\n}<\/code><\/pre>\n<p>This a little different in AS3, but the good thing is I know of 2 ways to do this, but I only 1 can I explain.<\/p>\n<h3>AS3<\/h3>\n<p><em>For this example you need a movieClip named &#8216;<code>reload_mc<\/code>&#8216; and this AS2 code placed in the root<\/em><br \/>\nExplanation: in AS3 everything is done by Listeners, and so <code>onRelease <\/code>is replaced by <code>MouseEvent.CLICK<\/code>, and to compare the code below and AS2 examples above I would say that example #2 is the AS2 example that resembles AS3 code.<br \/>\n<em>Example #3 is the one I always use but that code is more complex, so that will be another post. <\/em><\/p>\n<p><b>example #1<\/b><\/p>\n<div class=\"showcode\">\n<pre>import flash.events.MouseEvent;\r\n\r\nreload_mc.buttonMode = true; \/\/ show hand icon when mouse is over the movie clip\r\nreload_mc.addEventListener (MouseEvent.CLICK, reloadListener);\r\n\r\nfunction reloadListener ($event:MouseEvent) {\r\n\ttrace ('onRelease AS3::reload button')\r\n}\r\n<\/pre>\n<\/div>\n<p><\/p>\n<div class='highlight'>\n<a href=\"http:\/\/www.brendandawes.com\/\">Brendan Dawes<\/a> created files that helped me a lot: <a href=\"http:\/\/www.brendandawes.com\/news\/as3-for-lazy-bastards-like-me\">as3 for lazy bastards like me<\/a>.<br \/>\nI will probably write about the same subjects as he did in his files&#8230; But people who travel trough AS3 land will probably meet the same problems&#8230;<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Last year I started working with AS3, and after having some startup problems, I&#8217;ve made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2&#8230; \ud83d\ude41 That AS2 is embedded deep [&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,172,3],"tags":[68,39,97,408,398,114,168],"class_list":["post-376","post","type-post","status-publish","format-standard","hentry","category-as3","category-as3-migration","category-flash","tag-actionscript","tag-as2","tag-as2-to-as3","tag-as3","tag-flash","tag-from-as2-to-as3","tag-migration"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Last year I started working with AS3, and after having some startup problems, I&#039;ve made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep\" \/>\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\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\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=\"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]\" \/>\n\t\t<meta property=\"og:description\" content=\"Last year I started working with AS3, and after having some startup problems, I&#039;ve made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-01-03T12:40:40+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-05-10T22:33:08+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Last year I started working with AS3, and after having some startup problems, I&#039;ve made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep\" \/>\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\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#article\",\"name\":\"From AS2 to AS3 \\u2013 Where did it go \\u2013 onRelease | [mck]\",\"headline\":\"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease\",\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"},\"datePublished\":\"2008-01-03T13:40:40+01:00\",\"dateModified\":\"2008-05-10T23:33:08+01:00\",\"inLanguage\":\"en-US\",\"commentCount\":5,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#webpage\"},\"articleSection\":\"AS3, AS3 migration, Flash, Actionscript, AS2, AS2 to AS3, AS3, Flash, from AS2 to AS3, migration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#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\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#listItem\",\"name\":\"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"name\":\"Flash\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#listItem\",\"position\":4,\"name\":\"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease\",\"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\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#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\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#webpage\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/\",\"name\":\"From AS2 to AS3 \\u2013 Where did it go \\u2013 onRelease | [mck]\",\"description\":\"Last year I started working with AS3, and after having some startup problems, I've made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2008\\\/01\\\/03\\\/from-as2-to-as3-where-did-it-go-onrelease\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2008-01-03T13:40:40+01:00\",\"dateModified\":\"2008-05-10T23:33:08+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":"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]","description":"Last year I started working with AS3, and after having some startup problems, I've made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep","canonical_url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#article","name":"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]","headline":"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease","author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"},"datePublished":"2008-01-03T13:40:40+01:00","dateModified":"2008-05-10T23:33:08+01:00","inLanguage":"en-US","commentCount":5,"mainEntityOfPage":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#webpage"},"isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#webpage"},"articleSection":"AS3, AS3 migration, Flash, Actionscript, AS2, AS2 to AS3, AS3, Flash, from AS2 to AS3, migration"},{"@type":"BreadcrumbList","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#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\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#listItem","name":"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","name":"Flash"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#listItem","position":4,"name":"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease","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\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#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\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#webpage","url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/","name":"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]","description":"Last year I started working with AS3, and after having some startup problems, I've made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/#breadcrumblist"},"author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"datePublished":"2008-01-03T13:40:40+01:00","dateModified":"2008-05-10T23:33:08+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":"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]","og:description":"Last year I started working with AS3, and after having some startup problems, I've made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep","og:url":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/","article:published_time":"2008-01-03T12:40:40+00:00","article:modified_time":"2008-05-10T22:33:08+00:00","twitter:card":"summary_large_image","twitter:title":"From AS2 to AS3 \u2013 Where did it go \u2013 onRelease | [mck]","twitter:description":"Last year I started working with AS3, and after having some startup problems, I've made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2... :( That AS2 is embedded deep"},"aioseo_meta_data":{"post_id":"376","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:02:55","updated":"2025-06-04 08:40:23","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":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\tFrom AS2 to AS3 \u2013 Where did it go \u2013 onRelease\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":"From AS2 to AS3 &#8211; Where did it go &#8211; onRelease","link":"https:\/\/www.matthijskamstra.nl\/blog\/2008\/01\/03\/from-as2-to-as3-where-did-it-go-onrelease\/"}],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/376","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=376"}],"version-history":[{"count":0,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}