Flash Player Script Timeout Errors Galore!

November 4th, 2008 Mark

As of lately this has become quite a nuisance regardless of browser or operating system but it seems to be prevalent in Flash Player 9 and 10 (if anyone notices in other Flash player versions please comment). One thing i have found is that in my actionscript using loadMovie and listening for bytesLoaded and bytesTotal has become somewhat of a failure. The “old-school” way I’ve preloaded was to loop and listen to these to variables for preload completion either with frame looping or onEnterframe looping. It appears the new school method gets me out of the timeout error territory with the loadClip function and using a MovieClipLoader listener. This gives you access to nifty events to listen for like onLoadError, onLoadProgress, and onLoadComplete. So embrace the MovieClipLoader and loadClip for any asset preload… you will sleep better.

Brightcove and Youtube embed code in Wordpress MU

August 25th, 2008 Mark

By default Wordpress MU does not allow embed code even when using the HTML post feature. This is different from singe Wordpress instances that do allow embedding.

The fix: Edit wp-include/kses.php. In that file search for “Post filtering” and then comment out the following lines:

// Post filtering
//add_filter(’content_save_pre’, ‘wp_filter_post_kses’);

Please note this will affect all blog instances within the Wordpress MU installation.

This fix came from Simply-Basic.com

Wordpress paging problem in custom category templates

August 22nd, 2008 Mark

So there’s a bug in the wordpress query_posts() function with Pagination when you’re building a custom template and you want to view posts by category and have it limit a page to a certain numbers of posts. Most of the solutions in the WP forums are bogus. You get the page links but the pages are the same posts. As i suspected you gotta tweak the query and this guy has the perfect solution here.