One of the ideas when setting up the new server was to use subversion for all my flash/flex projects. Since Flex is built on the very versatile platform Eclipse you have a lot of freedom. The idea with this post is that I will share my experience from setting it up and maybe someone else will find this helpful when doing the same thing. It will be a very basic setup without ssl and vhost. The server So first off I'm going t [...]
Sometimes you want to know what dimensions a png file is without loading the entire file. The problem is to get the metadata from an image in as3 you will have to load the entire file. How can we solve this problem? First of all we have to ask ourselves; where is the metadata situated? It's situated in the png files' header. But to access the header we need to download the file, right? The answer is no. With the URLStream c [...]
I got my hands on a fairly old computer today which I thought would be perfect to use as a server. The machine has: 1 Ghz CPU 512 MB RAM 123 GB HDD Which is going to be more than enough to run a Linux server on. I'm really looking forward to having my own development server and setting it all up. This is a great oppurtunity to continue learning to use linux. I started using Linux 6 months ago, just for [...]
Something which you most definately have encountered while programming as3 is passing variables to event callback functions. So how would you solve this? You would probably set a private variable with the variable you want to access in the callback function and then you just access it when the event is dispatched. This approach is not really good practise in my opinion. You will clog your class with variables pretty fast. L [...]