Welcome to the future home of Kilometer0.com.
This site is a work in progress and may not look like much, but I'd rather spend the time working on interesting projects than design a site. I promise it'll get better though.
I believe in Open Source, so almost every project I work on will be open source.
- There is no standard way of converting an RGB value to Grayscale. However the following formula works well:
R * 0.30 + G * 0.59 + B * 0.11
- To instantiate a class when you only have the name of it as a string in ActionScrip 3.0, you can use:
var myClass:Class = flash.utils.getDefinitionByName(myLinkage) as Class;
var myVar = new myClass();
- In ASP.NET, if you are referencing a User Control, use the Register directive with the properties: tagprefix, tagname, src. If you use the namespace or assembly properties, it will compile, but the ascx will never be instantiated, only the control class. If you are using Custom Controls, then use the assembly / namespace properties.
Alex Petrescu [
Contact ]