If you use a dynamic textbox in Flash and you want to embed the British Pound symbol (£) then you will want to also embed the “Latin I” glyphs with your textfield.
If you have a movieclip that by default has the hand cursor showing on RollOver and you don’t really want this, you can disable it by doing the following:
myMC.onRollOver = function() {
this.useHandCursor=false;
}
So the main code here is: this.useHandCursor=false;
False disables it and true shows it.
Believe it or not, this one is super easy to fix!
It’s actually a temporary problem with your motherboard, all you need to do is:
turn off your computer
if it’s a desktop then unplug it from the wall/powersupply
if it’s a laptop then remove the battery
let it sit for a minute
plug it all in again
reboot
VOILA!
No need to [...]
In a flash movie I usually have a frame of actionscript that controls all elements in the file to keep everything in one place.
Sometimes I have an onPress(etc) function that refers to something happening in the scene when something is pressed, but what happens if we want another element to refer to that event for [...]
A quick and easy way would be to type the following in one line with single spaces in the Terminal.
This way of installing OpenGL and SDL libraries only applies to Ubuntu.
sudo apt-get install
nvidia-glx-new-dev
libglew1.4-dev
libsdl1.2-dev
libsdl-ttf2.0-dev
libsdl-image1.2-dev
libsdl-mixer1.2-dev
The hosts file is located at the following address:
C:\windows\system32\drivers\etc\
or
%systemroot%\system32\drivers\etc\
But you will need to open Notepad with “Run as Administrator” first and then open it through there otherwise it will give a permissions problem
I think this may be the fastest way to get a list of all the directories in a given folder/directory using PHP.
$directories = array_filter(glob(‘*’), ‘is_dir’);
..and of course you can also add a path to it if you need to:
$directories = array_filter(glob($myPath.’*’), ‘is_dir’);
You have a flash uploader and you get this error:
security error: securitySandboxError
This means that the flash is not trusted by the domain and you have to place an xml file in the root of the domain.
The file is called “crossdomain.xml” and this is what should be inside it:
<?xml version=”1.0″?>
<cross-domain-policy>
<allow-access-from domain=”*” />
</cross-domain-policy>
Solved!
I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times.
Today it happened again and so I write this post..
While in the Flash IDE you select a component on the stage, then you click “Component Inspector”.
This opens up into a modal window [...]
I have used Google Checkout to receive payments in the past and have had problems with some clients not paying and blaming it on Google Checkout that the money did not go through (like the guys over at Peartree DMS).
I decided that this account was not worth the trouble anymore and wanted to close my [...]
Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource
You have just gotten a warning when trying to check if an inserted row was successful but when calling mysql_affected_rows(mysql_query(“INSERT INTO……”)) you get a warning telling you that the supplied argument is not a valid MySQL-Link resource.
This is because mysql_query INSERT actually returns true or false [...]
You have a string and you want to capitalize the first character but have the rest of the word in lowercase.
DO THIS!
myStringVar = myStringVar.substring(0, 1).toUpperCase()+myStringVar.substring(1);
I have got an HP laptop and have started experiencing problems with it starting up for the past few months, it is only about 1.5years old and is supposed to be a decent one.
It is an HP Pavilion dv9700 by the way..
Today the damn thing just didnt want to startup and eventually after trying every [...]
Below is a very interesting article I found that proves all the myths about DirectX being better than OpenGL, a very well written paper describing it best.
Thanks for that guys at Wolfire.com!
http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-and-not-DirectX
In php there are a few magic constants and I find __FILE__ to be a very useful one.
It returns the full path and filename of the file in question.
Take a look at the PHP Manual – Magic Constants for more information on the others.
I have used Woopra for a few months now and have started seeing this warning/error almost everyday now:
Could not enable live functionality at this time. Click to reconnect.
If you click the text/warning/error it seems to go away… Anybody konw what’s really going on under the cover?
The default time for a php session is 1440 seconds.
You can change it by doing the following:
ini_set(“session.gc_maxlifetime”,1440);
You can obviously adjust the second parameter (1440) to anything you like to change the timeout limit.
There have been multiple ways to stop your user/s from right clicking on your site, but many of them now fail due to the way firefox’s contextual menu loads.
Below is an example of how to do it:
function _c(e) {if (document.all) {if (event.button==2||event.button==3) {return false;}} else {if (e.button==2||e.button==3) {e.preventDefault();e.stopPropagation();return false;}}if (e.which) {}}if (document.all){document.onmousedown=_c;}else{document.onclick=_c;document.ondblclick=_c;}
..and here is the [...]
I often seem to have this issue when dealing with Microsoft software.
You click “Cancel” and it just carrys on going, so you click it again a few more times and instead of it just stopping in it’s tracks, decides to rather tell you it’s cancelling and then shows a cancelling dialog box for the next [...]
If you have ever tried to place a div or similar HTML element on top of a swf flash object you will know that it always tries to take precedence.
You will need to do the following:
In the code for the flash add:
<param name=”wmode” value=”transparent”>
and in the embed area add:
wmode=”transparent”
If you are using SWFObject to insert [...]
$myPath = realpath(dirname(__FILE__));
or
$myPath = getcwd();
If you want to position the flas top/left and not have it scale when you resize it’s bounding box window, you can set the following code.
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
For full documentation from Adobe take a look here.
So you received an error 406 while trying to upload a file and you have no idea to fix it!
Create a “.htaccess” file in the root of your local website and add the following into it:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]“ nsresult: “0×80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.js :: FP_onStartRequest :: line 1440″ data: no]
file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.js
Line 1440
So what the heck does that all mean?
Basically, there is an exception error on like 1440 of the local Firefox javascript file “FeedProcessor.js”.
The line in question is as follows:
channel.contentType = “application/vnd.mozilla.maybe.feed”;
The whole [...]
Ok, this is an interesting one!
Internet Speeds and Costs Around the World – Top 20 Nations in ITIF Broadband Rankings
Click to open a larger image
The URL Shortener Service has been updated to correct some HTTP Headers problems that users were experiencing.
Havn’t heard of Surl yet? Try it out now, it’s 100% FREE!
I used to use Mozilla Thunderbird to handle my pop emails accounts and then I started experiencing performance problems when doing almost anything. My email inbox contains a good few thousand items at any given time.
I decided to change to Microsoft Outlook 2007 as I had used a previous version in the past and it [...]
Call of Duty: Modern Warfare 2 is a new game released on 10 November 2009 by the guys at Infinity Ward.
A first person shooter type game that got me going right from the beginning.
I have started my addiction to COD:MW2 using a brandnew PS3 that my fiancé got me for xmas and am quite unable [...]
The year is 2010 and it’s a NEW YEAR! So a Happy New Year to everybody!
This year is going to be a very interesting one filled with lots of joy and excitment!
Time to take down all those xmas trees and start working again……
SELECT * FROM tablename WHERE `active`=’1′ AND `id` IN (‘107′ , ‘125′ ) ORDER BY `id` DESC LIMIT 12
This script works in all browsers, including Internet Explorer!
if (strstr($_SERVER['HTTP_USER_AGENT'],”MSIE”)) {
header(“Pragma: public”);
header(“Expires: 0″);
header(“Cache-Control: must-revalidate, post-check=0, pre-check=0″);
header(“Cache-Control: private”,false);
header(“Content-Type: application-download”);
header(“Content-Disposition: attachment; filename=\””.basename($filename).”\”;”);
header(“Content-Transfer-Encoding: binary”);
header(“Content-Length: “.@filesize($ab_file));
set_time_limit(0);
} else {
header(“Content-type: application-download”);
header(“Content-Length: “.filesize($ab_file));
header(“Content-Disposition attachment; filename=”.$filename);
}
readfile($ab_file);
After creating a onRelease handler in Actionscript 2 as follows:
myMovieClip.onRelease = function() { doWhatever(); }
..you then want to remove the handler for whatever reason, you can remove it like this:
delete myMovieClip.onRelease;

