notboring dev blog

flex, flash, javascript, videos, games, iphone


Archive for the ‘Actionscript’ Category

Enabling directory file listing for a specific directory on Apache webservers using htaccess

By default file listing is deactivated – for a good reason – and that reason is security so please don’t change the default settings. It’s not required to change the apache settings. You can usually enable the file listing for specific directories using the .htaccess files. Here an example of how to do it using [...]

No Comments

The official list of android devices with flash support

When handling support requests for some of the Market Apps that I developed I sometimes received the question if an app runs on one device or another. Since most of my apps are designed to run with a minimum of resources it’s enough to know if that device runs Flash or not. Until lately searching [...]

1 Comment

Avoid browser caching with Flash/Flash builder with the random number trick

A simple way to avoid caching of static files that get replaced sometimes is by appending a ?r=randomNumber to the filename. For webservers everything behind the ? are dynamic parameters using the format variable1=value1&variable2=value2… and so on. As long as you don’t handle those parameters in your scripts they get ignored by the server. The [...]

No Comments

Using Local Shared Object (Flash Cookies) to display different content depending on if it’s the first visit or not

A friend asked for some help with displaying content only on the first visit of a site. This is the example I wrote for him: // request the flash cookie/local shared object with the name “someCookieId” var myFlashCookie:SharedObject = SharedObject.getLocal(“someCookieId”); // check if the field “isFirstStart” is set if(myFlashCookie.data["isFirstStart"]==undefined){ // the field “isFirstStart” is not [...]

No Comments

How to make Firefox 4 remember your open tabs

One of the main annoyances for power users is Firefox 4′s changed behaviour on close/restart. While the old version showed a warning, giving the user to save the state of his open tabs the new version just closes and is empty on restart. To get back your old tab states you can use Firefox -> [...]

10 Comments

Fixing iTunes backup/sync problems after installing XCode 4

Since Apple screwed up the XCode 4 device driver installation you won’t be able to do a backup/sync using iTunes anymore. Luckily there’s a guide on how to fix this: http://support.apple.com/kb/HT1747?viewlocale=en_US

No Comments

Can you use a CC-BY-SA song/image in your commercial project?

Short answer: No. Long answer: SA has the meaning “Share Alike” which means you need to publish your derived title under the same license as the song/image that you use. While it seems obvious at first that a full game/website/whatever isn’t derived from a single song/image, legally it is. So what does that mean? It [...]

4 Comments

Upgrading debian 4/plesk 8.4 to debian 5/9.5

A few tipps if you are forced to do that upgrade, for example because you are using a hosting provider like server4you that didnt update their virtual server images for over two years. Basically you patch up your debian 4 to the latest version using the debian archive servers, add the archive server pubkeys, then [...]

6 Comments

Photoshop, Windows 7 and the annoying internal error 2739

Same issue as under vista. What all the great fixing tutorials fail to tell you is that you need to register your DLL in another directory for the x64 verison. 1. press windows key, enter cmd into the text field, wait for cmd to come up, right click it and select “run as admin” 2. [...]

1 Comment

Great XML Editor/Viewer – Also for bigger files

Been looking for a new XML editor/viewer for some time since i was unhappy with the performance with bigger files on my old one. The one I ended up with is XML Marker, a free download from http://symbolclick.com/. It offers fast handling of bigger files, 3 different views – Nodes, Source and a table view [...]

No Comments
Rss Feeds