HTML5, CSS, and IE6
7th July 2010 | 0 Comments
The other day I created a HTML5 webpage with a flash fallback for IE users. Everything worked fine except IE 6 wasn’t rendering styles associated to the new HTML 5 tags. After digging around for a while I discovered that IE 6 won’t render styles associated with HTML tags it doesn’t know, unless you do a little bit of JavaScript trickry. For each unknown tag type you have to create it once in JavaScript like so:
document.createElement(‘video’);
After that the styles should render correctly.
Facebook, Forms, and ColdFusion
19th May 2010 | 0 Comments
The more I work with Facebook the more I hate its quirks. Recently a coworker had to create a contest form that submitted to a ColdFusion script. For legal reasons the form’s data is stored on a server that we have no access to. Alas Facebook and ColdFusion do not play well with each other. Facebook adds a variety of extra form fields that confuses ColdFusion. There are work arounds that can be implemented on the server, but since we didn’t have access to the server we had to come up with another solution.
Me and My iPad
3rd April 2010 | 0 Comments
I just received my iPad from UPS today and while I haven’t had a ton of time to mess with it I want to share a few initial impressions with everyone.
FlashVars and Externally Loaded Movies
2nd October 2009 | 0 Comments
If you ever need to access FlashVars from a MovieClip that you loaded externally, make sure it has been added to the stage first. If it hasn't been added you can access any of the variables. This isn't a problem with the loading/root clip because the document class is granted immediately access since it is the stage.
I usually don't have this problem except I was using a 3rd party framework that didn't wait for the ADDED_TO_STAGE or COMPLETE events before accessing those variables.