Archive for July, 2004

I spent the last few days tinkering with my presentation files from my Ask the Experts session on Kiosks and Interactive Exhibits at FlashForward 2004 in New York earlier this month. I’m sorry to have taken so long to post the source files, but hopefully those of you who have been waiting will find them even more useful now.

I decided to greatly enhance all the files I demonstrated for several reasons, the three most important being:

  • I won’t be in the room walking you through them and explaining them.
  • I wanted the files to be more accessible to those who weren’t able to attend my session but wanted to play with the files.
  • Not everyone has barcode scanners and magnetic stripe readers laying around at their disposal, so I needed to add simulation modes, both code-wise and visually.

    So, I set about sprucing up all the files with those goals in mind. To maximize my time, I have decided to focus on enhancing and distributing the files in a specific order, based on emails and feedback I have received thus far. As such, I’ll be releasing all the files over time in a series with the expanded and enhanced features and information. The first set of files I’m releasing deal specifically with two examples I showed where I utilized “keyboard wedge interface” devices to transfer real-world, tangible data to Flash. In this case the two examples were an ID Tech Omni Slot Reader (Magnetic Stripe and Barcode) for reading in drivers license information from drivers license ID cards that conform to the AAMVA Standard, and a UPC / ISBN barcode lookup that obtains the UPC / ISBN number data via a Symbol LS2208 handheld barcode scanner.

    As I mentioned I have enhanced the files a great deal. For those of you in attendance at my session you will remember that the sample files I showed were quite bare bones – no interface to speak of really – just plain white screens with some simple component buttons and input fields, and a datagrid or two. (We will address the datagrid redistribution issue shortly) In the session the intent was to focus on the code, and the concept of utilizing the devices, and to inspire and inform those in attendance of new and alternative ways to provide/get data into Flash that might lend to the creation of Kiosks and Interactive Exhibits. Hence, the lack of interface or focus on the creation of the interface in my session. Well, now its got a fairly decent interface, some informative information, and simulation modes, complete with visual simulations of the actual devices operating. I have also included some extra notes, information and attributions in the form of comments in the ActionScript source. So without further ado – please find the first set of files at the following URLs:

    PC USERS: – ZIP File – 723k

    MAC USERS: RHALL_FF2004NY_PART01.dmg.gz – GZipped Mac OS X Disk Image – 757k

    Also please find this “resources” list (plain text file) that I compiled and mentioned during my presentation – this has some names, and handy URL’s for equipment manufacturers and sources I use a great deal.

    UPDATE – 08/04/04: I failed to include a tiny class file I use all the time called StringExtras that is referenced in the example files. You will need it for some of the string manipulation done with the track data from the magnetic stripes. Download

    NOTE: Due to licensing restrictions, I am unable to redistribute the DataGrid component used in the drivers license DLScan example application included in the above archives. I have however made it very simple to use without, and very simple to add it back in if you have your own licensed copy of Flash MX 2004 Professional. Read the comments in the ActionScript for more info – but basicaly it entails a simple drag and drop to your library and you are good to go. If you don’t own professional – you can still see the results via the trace window or by looking at the properties of an object I return after a drivers license has been scanned.

    I have begun to utilize the Creative Commons Attribution-NonCommercial-ShareAlike 2.0 License for some of my published work including the source files found here. See the notes in the comments of the ActionScript for more info.

    Here is a list of the next few sets of files I’ll be sprucing up and releasing:

  • Examples of using the .ini file reader method I discussed and demonstrated that streamlines and enhances the configuration of large Flash applications
  • A proximity sensor system that can be used to trigger and control “attract” or “loop” screens on a Kiosk or Interactive Exhibit – the electronics and input built with’s Teleo Introductory kit and some infrared triangulation sensors (as well as a passive infrared sensor model I did not have time to demonstrate)
  • A fleshed out presentation stack with audio enhancements – the presentation stack I used was primarily an outline to guide me that I filled on off the cuff. I’ll be enhancing this so that its much more useful without me jabbering away. 🙂
  • Sample Visual Basic, Visual Basic .NET, and C# (including 2005 beta) stub source code to create “wrapper applications” or “Operating System Supplements” (OSS) applications to embed the Flash ActiveX control to allow programmatical extension of the built in capabilities of the Flash Player to communicate with the host operating system, external devices and external applications.
  • A revised and updated Acrobat PDF of the Appendix that I wrote on the topic of touch-screens and kiosks for Flash for the book Flash Enabled: Flash Design and Development for Devices, that was published back in 2002 just about the time the original Flash MX came out.
  • And a few other goodies that I didn’t get a chance to show during the session.
  • I’ll probably also release the original stripped down versions of a few of the more code intensive files so that the “extra” interface goodies and AS don’t get in the way of things for those of you who attended the session and want to focus directly on the core ideas. If there is anything else I covered in the session that you don’t see here that I promised I would put online, please post a comment and let me now. Thanks! -Rob

    Comments Off on Interfacing Flash with the Real World Part 1: Magnetic Stripes and Barcodes – FlashForward 2004 Source Files

    Please find the source materials and items I mentioned in my session at the following URL:

    My session was this morning and it was packed – it was a great turnout for first thing in the morning on the first day. I think it went very well according to the response and comments I received afterwords. I had so much more content to go over, but just not enough time (my apologies to Allen Ellison for going over by about 15 minutes) I didnt get to cover half of the materials or devices I had brought with me. My session was packed – the room was full and no one was leaving which was great. We had some really good questions which was great as there were so many people it wasn’t as intimate as I had anticipated it might be. I was concerned there might be some technical difficulties with all the equipment I brought and had to hook up – there were a couple glitches – the giant plasma screen for my presentation wasn’t wanting to cooperate with the output from my Powerbook for some reason – the plasma screen looked good – but I had to work at a really low resolution – that wasnt too big a deal – just awkward – the dumbest thing though was that at some point in setting it up I had accidentally hit my numlock key (which I never use) when trying to get the screen working and of course when I went to demonstrate the infrared proximity measurement sensor system I built with’s Teleo System I needed to enter in a number in a field and I didn’t notice the numlock was still on – doh! And of course in the rush to hook up all the equipment I failed to set up my wireless connection to allow the UPC barcode lookup system I built with a Symbol handheld barcode scanner and some automated webservices in Flash – the scanner worked but the the web-service wasnt connecting – other than those minor glitches everything went really well. The opportunity to speak with folks about similar projects and ideas is really te best part about these conferences. I just finished packing up all my equipment and getting it back to my room – so now I’m going to try and attend some of the other sessions. I’m really looking forward to a few session tomorrow – I’ll try and post some more updates later on about the show itself.

    Any questions about the source materials – give me a shout – I hope to have them all posted up later tonight – they will be at the URL I mentioned above.

    UPDATE: tried uploading the files tonight from my hotel room thanks to a rogue Linksys wireless base station somewhere near my floor of the hotel – but I got about halfway through and it dissapeared on me – my dialup is just too slow – so I’ll see if I can get a better connection tomorrow and post everything up.

    Comments Off on FlashForward 2004 NY Presentation Notes – Source Material

    I’m driving up to New York tonight to attend FlashForward 2004 NY this week. I’ll be hosting an Ask the Experts session Wednesday morning (June 7th) at 10:15am in the Grammercy Park room – on the topic of Kiosks and Interactive Exhibits. It should be interesting – I’ll be showing some examples, with some interesting hardware devices communicating with Flash, and discussing tips, techniques and resources. I see the Ask the Experts sessions as a great opportunity not just to talk, but to meet and hear from all the other attendees their expert opinions, ideas and techniques – hopefully there will be some good discussions in my session. Hope to see you there!

    Comments Off on FlashForward 2004 NY – Here I Come

    This site is available for historical purposes, but is no longer actively updated.
    Please visit in Q1 of 2023 for all the latest and greatest!