Hello everybody!
I have put up my “work xmas tree” on my external harddrive at work.
It is a little USB powered Xmas Tree that changes colour every few seconds!
You like?
function shortText($text, $length){
if( strlen($text) > $length ) return substr(preg_replace(‘/(<\/?)(\w+)([^>]*>)/’, ”, $text), 0, $length).”…”;
return preg_replace(‘/(<\/?)(\w+)([^>]*>)/’, ”, $text);
}
www.andrewodendaal.com/ak/ ran a webscan today returning results of online sites and has retrieved a list of a few thousand items every half hour.
The test will run until a softcap is reached at 52K.
After some recent posts to this site, my fiancé recognised the content as something she had talked to me about and asked me lastnight if I had taken the topics from her.
This is actually a high possibility and this post is to tell everyone that Hayley – my most beautiful fiancé – has all credits [...]
$lines = file(‘all-words.txt’);
foreach ($lines as $line_num => $line) {
echo “Line number “.$line_num;
}
Start writing content to your blogs from your Windows Desktop now.
No need to login to your wordpress backend to post items anymore, there is now a decent desktop application that allows you to do exactly that!
I have looked at it before but not until recently when Beta2 came out did I gain more interest for [...]
Traffic Rush
Traffic safety is at your fingertips as RUSH HOUR is approaching.
Strategically stop and accelerate rushing vehicles that are crossing the intersection!
Sounds easy? Well, wait until you’ve tried!
I downloaded a game to my iPhone called Traffic Rush by the people at Donut Games, how terribly addictive! I got into it immediately and absolutely LOVE playing [...]
You can now use pagination when viewing ChronicDistraction.com.
This is a new improvement to allow you easier browsing while using the site.
For any other improvements you may have. You can contact ChronicDistraction.com developers by posting on the site.
Nice to see the update!
You can view your gmail accounts by going to FreeMailManager.

