links for 2006-05-25

Permalink
Posted in:

links for 2006-05-12

Permalink
Posted in:

Flash/Javascript integration kit with mtasc

The following corrections were nescessary to get Macromedias flash/javascript integration kit working with mtasc:

 
-------- JavaScriptProxy.as ---------

* Replace:

	public function __resolve(functionName:String):Function
	{		
		var f:Function = function()
		{
			arguments.splice(0,0, functionName);
			var f:Function = call;
			f.apply(this, arguments);		
		};
		
		return f;
	}


* With:

	public function __resolve(functionName:String):Function
	{		
		var f:Function = function()
		{
			arguments.splice(0,0, functionName);
			var f:Function = this.call;   //change!!
			f.apply(this, arguments);		
		};
		
		return f;
	}


-------- JavaScriptSerializer.as ---------


* Replace:

	/* Deserializes a Boolean Value */
	public static function deserializeBoolean(s:String):String
	{
		return Boolean(s);
	} 	


* With:

	/* Deserializes a Boolean Value */
	public static function deserializeBoolean(s:String):Boolean
	{
		return Boolean(s);
	}


//////////////////////////////////////////


//mtasc has a more strict scope rule so

* Replace:

	for(var x:Number = 0; x < len; x++)
	{
		arr.push(parseNode(children[x], o));
	}
	

* With:

	for(var childNo:Number = 0; childNo < len; childNo++)
	{
		arr.push(parseNode(children[childNo], o));
	}

Via: osflash mailinglist

Permalink
Posted in: |

links for 2006-05-11

Permalink
Posted in:

Square-waveform Oscillator

08052006

08052006-001-
Permalink
Posted in:

links for 2006-05-05

Permalink
Posted in:

1-6/6

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.