Archive for July 2008

Dynamic Events in AS3.0

Ever wondered how to send parameters with your event in AS3.0? package com.sitedaniel.events { import flash.events.Event; dynamic public class DynamicEvent extends Event { public function DynamicEvent(t:String, b:Boolean = false, c:Boolean = false){ super(t, b, c); } } } By setting this class to be dynamic (using dynamic keyword) you are able to add values to […]

Apache named-based virtual hosts

Trying to set up some subdomains on sitedaniel.com, I had some problems configuring my Apache to deal with the different incoming domains. The problem was my NameVirtualHost wasn’t defined, and all subdomains were directed to the default directory. Finding documentation on this was a little tricky as NameVirtualHost wasn’t even in my httpd.conf file. However […]

New PORTFOLIO site!!!!

I’ve just completed rebuilding my portfolio using AS3.0 and some PaperVision3D. Many of the sites I have built or worked on over the last few years are up there so hopefully this will help me drum up some more contract work. http://www.sitedaniel.com

Customising the FlashDevelop Class templates

Here’s how to update the new Class template text in FlashDevelop. Out of the box, if you hit Ctrl+1 you’ll get this: /** * … * @author Default */ class { } So that you don’t have to add in your name every time, you can edit the template here: Tools -> Application Files… Templates/ […]