Get Adobe Flash player

CSS Rotation Clipping in Safari?

I recently ran into issues with Safari randomly clipping my DOM elements. See the image below to see what I mean:

This isn’t a matter of simple overflow: hidden – this rendering error will occur randomly and will correct itself if other elements on the page move or you highlight some of the affected DOM elements.Or sometimes it won’t. It’s random, after all.

I found a way of preventing this from happening by making sure the DOM elements’ container has a set width and height. In my case, the width and height meant nothing in terms of how the elements were rendered (they are all absolutely positioned), but for some reason Safari took this into consideration. I tried random dimensions and it seems to make a small difference with clipping edge elements for only a fraction of a second, but in the end always renders completely. As a rule, you will probably want to make your bounding box larger than the elements within it to get the smoothest result.

Let me know if you’ve run into this and if this helps!

Facebook FB.ui() post to feed error: “An Error has Occurred”? Simple Fix

If you followed this (https://developers.facebook.com/docs/reference/dialogs/feed/) to the T and are getting an error, try this simple fix:

var obj = {
method: 'feed',
redirect_uri: 'YOUR URL HERE',
link: 'https://developers.facebook.com/docs/reference/dialogs/',
picture: 'http://fbrell.com/f8.jpg',
name: 'Facebook Dialogs',
caption: 'Reference Documentation',
description: 'Using Dialogs to interact with users.'
};
FB.ui(obj, callback);

The redirect_uri  parameter is not meant for FB.ui() calls, and will break them. Remove redirect_uri from your obj and you should be good to go.

Sweet D-Tree Spirit

2013 Calendar Preview

Flash Builder 4.6 Subversion / Subclipse – Download Links

With all the chaos happening with Flash and the Subversion project on Tigris.org, it’s getting weirder and more complicated to download nitty gritty packages (such as version 1.6 which is the only one that works on OSX Snow Leopard). 

Here is the somewhat buried but thankfully still existing download list:

http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

SWFFit is Dead – Use this instead.

http://think2loud.com/268-add-scroll-bars-to-full-browser-flash-with-a-simple-jquery-plugin/

This is a much more modern, dependable alternative to SWFFit. Now you may say, “Walrus, not only is SWFFit obviously dead, but Flash is dead as well.” Well. Shaddup.

Facebook Page Tabs – setSize() and setAutoGrow() not working?

If you are having trouble with setSize() and setAutoGrow() not working correctly, first make sure to check the latest Javascript SDK page. The way Facebook wants you to import its SDK is frequently updated and changed without notice.

https://developers.facebook.com/docs/reference/javascript/

You can see the latest methodology working with setSize() in the proper place below.

<div id="fb-root"></div>
<script>

window.fbAsyncInit = function() { 
 FB.init({
appId : 'YOUR_APP_ID', // App ID
channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
 FB.Canvas.setSize({height:900});
 };
// Load the SDK Asynchronously

(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));

</script>

New D discovered.