Monday, April 20, 2009

afk





I just spent 3 hours trying to track down why my ExternalInterface in Flash (actually haXe) couldn't call a simple Javascript function:

The Javascript looked like:

function test() { console.log("hello world") }


and the haXe looked like:


ExternalInterface.call("test");


Turns out it's (of course) because I was loading a local file, and wasn't running it from a web server. When I made it into a web server by putting it in my apache.conf, it worked fine.

arg. fuck. kill.