User login

Test Code

This is a test if the code will look allright

AS3

  1. public function fire(t :Tower) :void
  2. {
  3.     try {
  4.         var c :Creep  = this.obtainTarget(t.x, t.y, t.getRange());
  5.         var b :Bullet = t.getNewBullet(c);
  6.  
  7.         this.bullets.push(b);
  8.         this.bulletMC.addChild(b);
  9.     } catch (e :Error) {
  10.         // Do nothing, since we have no targets in range
  11.     }
  12. }

  1. Option Explicit
  2.  
  3. Private Declare Function SendMessage Lib "user32" _
  4.     Alias "SendMessageA" ( _
  5.     ByVal hwnd As Long, _
  6.     ByVal wMsg As Long, _

Layout for the website

I have begun making a drupal template for this site. The template is a tableless css based theme. It uses perm width and perm height, which is pretty unusual. I prefer this method because it enables med to make it look like a real treasuremap.

Right now i am working om custom scroll bars that will be javascript based so they are crossbrowser compatible. It is of big importance to me that the page will display equally nice in IE and Firefox.

I am also placing custom content boxes in the divs and i am woking on a special dhtml menu for the page.

Drupal based playground up and running

This page is meant to be a playground and memory of mine. It will contain anything from blog content to tutorials about flash, actionscript and photoshop. I will make a flash game gallery in time with the best flash games i have played on the web.