silexlabs/Cocktail — Issue #62: ImageDOMElement.onLoad should take the ImageDOMElement in arguments
Author: zabojad
Created: 2011-12-09 11:49:53+00:00
State: open

it should look like :

ide = new ImageDOMElement()
ide.onLoad = myCallBack;
ide.load("http://127.0.0.1/image.jpg");

[...]

function myCallBack(ImageDOMElement ide):void
{

}