Translator
Categories
Archives

Archive for the ‘Flash’ Category

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)

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*/
}

Flash Compile Error 1042

1042: The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code.

This typically means you are using the reserved word ‘this’ inside of a class file, but do not have it within the curly braces of a function. If you wish, you can double-click the error to see the offending line of code. Be careful to verify that the keyword ‘this’ is after the opening ‘{‘ and before the closing ‘}’ of a function. If the ‘this’ keyword exists in a ’static’ function, error 1040 will be thrown. If you’re also getting flash compile error 1126 (1126: Function does not have a body.), you will need to correct that error first. Usually error 1126 is related to a misplaced semi-colon.

Flash Player Version Penetration Update

Adobe Flash Player Penetration by Version as of December 2008
  v7 v8 v9 v10
Mature Markets 99.1% 99.0% 98.6% 55.9%
US/Canada 99.1% 99.1% 98.9% 54.5%
Europe 99.1% 98.9% 98.2% 56.5%
Japan 99.0% 98.8% 98.3% 59.3%
Emerging Markets 98.7% 98.6% 98.1% 55.9%

Source: Adobe.com