Categories
Archives

How to Preload Images with CSS

This is a simple way to preload a few images using only CSS.

#imagePreload {
       display: inline;
       height: 0px;
       width: 0px;
       background-image: url(imagePath1.extension);
       background-image: url(imagePath2.extension);
       background-image: url(imagePath3.extension);
       background-image: url(imagePath4.extension);
       background-image: url();
}

Gordon: Open Source Project Enables Flash on the iPhone

How is this possible you ask?  Magic? Witchcraft? Positive Thinking? Actually, it’s an open source project called Gordon.  Gordon is an open source Flash™ runtime written in pure JavaScript.  If embeded into the html page correctly, Gordon enables the iPhone to render the swf content using JavaScript.

So what does this mean for the average iPhone user?  Not much, really.  It does give a glimmer of hope that we might see a full force version of Flash on the iPhone sooner rather than later, but Gordon doesn’t do much for the average iPhone user just yet.

Flash developers, however, will be able to use Gordon to embed their flash movies in a way that can at least be displayed on the iPhone.  At this time, iPhone users will probably not run across any flash that is embedded using Gordon.

It’s a step in the right direction, but shame on you Apple for forcing the developer community to this.

Gordon Demo: http://paulirish.com/work/gordon/demos/ (View html demo files on your iPhone to see it in action)

NoobFlash Mobile

We just activated a mobile skin so you can have easy access to NoobFlash content on the go! Check it out! Just browse to http://www.noobflash.com on your iPhone or other touch screen mobile device. Enjoy!

Flash Compile Error 1009

TypeError: Error #1009: Cannot access a property or method of a null object reference

This error typically means that you have a variable that is being used to reference a property or method of an object, but it does not actually contain an object. You’ll most likely need to search through your code to find any place that are referencing a property with a dot following a variable name (E.g. myVar.height). The easiest way to test a variable is to trace the variable just above the variable.property reference to see if the variable value is null.

Flash Compile Error 1126

1126: Function does not have a body.

This error typically means that you have a misplaced semi-colon, usually at the end of a function name declaration.

function foo() : void;
{
	/*function content*/
}