Scripts, Tools & Methods Developed at Hook
42 Posts since November, 2009
This post is an example project that shows the basics of setting up a project using Hook’s MicroMVC system. This project shows you how to use the various components of MicroMVC and features like the event bubbling. There are a lot of different ways to set up a project so this post is intended as [...]
MicroMVC is a light weight, AS2 MVC framework intended for applications that have tight file weight restrictions. Its goal is to provide an easy MVC set up and improve on some of the limitations of the AS2 platform. The project started as an AS2 port of the fantastic AS3 framework RobotLegs combined with some ideas from casalib.org and pureMVC.
Good News! Facebook changed again! So… this is our follow up post in response to the Authentication changes Facebook made to the Canvas/IFrame apps. We created a new index page that takes care of everything for you, and will continue to work with our old Flash setup. See the example here: http://apps.facebook.com/hookfbloaderexample/
Download Source here: http://labs.byhook.com/facebookoauth/FacebookCanvasOAuthExample.zip
Are you a flash developer that occasionally has to dabble in php and hates the lack of strict typing and misses the ease of type-hinting like there is with actionscript? Well, any developer that is comfortable with Flex Builder will welcome Eclipse PHP Development Tools. Flex Builder, which is built on the Eclipse framework, functions almost identical to Eclipse with PDT. I’ve used Dreamweaver, Coda, Notepad++, jEdit, Komodo, PHP Designer — I’ve used almost all of them — to write PHP, and nothing is as powerful as Eclipse (in my opinion)! Plus, it is free! So, this is a post I’ve been meaning to write for a while and it should be short and sweet. There are a few features that took me a while to find that help greatly with writing PHP in Eclipse, so I thought I would document them here for those of you who wish they would have learned about these features years ago like I do.
Facebook’s Like Button in Flash: A Tale of Broken Dreams and Tortured Souls
It all started so innocently, “Hey, can we implement The Like Button in flash?”. Seemed like a very average and reasonable request. I mean really, how hard could it be? Its all just http requests right? Shouldn’t be an issue… Turns out its like agreeing to step into a ring with Kimbo Slice, assuming that anyone with a name like “Kimbo Slice” couldn’t possibly put up much of a fight.
In the end we found a solution, but it came at a price…
Here is a working example:
This was my first attempt at integrating HTML5 and I quickly learned that a number of quirks must be addressed when deploying video in this fashion. There’s nothing groundbreaking about this post; however, I’m hoping it serves to be a comprehensive summary of how to integrate HTML5 with the following criteria:
- Compatibility with all current browser implementations of HTML5 (H.264 and Theora)
- Flash fallback for older gen browsers
- Platform detection
- Mobile device support
The final result of my efforts can be viewed here by a Desktop PC or iOS / Android device: http://labs.byhook.com/html5video/