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]

By Andrew Odendaal, ago

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 Read more…

By Andrew Odendaal, ago

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 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

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 Read more…

By Andrew Odendaal, ago

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]

By Andrew Odendaal, ago