16000 Limit!

Today I discovered that Flash truly has a limit! 16,000 frames: Exceeding this limit causes the movie playback to stop. While this limit is rarely reached by most developers, it is possible. If your movie must have more than this Read more…

By Andrew Odendaal, ago

htaccess ErrorDocument

Create a file called .htaccess in the root of your public_html/htdocs of your domain. Inside add the following text: [code lang=”c”] Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on ErrorDocument 404 /index.php ErrorDocument 301 /index.php [/code] Read more…

By Andrew Odendaal, ago

How to correctly form HTML

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> <script type=”text/javascript” src=”javascript/javascriptfilename.js”></script> <title>Title goes here</title> <link href=”stylesheetname.css” rel=”stylesheet” type=”text/css” /> </head> <body> Read more…

By Andrew Odendaal, ago

Flash Tweening

tween is an actionscript class and can be used after importing the core files. [code lang=”actionscript”] import mx.transitions.Tween; import mx.transitions.easing.*; //Tween( obj:Object, prop:String, func:Function, begin:Number, finish:Number, duration:Number, useSeconds:Boolean); [/code] e.g. [code lang=”actionscript”] var myRot:Tween = new Tween(myText, “_rotation”, Elastic.easeOut, 0, Read more…

By Andrew Odendaal, ago

To Install IIS 7.0 on Windows Vista – script

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

By Andrew Odendaal, ago