This was something that had been bugging me for a few days.
I Had a SWF that had to load a config.txt file when it loaded, this used a relative link (eg “config.txt”). That all works fine testing in the Flash IDE, but as soon as i embeded it into a HTML doc my relative links [...]
Hello, So i finally dragged myself away from playing the Left 4 Dead demo and RA3, to bring you yet another AS3 tutorial.
Hello and welcome to another quick AS3 tutorial. As with any client-side application, eventually you’ll want to comunicate with a server, for instance to display scores and such. This is something that Flash has been able to do quite a few versions back, but some of you may not know what the AS3 equivalent is. So Here we go.
At some point in a developers life you find the need to check if a number is odd or even. Whether it be to make a staggered output (alternating row colours) or a more complicated calculation. For this purpose there is a special operator called “Modulo” (admit it, it sounds cool).
Hello again,
I’ve been playing about and discovered a neat simple code snippet to detect if the flash file has focus. By focus i mean if the user has clicked on the embedded flash on a web page.
Just a quick tutorial to go along side my AS2 version of rotation.
Recent Thoughts...