Code

Dynamically Sorting Colors

October 22, 2010

Recently I added a color profile to my Photo project. I had a script go through and determine the primary colors in the photo. I then took this data and saved it into a table that. Each color was attached to a photo date for easy querying. Rather than storing HEX values in the database [...]

Continue Reading ...

Category: Code

Flex PieChart with XML input

May 12, 2010

I have been working hard to compile statistics on my photo blog. Currently I have most visited photos and photos by camera. I wanted to create a dynamic chart and luckily, Flex 3 has a charting component that was easy to use. There were a lot of tutorials out there on Flex Charts (mostly bar [...]

Continue Reading ...

Category: Code Tags: , , , ,

Dynamic Style Sheets with Server Side Scripting

May 5, 2010

We are currently working on redesigning our top level pages at UNC. We are using multiple style sheets to separate out the structure of the page from the colors and typography. All pages will have the same layout but will have different patterns and colors. I want to use one style sheet (rather than multiple) [...]

Continue Reading ...

Category: Code Tags: ,

Reverse Engineer Nike+ to create an API

May 3, 2010

Earlier in the week we cleaned out the workout room and I started running on our treadmill again. One of the things that I am excited about it the Nike+ program. It tracks runs and keeps statists online about each run. I wanted to add these stats to my blog but Nike doesn’t offer a [...]

Continue Reading ...

Category: Code Tags: , , ,

Accessing Imported Objects in ActionScript 3

April 26, 2010

I learned the bulk of my understanding of ActionScirpt 3 with UNC’s “Bringing Education to Life Campaign”. I rewrote the code for the base flash file 3 different times, each time updating the code with what I had learned. The site was created using modules, in which if we wanted to add something new, we [...]

Continue Reading ...

Category: Code Tags: ,

Get FaceBook Comments with PHP

April 21, 2010

Last week I posted a photo on my photo blog and on Flickr of my hops starting to grow. Once uploaded, I went to FaceBook and posted a link to the photo there. A few people commented in different places and it got me thinking about how I receive comments. My photo blog doesn’t receive [...]

Continue Reading ...

Category: Code Tags: , , ,

Streaming Video with Flash Media Live Encoder

April 19, 2010

Last month I wrote about streaming video to a media server via flash. I wrote a script that published to a flash media server and another script to play the stream off the server. This solution proved clunky since I was unable to set the quality settings correctly. Late last week I had another meeting [...]

Continue Reading ...

HTML5 Video Basics

April 7, 2010

With the launch of the iPad earlier this week a lot of video sites have been frantically reworking their code so it will display correctly. The iPad doesn’t run flash (which is the most popular video distribution platform) but does run videos using HTML5. I don’t believe that HTML5 is a flash killer yet. It [...]

Continue Reading ...

Category: Code,video Tags: ,

How to Track Clicks in Flash Files with
Google Analytics

March 31, 2010

Recently at the University of Northern Colorado we launched our new brand, “Bringing Education to Life”. As part of the launch the web team was charged with coming up with a landing website for the brand. The site was created in Flash and when you click on different links, it uses the UILoader component in [...]

Continue Reading ...

Category: Code Tags: ,

Publishing Live Video with AS3 to a
Flash Media Server

March 29, 2010

Last week I wrote about closed captions on video players and the week before that I wrote about live streaming commencement. Well, we (UNC) got the proposal back from a company offering a solution; it was around $32k. As a result of such a high price tag there is a good chance that we will [...]

Continue Reading ...