{"id":476,"date":"2008-10-12T12:37:23","date_gmt":"2008-10-12T10:37:23","guid":{"rendered":"http:\/\/blog.ginchen.de\/?p=476"},"modified":"2008-12-18T12:57:05","modified_gmt":"2008-12-18T11:57:05","slug":"bilder-skalieren-in-flash","status":"publish","type":"post","link":"http:\/\/blog.ginchen.de\/en\/2008\/10\/12\/bilder-skalieren-in-flash\/","title":{"rendered":"Resizing images in Flash"},"content":{"rendered":"<p>Lately, I was working on a website which should have a neat Flash menu with funny jumping graphics. Now, they should be real bitmaps, not vectors. So when I wanted to let my images jump, whereby they should also change in size a little, I encountered a problem: The images only looked well at a size of 100%. As soon as they were being scaled however, they seemed pixelated and looked very terrible.<\/p>\r\n\r\n<p>Strangely enough, it took me quite long to find the solution on the internet. The greatest suggestions were to be found everywhere, from changing the quality settings of the Flash export through to cryptical ActionScript commands. A typical case of &#8220;not seeing the wood for the trees&#8221;, for the solution to the problem is much simpler. Nevertheless, since it seems to be so amazingly unknown, I will share my grandiose discovery with other desperate Flash-image-scalers here:<\/p>\r\n\r\n<a href=\"http:\/\/blog.ginchen.de\/wp-content\/uploads\/2008\/11\/flash_glaettung.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.ginchen.de\/wp-content\/uploads\/2008\/11\/flash_glaettung-200x121.jpg\" alt=\"Bitmap properties in Flash\" title=\"\" width=\"200\" height=\"121\" class=\"alignright size-thumbnail wp-image-515\" srcset=\"http:\/\/blog.ginchen.de\/wp-content\/uploads\/2008\/11\/flash_glaettung-200x121.jpg 200w, http:\/\/blog.ginchen.de\/wp-content\/uploads\/2008\/11\/flash_glaettung-300x182.jpg 300w, http:\/\/blog.ginchen.de\/wp-content\/uploads\/2008\/11\/flash_glaettung.jpg 459w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/a>\r\n\r\n<p>Go into the library of your Flash project and do a right click on the image that is to be scaled. Then you select &#8220;Properties&#8221; and get the dialog box that is shown on the right. There you check the box which I have skillfully marked with a red circle in a graphical masterstroke: &#8220;Allow&nbsp;smoothing&#8221;.<\/p>\r\n\r\n<p>That&#8217;s it! Now the image can be scaled without ugly square artifacts. For a best possible quality however, it is still advisable to set the JPEG quality of the Flash movie to 100%. That can be done under &#8220;File&#8221; &rarr; &#8220;Publish Settings&#8221; on the &#8220;Flash&#8221; tab.<\/p>","protected":false},"excerpt":{"rendered":"Lately, I was working on a website which should have a neat Flash menu with funny jumping graphics. Now, they should be real bitmaps, not vectors. So when I wanted to let my images jump, whereby they should also change in size a little, I encountered a problem: The images only looked well at a [&hellip;]","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[128],"tags":[130,609,129],"_links":{"self":[{"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/posts\/476"}],"collection":[{"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/comments?post=476"}],"version-history":[{"count":13,"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/posts\/476\/revisions"}],"predecessor-version":[{"id":730,"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/posts\/476\/revisions\/730"}],"wp:attachment":[{"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/media?parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/categories?post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ginchen.de\/en\/wp-json\/wp\/v2\/tags?post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}