What the heck is that?
So you’ve just visited a website using Mozilla Firefox and this message has popped up telling you that the site looks suspicious.
Usually the site has been marked as a possible virus containing website and Firefox will show you this message attempting to protect itself against Malware, Spyware or other forms of [...]
Actual Display Colour
HEX Colour
#000000
#FF0000
#00FF00
#0000FF
#FFFF00
#00FFFF
#FF00FF
#C0C0C0
#FFFFFF
Ever find yourself typing the headers into the php mail() function over and over again?
Try using a standard function and calling it when you need to send mail.
function sendEmail($subject,$content,$from,$to){
$header = “Content-Type: text/html; charset=iso-8859-1\nFrom:$from”;
if( mail($to, $subject, $content, $header) );
}
I don’t understand why everyone is still so “in-to” all these social networking sites.
Surely you have better things to be doing than updating everyone on your exact whereabouts and every second doings.
Do all your friends/aquantances all need to know that you popped down to the shop? Or that you enjoyed that second thing on the [...]
I came across a very interesting article about mySQL Development Tools.
http://www.smashingmagazine.com/2009/03/25/mysql-admin-and-development-tools-round-up/
Need a way to share URLs online, but perhaps the URLs are too long?
Have you tried a URL Shortening Service?
Check it out right now! Go to surl.andz.co.uk
I always seem to catch neobux.com with a message like this!
Either they are down quite often or I am the one person that keeps seeing the message.
Neobux is a PTC (Payed To Click) scheme where you earn money to while clicking on adverts everyday.
You can join for free and start earning today by signing up [...]

