Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-settings.php on line 468 Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-settings.php on line 483 Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-settings.php on line 490 Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-settings.php on line 526 Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 594 Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 594 Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 594 Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 594 Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 611 Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 705 Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 705 Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 705 Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 705 Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/classes.php on line 728 Strict Standards: Redefining already defined constructor for class wpdb in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/wp-db.php on line 306 Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/cache.php on line 103 Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/cache.php on line 425 Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/query.php on line 21 Deprecated: Assigning the return value of new by reference is deprecated in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/theme.php on line 618 Strict Standards: Redefining already defined constructor for class WP_Dependencies in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/class.wp-dependencies.php on line 15 2008 December | Useful Information Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 934 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /hsphere/local/home/mcgarrah/johnmcgarrah.com/blog/wp-includes/kses.php on line 935

 

December 17, 2008

In order to retrieve any file from within any Flash (including motif) ad served by an external server, certain steps must be taken to meet the Flash Player’s security requirements. The web server that hosts the file being loaded into the ad must have a security document present at the root of the web server. You must create the file named “crossdomain.xml” to outline which domains are allowed to connect via Flash to that server, and place this file at the very root level of the web server. This was handy to learn because our clients couldn’t handle flash banners bigger than 40k without charging more. Here is a banner I created that loads another flash swf file into the main swf file. Click here for a detailed how-to on
loading external Flash SWFs into another hosted Flash SWF.

By John McGarrah

Posted under: Flash — john @ 6:56 pm

December 16, 2008

This document describes how to make a Flash ad click through to a URL defined in an HTML file. By defining the click-through in the HTML file, the site that is hosting the flash swf can change tracking information or
the click-through target of the ad quickly, without requiring edits to the Flash creative. The document assumes that the reader already knows how to make the Flash creative open a web page when clicked.

By John McGarrah

Posted under: Flash — john @ 2:50 pm

December 15, 2008

I was making a ‘Feliz Navidad’ banner at work and wanted to add snow to it to make it more eye catching. Here’s a link to a blog by Seb Lee-Delisle using Papervision to make 3D snow. Unfortinatley I couldn’t use AsctionScript 3.0 in our banners so I found a cool tutorial at Kirupa that uses ActionScript 2.0 in a similar snow effect that gives the user some fun with the mouse. This was a good choice because you can change the snow to whatever shape you want like snowflakes for instance. You could also tell it how much snow particles to fall at a time. I decided to keep the snow ball theme in the banner.

By John McGarrah

Posted under: Flash — john @ 6:48 pm