About DeanLogic

Dean has been playing around with programming ever since his family got an IBM PC back in the early 80's. Things have changed since BASICA and Dean has dabbled in HTML, JavaScript, Action Script, Flex, Flash, PHP, C#, C++, J2ME and SQL. On this site Dean likes to share his adventures in coding. And since programming isn't enough of a time killer, Dean has also picked up the hobby of short film creation.

New sprite Egg Timer

At work I upgraded to Flex 4.5 and started updating one of my projects.  I started running into errors with my components that used Degrafa.  Apparently the Degrafa group has stopped working on updates and code in Flex 4 has broken the arc and wedge drawing utilities.  This causes a problem with my Egg Timer component, because it relies on the wedge or arc for the display.  I decided to use the new functions of Flex to create the timer.  Unfortunately, Flex still doesn’t have it’s own wedge or arc drawing utilities.  It does have a curveTo method as part Continue reading New sprite Egg Timer

Crashing the Super Bowl

For the past few years Dorito’s has offered a competition called Crash the Super Bowl to create a commercial that will be featured during the Super Bowl.  It is a genius marketing idea.  Thousands of entries will be submitted, Dorito’s pays pennies to the winner (compared to a normal advertisement agency) and the winner gets a chance to be famous for 30 seconds. The contest began in 2007 and had a local winner.  In 2009 (for the 2010 Super Bowl), the winners were a local group, as was one of the other finalists. Live the Flavor -2007 Kids these days Continue reading Crashing the Super Bowl

Horizontal Slider and List synch

As I stated in a previous post, I am working on a little project for work that dealt with including arrays inside of arrays.  Part of this also had me putting lists inside of lists.  The layout of one of the display has an Accordion navigation control with a HorizontalList, that also contained an accordion with it’s own HorizontalList.  I am using the horizontal list to scroll through main items with sub-items below.  On top of this, I am creating the HorizontalList, the HSlider and the Accordion controls all dynamically. The first part of setting up the slider and list, Continue reading Horizontal Slider and List synch

48 Hour Challenge with filmSPARK

A few weeks ago, during our monthly meeting, a member of The RTP “Let’s Make a Movie” Meetup group mentioned the SPARKcon Festival coming up in Raleigh.  SPARKcon has been going on for 6 years and last year they added a 48 Hour Film Challenge to their filmSPARK.  At first I was a little hesitant about doing the challenge for a few reasons.  One, the 48 Hour Film Project, cost over $100 to enter, so I didn’t know how much this would cost.  Second, it was very short notice, so I didn’t now how many people I could get to Continue reading 48 Hour Challenge with filmSPARK

Flex Test Drive in about an hour

According to the Flex Test Drive site, you can “Build an application in an hour”.  While that is definitely true for a simple application, I would say it takes a little bit longer in real life.  I started working through the Test Drive demo using the videos, which probably run less than an hour.  Since I am familiar with Flex/Flash Builder, it was easy enough for me to have the video running in the background while I built the application.  There were several times that I had to switch back to the video to get a better understanding of what Continue reading Flex Test Drive in about an hour

Zend AMF and Flash Builder

While I was pondering creating the Flex/Flash test application for the Demo site, I ran across Flex Test Drive.  I remember reading it before and couldn’t remember why I didn’t go through with the example….then I tried connecting to the php web service.  The Flex Test Drive gives you three options for a server:  Java, PHP and ColdFusion.  I don’t have a ColdFusion or Java option on my hosted website, so PHP was the way to go.  I also didn’t want to bother installing a web server locally, because I want to post my examples on my site.  Because of Continue reading Zend AMF and Flash Builder