Press "Enter" to skip to content

Posts published in October 2009

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, 360, 3, true); [/code]

Cube Desktop on Ubuntu

Alright, so I run Ubuntu 7.10 and use the Desktop Effects via compviz, anyhow, I could get the 2d workspace but really wanted the 3d cube, even if I set up 4 desktops, it would still only show 2 sides of the cube(aka not a cube). The solution is: In…

Animate with Actionscript [part1]

[code lang=”actionscript”] // Created by Andrew Odendaal // // :: DESCRIPTION :: // Animate a ball moving to the top // of the screen/stage and back again // // :: HOW TO USE :: // create a circle shape, convert to a movieclip(mc) and // place the registration point at…

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

Kill Adobe Updater

So adobe updater keeps doing updates eventhough you’ve said ‘NEVER DO IT AGAIN!!!’. The fix is to physically remove the dir with the info in. On a windows system go to ‘c:\program files\common files\adobe\’, there is a nasty little folder called UPDATER5 in there that you can DELETE! PROBLEM SOLVED…

how to load xml into flash using actionscript 2

Create an xml object: [code lang=”actionscript”]var myXmlObject = new XML();[/code] Perform action when xml file has been loaded: [code lang=”actionscript”]myXmlObject.onLoad = function(success) { if (success) trace(“XML File has been read.”); }[/code] Load the xml file into the object: [code lang=”actionscript”]myXmlObject.load(“myXmlFile.xml”);[/code]

TypeError: node is null message=node is null

The following error message occurs in Firefox 3 when using Firebug. TypeError: node is null message=node is null The error can be tracked back to script tags being in the head of the document instead of where they’re needed, an example would be with the ShareThis control/component that is often…

Cant start your browser?

Cant start your browser? Try checking if any torrent apps are running.. Close them and retry.

Modify pages in a browser window

goto a url of your choice. enter the following into your address bar: javascript:document.body.contentEditable=”true”; document.designMode=”on”; void 0 Now you can edit the page.