Posts Tagged ‘Flash’

Using PushButton Engine with Flex4

May 15th, 2010

I recently upgraded to Flex4 SDK. Before that everything worked fine. After that, I had some compiler errors, and a quick research brought to me that I had to add

-static-link-runtime-shared-libraries=true

to the additional compiler options. Doing some more in depth research, I discovered that this isn’t neccessary with a newer version of FlashDevelop – and I can confirm: it’s true =)
After the update procedure, everything compiled fine in debug mode. In release mode, it compiled too, but I got a runtime error: “VerifyError: Error #1024: Stack underflow occurred”. Again, investigating this error on the web, I stumbled over http://bugs.adobe.com/jira/browse/ASC-2266. The piece of code causing this, looked like so:

conn = new LocalConnection();
conn.client = this;
conn.allowDomain('*');
try {
	conn.connect("_SchemaConnection");
} catch (error:ArgumentError) {
	trace("Can't connect to _SchemaConnection");
}

So as you can see, it’s not the same as in the link above. I started commenting out line by line, and then I discovered, that it was the trace call. Replacing it with a Logger call finally fixed the error:

Logger.print(this, "Can't connect to _SchemaConnection");

I guess we’ll just put that on the unsolved mysteries stack ;)

Dino Run

April 22nd, 2010

I recently stumbled over Dino Run. But be aware, it is very addicting! It’s sort of like Canabalt, only with a few more gameplay elements. And these neat pixel graphics…and the pixel music…I’m truely in love! :)

Dino Run

Dino Run - a very addicting flash game!

I wonder if they use any flash game engine like PushButton Engine or Flixel.

Understanding Local Flash Player Security

March 7th, 2010

Nate Beck has posted a great explaination about how Flash player security works. He covers what types of sand boxes there are, and for what they are good for.
Check it out at his blog: Understanding Local Flash Player Security!