I use Outlook for email and because of that I ended up using the Tasks feature which turns out to be pretty damn useful.
It is called the To-Do Bar and if you don’t immediately see it you can open it by clicking on View->To-Do Bar. Select “Normal” and make sure the “Task List” is checked [...]
What’s with retards online that add “lol” to everything they say?
Do they not know how to talk properly?
Are they social outcasts that are identified by their inability to converse with people who can speak the English language?
Examples of rediculous timed “lol”s:
“We’ll be there at 6PM lol”
How was that funny? Did that really make you laugh [...]
SixRevisions goes through a few clever company logos.
Check it out here.
Oh, I love it!
http://theoatmeal.com/comics/design_hell
Anybody have any suggestions to how to stop this from happening?
Hello all actionscripters, you can’t use getURL anymore in Actionscript 3.
Below is how you should now start doing it:
var request:URLRequest = new URLRequest(“http://blog.andrewodendaal.com/”);
try { navigateToURL(request, ‘_blank’);}
catch (e:Error) { trace(“Error occurred!”);}
The stats section in the Control Panel for registered users has been worked on quite a bit more than it was and some focus has been given to IP tracking and filtering.
There are still a million features to come so stay tuned!
Anyone up for an online Flash IDE?
Take a look at this:
http://antimatter15.com/ajaxanimator/build/
Nice work!
The problem:
While working on a Papervision3D Flash Project I had a problem where a back button that sits above the 3d canvas and acts as a main navigational item was required to change Events according to where the site was in 3d space at the time.
The solution:
Everytime I’m about to add a new EventListener to [...]
I often have issues where ‘dumb browsers’ cache my published swf files and when they dynamically populate they don’t always update.
This is SUPER annoying and I have found a solution.
I will demonstrate the technique with a LoadsVars example
var nc = Math.floor(random(1000000) / random(1000));
var send_lv:LoadVars = new LoadVars();
send_lv.sendAndLoad(_root.siteURL+”profile.php?action=showallimages&nc=”+nc, result_lv, “POST”);
So let me describe what is happening [...]
It’s a really strange thing. Most phones can charge while they are turned off and for a while I thought the iPhone couldn’t because it never gave that impression
So I tried plugging it in to charge and then holding down the power-off button until the red slider appeared. I then dragged the slider [...]
I personally really like this way of clearing an array’s elements:
Declare your array to use:
var myArray:Array=new Array();
Add elements:
for (var i:Number;i<10;i++) {
myArray[i] = “an item”;
}
Clear the array:
myArray.length = 0;
I was reading the Metro London Newspaper today and came across an article entitled “cave dwelling brothers in line to inherit billions”, so as anyone would, I read on.
It turns out that there were 2 brothers living homelessly in caves in Hungary while their only sister was in the US. In the meantime their mother [...]
The first of December and it only feels like it’s February!
This year has really flown by quicker than the last!
I’m quite excited that it is already December, as there are a lot of really interesting things that are coming my/your way over the course of the next few months – but you will have to [...]
I came across this site today: http://www.adidas.com/campaigns/adidasdfb/content/locale/com/?strcountry_adidascom=uk
It is a game made and run on the adidas site..
Play it, it’s quite cool. Nice flash site to whoever made it!
Ever needed to change the font size of a standard flash combobox component?
You will need to give it an instance name e.g. “myCombobox” and then add the following code:
myCombobox.setStyle(“fontSize”, 10);
Today as I was driving to work along the London roads I looked in my rearview mirror to see a bus in the buslane stop a few metres behind me.
There was a car with it’s left wheels in the buslane. A few minutes before seeing this I had seen 2 police women standing at a [...]
Ever used a <PRE> in a limited width div container? You will notice that the line gets cut off almost as if wordwrap was not enabled.
To correct this you can add the following code into your CSS file.
pre{
white-space: pre-wrap; /* CSS2.1 compliant */
white-space: -moz-pre-wrap; /* Mozilla-based browsers */
[...]
Hello all!
Today we will be talking about Barclays online payment gateway valled ePDQ.
You can take a look at what they have got to say by clicking here to view Barclays’ site or you could keep reading
Well, for all you php guys out there, this post if for you!
Barclays ePDQ encrypts your data string of [...]
I came across a programming language today that I have never heard of. Go take a look over here:
http://en.wikipedia.org/wiki/Brainfuck
So you have now placed a swf file into your html page and you want to be able to see through it.
Lucky for you, this is a very easy thing to do!
The following code does the trick:
<object type=’application/x-shockwave-flash’ data=’flash/home_side_left.swf’ width=’40px’ height=’550px’>
<param name=’movie’ value=’flash/home_side_left.swf’ />
<param name=’bgcolor’ value=’#ffffff’>
[...]
If any of you are good at Javascript and PHP then you should check out this site, they are just starting out and it seems to be a project that would be nice to have.
Go take a look at devapi.net, signup before January and get a FREE DevAPI Account!
Anybody here used or heard of Neobux?
For those of you that don’t know, it is a PTC (Paid To Click) website where you get paid to click on advert links and watch a specific page for 60 seconds.
Click the image above to see what Neobux is all about!
Signup for free today! Click here!

I just hate it how everything always wants to update… and then restart all the damn time!
First things first:
This pops up telling me it’s doing a 309.6MB Adobe Reader Update! Which to me is just crazy… Surely the constant updates shouldn’t be a million times larger than the actual initial install file for the application?
I [...]
A very interesting project I found this morning, take a look at this one!
http://synergy2.sourceforge.net/
So what the heck kind of file starts with the characters “CWS>+” ?
That would be a flash swf file!
My brother got sent an email the other day and was as follows:
[Windows Live Logo, Gmail Logo, Yahoo Logo]
Yahoo Awards Center
From The Desk Of The Promotions Manager
International Promotions/Yahoo Award Center
124 Stockport Road, Long sight,
Manchester M60 2DB – United Kingdom
This is to inform you that you have won a prize [...]
Error: “1046: Type was not found or was not a compile-time constant: InteractiveScene3DEvent.”
I got this this morning when I opened up a project I have been working on. I was using the Flash IDE to compile and FlashDevelop to code in as I am not the biggest fan of the Flash IDE for coding in….. [...]
So what the heck is “azupnpav_0.2.23.zip”? It appears to be a plugin for Vuze(Azureus) the torrent client.
Filesize: 198.1 kB
I was having a problem with a Paypal form that wasn’t returning customers so after some Google-ing I went to paypal’s help site found a Chat Feature to speak to a real person.
It turned out to be a chat bot and I had quite a mission asking it anything at all!
I asked it:
Me: how do [...]
Today I tried to save arabic text inside a javascript file and on saving encountered a dialog box asking me to first convert the document to UTF8.
Why it didnt just do it for me I’ll never know, so I had to do it myself.
If you encounter this then do the following to convert the document:
Click [...]
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 number of frames,try creating multiple movies with fewer than 16,000 frames each and then linking the [...]
Create a file called .htaccess in the root of your public_html/htdocs of your domain.
Inside add the following text:
Options +FollowSymLinks
AddDefaultCharset UTF-8
RewriteEngine on
Options +FollowSymLinks
AddDefaultCharset UTF-8
RewriteEngine on
ErrorDocument 404 /index.php
ErrorDocument 301 /index.php
With the index.php files being the pages that get redirected to.
<!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>
Page content goes here
</body>
</html>
Ever wondered how to get variables from an html page to a flash element?
Well, it’s quite easy using the following actionscript 2 example:
I use javascript to embed my flash elements:
<embed src=”somefilename.swf?varname=varvalue&vartwo=var2value” width=”550″ height=”400″></embed>
Now in Flash I can just call:
_root.varname and it will give us `varvalue`
_root.vartwo will give us `var2value`
Wasn’t that easy?
tween is an actionscript class and can be used after importing the core files.
import mx.transitions.Tween;
import mx.transitions.easing.*;
//Tween( obj:Object, prop:String, func:Function, begin:Number, finish:Number, duration:Number, useSeconds:Boolean);
e.g.
var myRot:Tween = new Tween(myText, “_rotation”, Elastic.easeOut, 0, 360, 3, true);
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 Terminal do: gconftool-2 –type int –set [...]
// 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 the bottom center.
// give the circle mc an stage instance name of ‘ball’.
var ball:MovieClip;
var initBallY:Number [...]
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
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
Tried to start EasyPHP: “Apache Cannot be Run. Another web server is using the web port or port is blocked by firewall.”
I was running Skype! And it was blocking the using the port.
Check in options->advanced->connection for the setting on port 80.
Another way to stop this from happening and solve the problem quicker is to go [...]
Create an xml object:
var myXmlObject = new XML();
Perform action when xml file has been loaded:
myXmlObject.onLoad = function(success) { if (success) trace(“XML File has been read.”); }
Load the xml file into the object:
myXmlObject.load(“myXmlFile.xml”);
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 added to blogs and etc.
Cant start your browser?
Try checking if any torrent apps are running.. Close them and retry.
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.
When PHP encounters a class that hasn’t been defined yet, you can use __autoload to iautomatically add them instead of including masses of included at the top of your files.
e.g.
function __autoload($class_name) {
require_once $class_name . ‘.php’;
}
I find myself constantly fighting the microsoft battle of making things work in their browsers (thanks guys).
On one of my machines I have Vista installed and needed to test a newly created site that apparently had some issues under Internet Explorer 6.
HOWEVER, to my horror IE6 was unable to run on Vista. Once again, thanks [...]
Yes, it’s called a Guillotine-Bug and it’s yet another bug IE users get to look forward too
So how does it work?
Basically, the hasLayout messes around and elements become invisible and visible according to random things. Rather silly, but a bit of a bitch to initially figure out.
So how do you fix it?
Try this:
in [...]
If you ever find yourself needing to do some ajax and in turn sending strings of characters via javascript then you should really try encodeURIComponent() to wrap your strings in. The function escape() can also be used, but I would not recommend it as encodeURIComponent() is better, it also escapes your usual ampersand ajax limiters [...]
Download Miranda here (www.miranda-im.org/download/)
Right click Grey-Man icon in system tray(near clock, bottom right)
Click MainMenu->Options and then select Jabber in the list and enter as follows:
username: FirstPartOfYourEmailBeforeThe@
password: whatever it is
SAVE PASSWORD(checked)
Priority : 5
Resource: Miranda
login server: gmail.com
port: 5223
USE SSL (checked)
Manually specifiy connection host (checked)
host: talk.google.com
Port: 5223
Keep Connection Alive(checked)
and thats it
should work then
Gmail produces the following error/warning in firebug.
Eb is not defined
function Bb(a){if(a[sb]&&a[sb](daa)){var…ents)};f.x2b=c;f.B2b=b;f.y2b=a;return f}
I initially started seeing this while while on clients’ websites, but can now say it’s a gmail thing. So don’t stress..
.thediv {
opacity:.80;
filter:alpha(opacity=80);
-moz-opacity:.80;
}
I had quite a few problems adding the htmlCode button to a fairly old copy of TinyMCE (I think around version 2.x).
All is resolved now and this is what I had to change:
Both changes are made in “editor_template.js” file, I also swopped the 2 files so that I could include and edit editor_template.js instead of [...]
The Problem
When starting Maya 8.5 an immediate error message and program termination.
Runtime Error!
Program C:\Program Filesz\Autodesk\Maya8.5\bin\maya.exe
abnormal program termination
Solution
…
I had a hover effect on an html input element but also needed to have an active state.
The css was like this for the inputs in mention:
.contactformdiv input:hover, .contactformdiv textarea:hover {
background-color:#fff;
}
It was simple, I just added a focus…
.contactformdiv input:hover, .contactformdiv textarea:hover, .contactformdiv input:focus, .contactformdiv textarea:focus {
background-color:#fff;
}
Getting an internet connection under VirtualPC running Windows XP and Internet Explorer 7
Open the ’settings’ of the virtual machine and select Networking -> then change Adapter1 to “Shared networking (NAT)” and it will use your local machine’s network settings.
var lowerCase:String = “sample text”;
var upperCase:String = lowerCase.toUpperCase();
Is your Firefox starting to get realllllllly slow?
Every few months my Firefox starts dragging, so all I do is create a new profile and reimport all my bookmarks and reinstall needed addons.
For a rundown on how to create a new profile, click the following link..
http://kb.mozillazine.org/Profile_Manager
Ever wondered about Facebook’s photo sharing?
http://www.facebook.com/note.php?note_id=76191543919
You can use “ucwords()” to uppercase the first character of each word in a string.
e.g.
$myVar = ‘this is a test!’;
$myVar = ucwords($myVar); // This Is A Test!
A brilliant version of print_r for actionscript:
http://dev.base86.com/solo/47/actionscript_3_equivalent_of_phps_printr.html
In order to reuse a variable from a different timeline within the same fla file you will need to register the inital variable or function as a _global.
Todo this as a variable:
_global.myString:String = “Andz”;
Todo this as a function:
_global.myFunction = function() {}
I had a problem today where I got a flash source file from one of my developers’ and I couldnt compile it because it said that there was a conflicting class name, however, it turned out to just be a timestamp issue.
Read here for more information
http://www.epresenterplus.com/blog/archives/000030.html
I recently managed (somehow) to duplicate all my email in Outlook and needed to find an easy way of removing the duplicated emails.
http://www.vaita.com/ODIR.asp Really helped me out! Try it! It’s free
Federal Reserve admits losing 9 trillion dollars.
http://www.wimp.com/reservelosing/
What the hey?
You may one day end up seeing the following error message produced by PHP and wonder to yourself:
PHP Parse error: syntax error, unexpected ‘)’, expecting T_PAAMAYIM_NEKUDOTAYIM in /*/*/File.php on line 160
You guessed it, “T_PAAMAYIM_NEKUDOTAYIM” is not english.
It’s actually a Hebrew word meaning “unexpected“.
This site is the online portfolio of work for Andrew Odendaal
London City Arpt, UNITED KINGDOM