
{"id":720,"date":"2009-01-21T09:00:07","date_gmt":"2009-01-21T08:00:07","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=720"},"modified":"2009-01-13T23:21:37","modified_gmt":"2009-01-13T22:21:37","slug":"from-as2-to-as3-where-did-it-go-random","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/","title":{"rendered":"From AS2 to AS3 &#8211; Where did it go &#8211; random"},"content":{"rendered":"<p>This is one that I figured out pretty quick.<\/p>\n<p>What has the <a href=\"http:\/\/livedocs.adobe.com\/flex\/2\/langref\/migration.html\">ActionScript 2.0 Migration<\/a> to say about this subject:<\/p>\n<table width='95%' border=\"1\" cellpadding=\"0\" cellspacing=\"0\">\n<tr style='background-color:silver'>\n<td><strong>ActionScript&nbsp;2.0&nbsp;<\/strong><\/td>\n<td><strong>ActionScript&nbsp;3.0&nbsp;<\/strong><\/td>\n<td><strong>Comments<\/strong><\/td>\n<\/tr>\n<tr style='background-color:#F5F5F5'>\n<td>random()<\/td>\n<td>Math.random()<\/td>\n<td>Removed. Use Math.random() instead.<\/td>\n<\/tr>\n<\/table>\n<p>I could have seen that coming:<\/p>\n<blockquote><p>Deprecated since Flash Player 5. This function was deprecated in favor of Math.random().<br \/>\nReturns a random integer between 0 and one less than the integer specified in the value parameter.\n<\/p><\/blockquote>\n<p><em>Source: as2 help documentation.<\/em><\/p>\n<p>I was still using it a in Flash 6 and higher, but now I have to change that habit.<\/p>\n<p>And now we come to an annoying point: if you go to the as3 help documentation you only get an explanation but not a nice piece of example code. I don&#8217;t know why they changed that, but I don&#8217;t like it.<\/p>\n<p>So this is the explanation from the as3 help for Math.random()<\/p>\n<blockquote><p>Returns a pseudo-random number n, where 0 <= n < 1. The number returned is calculated in an undisclosed manner, and pseudo-random because the calculation inevitably contains some element of non-randomness. <\/p><\/blockquote>\n<p>with some example code from as2 (functionality isn&#8217;t changed)<\/p>\n<p>[as]<br \/>\n\/\/ The following example outputs 100 random integers between 4 and 11 (inclusively):<br \/>\nfunction randRange(min:Number, max:Number):Number {<br \/>\n    var randomNum:Number = Math.floor(Math.random() * (max &#8211; min + 1)) + min;<br \/>\n    return randomNum;<br \/>\n}<br \/>\nfor (var i = 0; i < 100; i++) {\n    var n:Number = randRange(4, 11)\n    trace(n);\n}\n[\/as]\n\nthe way I using it was somewhat simpler then the example\n\n\n<h3>AS 2<\/h3>\n<p>There are a couple of ways to do that in ActionScript 2:<\/p>\n<p><strong>Example #1<\/strong><br \/>\n[as]random(10)+1; \/\/ to get a number between 1 and 10 (1 and 10 included)[\/as]<\/p>\n<h3>AS 3<\/h3>\n<p>Lets try this in ActionScript 3:<\/p>\n<p><strong>Example #1<\/strong><br \/>\n[as]Math.floor(Math.random()*10)+1; \/\/ to get a number between 1 and 10 (1 and 10 included)[\/as]<\/p>\n<p>Just make a snippet out of it, and you have never to search for this answer&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript&nbsp;2.0&nbsp; ActionScript&nbsp;3.0&nbsp; Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and [&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,229,398,114,168,242],"class_list":["post-720","post","type-post","status-publish","format-standard","hentry","category-as3","category-as3-migration","category-flash","tag-actionscript","tag-as2","tag-as2-to-as3","tag-documentation","tag-flash","tag-from-as2-to-as3","tag-migration","tag-pseudo-random-number"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and\" \/>\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\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/\" \/>\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 random | [mck]\" \/>\n\t\t<meta property=\"og:description\" content=\"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-01-21T08:00:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-01-13T22:21:37+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 random | [mck]\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and\" \/>\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\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#article\",\"name\":\"From AS2 to AS3 \\u2013 Where did it go \\u2013 random | [mck]\",\"headline\":\"From AS2 to AS3 &#8211; Where did it go &#8211; random\",\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#organization\"},\"datePublished\":\"2009-01-21T09:00:07+01:00\",\"dateModified\":\"2009-01-13T23:21:37+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#webpage\"},\"articleSection\":\"AS3, AS3 migration, Flash, Actionscript, AS2, AS2 to AS3, documentation, Flash, from AS2 to AS3, migration, pseudo random number\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#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\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#listItem\",\"name\":\"From AS2 to AS3 &#8211; Where did it go &#8211; random\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/category\\\/flash\\\/#listItem\",\"name\":\"Flash\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#listItem\",\"position\":4,\"name\":\"From AS2 to AS3 &#8211; Where did it go &#8211; random\",\"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\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#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\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#webpage\",\"url\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/\",\"name\":\"From AS2 to AS3 \\u2013 Where did it go \\u2013 random | [mck]\",\"description\":\"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/2009\\\/01\\\/21\\\/from-as2-to-as3-where-did-it-go-random\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.matthijskamstra.nl\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2009-01-21T09:00:07+01:00\",\"dateModified\":\"2009-01-13T23:21:37+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 random | [mck]","description":"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and","canonical_url":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#article","name":"From AS2 to AS3 \u2013 Where did it go \u2013 random | [mck]","headline":"From AS2 to AS3 &#8211; Where did it go &#8211; random","author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#organization"},"datePublished":"2009-01-21T09:00:07+01:00","dateModified":"2009-01-13T23:21:37+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#webpage"},"isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#webpage"},"articleSection":"AS3, AS3 migration, Flash, Actionscript, AS2, AS2 to AS3, documentation, Flash, from AS2 to AS3, migration, pseudo random number"},{"@type":"BreadcrumbList","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#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\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#listItem","name":"From AS2 to AS3 &#8211; Where did it go &#8211; random"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/category\/flash\/#listItem","name":"Flash"}},{"@type":"ListItem","@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#listItem","position":4,"name":"From AS2 to AS3 &#8211; Where did it go &#8211; random","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\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#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\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#webpage","url":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/","name":"From AS2 to AS3 \u2013 Where did it go \u2013 random | [mck]","description":"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/#breadcrumblist"},"author":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.matthijskamstra.nl\/blog\/author\/admin\/#author"},"datePublished":"2009-01-21T09:00:07+01:00","dateModified":"2009-01-13T23:21:37+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 random | [mck]","og:description":"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and","og:url":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/","article:published_time":"2009-01-21T08:00:07+00:00","article:modified_time":"2009-01-13T22:21:37+00:00","twitter:card":"summary_large_image","twitter:title":"From AS2 to AS3 \u2013 Where did it go \u2013 random | [mck]","twitter:description":"This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0 ActionScript 3.0 Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and"},"aioseo_meta_data":{"post_id":"720","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 08:59:30","updated":"2025-06-04 09:24:32","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 random\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; random","link":"https:\/\/www.matthijskamstra.nl\/blog\/2009\/01\/21\/from-as2-to-as3-where-did-it-go-random\/"}],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/720","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=720"}],"version-history":[{"count":3,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/720\/revisions"}],"predecessor-version":[{"id":791,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/720\/revisions\/791"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}