• 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.
  • 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.

richard.bezemer's blog

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

Transparent List in Flex

So I wanted a list that had no layout information, or a List where you could only see the items in the list, no selection colours, no borders, no background, etc... I spent a lot of time racking my brain trying to figure out the best way to do this. Finally out of desperation I looked at the api and a few related blog posts and the answer was simple. Flex provides support for this in the base list class, so just extend the List class and tell it to not draw anything. How simple is that!

Here is the code to do it:

Monitoring Memory usage in C++

Wow it's been a long time since I posted last. Anyway I found this very indepth article on creating tools to assist in debugging memory usage problems in c++. I've always been interested in the behind the scene's working of memory analysers and this is a great read. Monitoring Memory Usage - Gamasutra Now if my other projects ever slow down I might just get a chance to play with some of these things.

Telus is Evil

Does this article scare anyone else as much as it scares me? I've seen this mentioned for a while, but it really hit home when it's companies you are used to dealing with in Canada. This subscription based internet site business model goes against the very foundation of what the internet was based on.

Why do people still dislike C++

Recently this article from Mark Roulo from way back in 2001 made the rounds on reddit. He talks about how difficult c++ is as a language and why it should never be used for a large project. He goes into great detail about his interview questions designed to frustrate the most seasoned of C++ developers and spends a lot of time berating the use of pointers in C++. I have a real problem with kind of article. They focus way to much on the c side of c++ and not the ++ part.

Flex Item Renderers

So I'll admit it, I'm still getting into the ActionScript programming frame of mind, and going from hardcore c++ to Flex takes a bit of a mind shift and I'm still getting used to flash doing everything for me, all though it is a nice change of pace.
 
An item renderer in flex is a relatively simple concept, basically for every item in a collection, here's a set of components that can draw this data to some kind of human readable format that's somewhat pleasing to the eye.

What is the Best Source Control for My Team?

All software development teams are hunting for that perfect source control system that perfectly handles every case. But lets face it source control is confusing and it's a huge investment of time to investigate which source control system to use, and if you pick wrong, it can be very costly to your project. This is probably the biggest reason new Source Control Systems take so long to take traction, Why would any business manager take a known risk of changing the source control system when the current one works. It worked for our last release...Right.