Global function in Adobe Edge animated

To create truly global variable in Edge animated, define in a symbol (usually inside the Stage.compositionReady event handler, a good place for global stuff) : sym.globalFunction = function(){ // statements } To call this function from another symbol : sym.getComposition().getStage().globalFunction(); Here the variable holds a function, but it could hold a number, string, etc.

WordPress, about error handling inside WPDB

I’ve had a very hard time understanding why $wpdb->get_results was always returning an empty array in a query I was working on. Thanks to the codex, turning wordpress to show sql’s errors helped me a lot : $wpdb->show_errors(); more infos about error handling inside WPDB

herringbone rug

via tran nn http://www.pinterest.com/pin/298996862732314834/