Latest Twitter Update:




Archive for October, 2010

Exporting SWFs without Hidden Layers

Saturday, October 23rd, 2010

If you have masks in your movieclips and you export without checking the option to export hidden layers, various masks will become disabled as they are considered hidden layers. I’m sure there’s a specific scenario depending on how you setup your mask since some of my other masks were not affected. If you run into this issue, just make sure the hidden layers checkbox is checked when you are exporting.

// Jacob

Facebook Bigint UID Fix for PHP/MySQL

Saturday, October 23rd, 2010

I spent quite a bit of time on this one and am sharing for those who run into it as well.

If you’re using PHP and MYSQL, you’ll run into an issue with long Facebook IDs (bigint). This will cause an issue when you’re doing queries with Facebook since PHP will attempt to convert it to a float. In php.ini you can bump up precision (25) and it should solve your issue, just do not try to convert your Facebook ID to an int.

// Jacob

Using Multiple Args through ExternalInterface.Call with AS3

Monday, October 18th, 2010

If you’re trying to call Javascript functions through ExternalInterface.Call in AS3, make sure you call your function as ExternalInterface.call(“functionName”,arg1,arg2,arg3, etc.) NOT ExternalInterface.call(“functionName()”,arg1,arg2,arg3, etc.) else your arguments will become undefined when they reach your html container. I discovered this after a few hours of troubleshooting, and not one article on the web mentioned it that I could find ;)

Hope this saves someone else some headaches.

// Jacob

Tracing Flash Output from Browser

Monday, October 18th, 2010

You can debug your flash player within Firefox browser using the Flashbug plug-in, get it via your Firefox Add-ons. Works like a charm and saved me a ton of debug time. Enjoy!

Flashbug

// Jacob