Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • How to Plan a Website
  • Zend Framework

Archive for the ‘Flex’ Category

« Older Entries

Putting all the pieces together

Monday, August 9th, 2010

Dear Reader,

I have posted several posts on this blog that all derived from a sample app that I wrote to generate QR Codes using the Google API. So far I’ve only give you the individual pieces, this post is about pulling them all together and creating the application.

I have been working on this particular application since February. (I used it to generate the QR Code I sent to the lovely and talented Kathy for Valentine’s Day. (Yeah, I’m that much of a geek) If you are a regular reader then you will recognize some of the code and concepts that we have discussed previously.

The MXML can be found below this post, and a link to the FXP can be found just above it. If you have Flash Builder 4, grab the FXP and you can import it and see all the code.
(more…)

Tags: actionscript, adobe, code signing, flash, flex, packaging, qr code
Posted in Flex, Programming | Comments Off

 

Working with windows in Flex

Monday, August 2nd, 2010

Dear Reader,

I am putting the finishing touches on my reference application to demonstrate my wrapper for Google’s QR Code API. While doing so I decided to see what it would take to have the image pop up in a new window. Originally I had it displaying on the right side of the main window but aesthetically, that just didn’t do it for me.

“A journey of a thousand steps begins with a subclass…”

I created an ActionScript subclass of the spark Window class thinking that I would then subclass it as MXML and do the visual parts. This technique called “Code Behind” is considered a best practice when building Flex components. However, once I started working on it, I realized that I only needed 2 graphical elements. It just seemed easier to code it all in AS.
(more…)

Tags: adobe, flex, qr code, windows
Posted in Flex, Programming | Comments Off

 

Actionscript class to create QR Codes

Monday, July 26th, 2010

Dear Reader,

Anyone that knows me knows that I love new toys. Sometimes it’s a new piece of hardware or a new game. Sometimes however, it is just a idea to play with. This post is all about an idea. I’ve been intrigued by QR Codes for a while. Actually, my love of bar codes goes way back to when I used to run computer systems at my parent’s company. Even back then I saw how they could change things. These days, Bar Codes are ubiquitous in retail but haven’t moved out of the business niche. QR Codes stands ready to change that. Given that most smart phones can translate them they make a great way to link the real world to the net.
(more…)

Tags: adobe, flash, flex, qr code
Posted in Flex, Programming | 9 Comments »

 

Migrating Flex components to Flex Libraries

Wednesday, July 21st, 2010

Dear Reader,

Recently I decided to consolidate all of the custom and reusable controls I had created in Flex into a single library. Even as good as Eclipse is at refactoring (one of the things it actually does well) it still wasn’t was clear cut of a procedure as I had hoped for.
(more…)

Tags: adobe, flex, libraries
Posted in Flex, Programming | 2 Comments »

 

Custom Events vs. Callbacks in ActionScript

Monday, June 21st, 2010

Dear Reader,

Having just completed an article on Callbacks in ActionScript and having previously written about custom events in ActionScript I thought I would take a few minutes and contemplate on the difference between the two and when I see each being useful. Bear in mind that I still have only a small amount of experience in Flex and ActionScript. This is more of a straw man post than a definitive guide and I welcome thoughtful criticisms and comments.

Both callbacks and events allow us to respond to events, the difference is how and to an extent, how complex. Custom events are a bit more complex to code and maybe that is why I see callbacks as more useful on a day to day basis.
(more…)

Tags: actionscript, best practices, callbacks, custom events, flex, object oriented programming
Posted in Flex, Programming | Comments Off

 
« Older Entries
  • Friends of mine

  • My Latest Book


    Avoiding a Goat Rodeo

  • Follow me on twitter!

  • RSS PHP Podcasts

    • Episode 33: Pol Pot-level Sucks
    • Episode 32: tek13
    • Episode 110: Azure hits 1 billion, RubyFlux compiler, Laracasts and more
    • Episode 7: Web Sockets Are Fast
    • Better Documentation for PHP internals – Lately in PHP podcast episode 35
    • Episode 32: tek13
    • Episode 31: Feline Tooth Extraction
    • Episode #2 – Adam Culp
    • Episode 6: PSR-X and the Mexican Standoff
    • Episode 109: Typescript and a bit more…

  • Me, elsewhere on the Web

    • Best web design company
    • Cal Evans Dot Com
    • Cyrano’s Apprentice
    • Evans Internet Construction Company
    • My Life as a Child
    • PHP Podcasts

  • Categories

    • Apache
    • BlogBling
    • Blogging
    • Book Review
    • codeworks
    • Entertainment
    • Entrepreneurship
    • Flex
    • Humor
    • JavaScript
    • Long Form
    • Management
    • Marketing
    • Me, elsewhere on the Web
    • PHP
    • podcasting
    • Programming
    • SQL
    • Technology
    • Web 2.0
    • wordpress
    • WordPress Plugins
    • writing
    • zend framework


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).