• warning: Parameter 1 to tac_lite_node_grants() expected to be a reference, value given in /home/rbezemer/softwarebyrichard.com/includes/module.inc on line 483.
  • warning: Parameter 1 to tac_lite_node_grants() expected to be a reference, value given in /home/rbezemer/softwarebyrichard.com/includes/module.inc on line 483.
  • warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home/rbezemer/softwarebyrichard.com/includes/module.inc on line 483.
  • warning: Parameter 1 to tac_lite_node_grants() expected to be a reference, value given in /home/rbezemer/softwarebyrichard.com/includes/module.inc on line 483.
  • warning: Parameter 1 to tac_lite_node_grants() expected to be a reference, value given in /home/rbezemer/softwarebyrichard.com/includes/module.inc on line 483.

Blogs

Flexing the Youtube Chromeless player

Getting youtube and flex / flash to work together can be a nightmare. Our original implementation ended up having us being forced to do "hack" youtube  to tease out the path the the flv and play that in a native flex video player interface. This solution works well and lets you have multiple videos playing inside your flex application at once, but unfortunatly youtube doesn't like this idea at all.

Interview with Bjarne Stroustrup

A good interview with Bjarne Stroustrup by James Maguire. He discusses the current state of CS graduates and the industry in general. Stroustrup is probably one of the few famous computer scientists I can relate to and I share many of his views on the state of computer science and the business world.

This advice is priceless:

Meteor over Edmonton

Very Cool that this happened right in my area, wish I was outside at the time and actually saw it instead of stuck in my office working.



Police dash cam of Meteor over Edmonton, Canada

Goodbye Micheal Crichton

Micheal Crichton Succumbs to Cancer Wow, very surprised by this news. His books were a favorite of mine in my teenage years. He will be missed. Thanks very much for all the great stories, they were a joy to read with rich imaginary worlds to explore.

ActionScript 3 Photobucket API Basics

So by popular demand, and just because it's fresh on my mind, I've revisited the Photobucket photoflow example. This version of the app goes a step further and uses the full blown ActionScript 3 Photobucket API. This API is actually relatively new and I was actually working on a similar interface to their API when they released theirs.

Stylesheets and mx_internal

To make a long answer short... they don't work well together. basically if you want to set a style property on a CSSStyleDeclaration and you have mx_internal declared in your class (i.e. you are overriding a flex sdk component such as a button or list) then you will get weird ambiguous reference warnings like the following: Id 1000: Ambiguous reference to setStyle The solution is simple, instead of declaring use namespace mx_internal you just have to scope each of the variables or functions you want access to. i.e. mx_internal::adobe_hidden_variable.

Creating a php proxy for flash

So I'm planning on updating my photobucket samples, but I wanted a live flash file on my site instead of the crappy static image I had before. Unfortunaly since the coverflow component requires access to the BitmapData to create the reflection, loading any external images will throw an error.

Flex - Adding icons to a ToggleButtonBar

This was one annoying problem, I wanted a single icon on each button on my toggle button bar but for the life of me I couldn't figure out what was going on. I had set the icon property in my buttonStyle in my applications stylesheet, but my icon was nowhere to be found.

Finally after pullling my hair out for a while, a trip to flexexample found me what I was looking for. The ToggleButtonBar (and any navigation component) uses the data provider supplied to it to pull out the icon resources for each button, so the dataprovider was overriding my stylesheet with null.

Strength of Canada's economy

Ok, I know it's a coding blog for the most part, but I thought this article was a excellent read on why Canada's economy isn't going down the drain like everyone elses. To me this is exactly how regulation of the banking industry should take place.

9-slice scaling

Here is a pretty good write up on using 9-slice scaling in Flex to make sure your resources scale properly when you are skinning controls, it's pretty easy concept, just hard to find in the flex documentation.

Flex skinning example