Flash 8 Credits. No! Thank YOU!

Flash 8 Credits

After seeing LordAlex and Jesse Warden post about being in the credits, I thought, what the heck… let’s just see…

That’s very very exciting to be in the credits under special thanks. The thanks definitely goes to Macromedia on this though. You guys took quite a bit of ranting from the Flash community after MX 2004, and instead of getting defensive about feature decisions, you took lots of notes, had numerous focus groups, and were so much more open about the beta process with sneak peeks at conferences and putting out a tremendous amount of material on the site a month before the ship date.

The result is a version of Flash that is a more significant feature leap from 3-4, and amazingly enough, even surpassed the 4-5 change. I’ve heard so many people say things like “this gives me so many new ideas” and “It is like the Flash 4 days where I can’t sleep, doing so many things in Flash at once.” Whoever was the mastermind behind the Studio 8 development/PR/Marketing process, you are worth your weight in gold.

BTW, the “woot” graphic above was completely made in Flash THEN brought into PhotoShop :) much like I found myself doing all of my vector stuff in Flash rather than illustrator or Freehand, I find myself actually using Flash as a way to produce some raster images. I like Flash’s controls, and I like the way it just works. :)

On the Radio Tonight: The David Lawrence Show

David Lawrence asked me on his show tonight to talk about my recent experiences with ADD treatment and lack thereof, and to generally talk about my experiences. It should be interesting. If you want to tune it, it is available on:

XM Satellite Radio – 152 Extreme
Sirius Satellite Radio – 148 TalkCentral
KBNP/Portland

Over the last 25 years I’ve gone back and forth on being open about my ADD and learning disabilities. Since I am going on the radio, I guess I am back in an open phase. :)

Well, sort of. Until my blog post I actually was pretty quiet about getting treatment. I was a bit surprised by the negative reaction I got from a fair number of friends when I mentioned I was even thinking about going on medication. If I was getting the reaction from friends I figured it would be better to keep it pretty quiet overall. After a week though I felt quite a bit better hearing comments like, “Ok, something is very different with you recently (in a good way), what gives?”

Before seeking a drug for ADD, I concentrated on behavioral changes to deal with it. This includes changing some of my techniques for getting things done, but also it is about creating a good environment that is more conducive to my needs. In a workplace though, creating a good environment often required asking for thing that you need changed at work, whether is your workspace or your work tasks. This is when it gets pretty sticky.

The sort of modifications that ADD folks need for their work space are things like privacy, quietness and no visual distractions. These needs make cube life very difficult. A private cube is better than a bullpen. A cube on the edge of a cube pool is better than one in the middle. An office trumps any sort of cube. Do you see the sticky spot? Things that help an ADD person are environmental elements that everyone wants, and are often granted by seniority or rank rather than need.

To get a better workspace based on need before you would have “earned” it in that passive aggressive office one-upmanship, marks you to your co-workers. Getting what you need means frequently damaging relationships with co-workers. Mentioning that you have a medical condition requiring it, will generally just make things worse with comments about how ADD is a fad condition, or that you must have some sort of unscrupulous doctor.

This is all to say that behavioral treatment can get you where you need with a lot of work, but often with a lot of social consequences. Taking a small pill once a day gets me to the same place or better without the need to “stand out” in uncomfortable ways. A more positive way of looking at it though is that Adderall gives me the ability to function in a variety of environments now, where before I was limited to working in optimal conditions. That flexibility is worth a lot to me.

My guess is that we will be talking all about this tonight 8-9PM PST. :)

Flash Lite Game: Aces High

  

I started writing this Flash Lite solitaire game, Aces High (right click and save target) on the plane on the way back from Flash Forward NYC being very energized by a good conference. I finished the programming pretty quickly, but I’ve been sitting on this file for a while because of design. I wanted to see how much control I have on colors and optimization, so I did some playing.

I was interested in doing a comparison of Vector v. Bitmap graphics. In then end I decided to go completely towards bitmaps. With such a small screen, every pixel counts. The numbers and suits on the cards really required snapping perfectly to the pixels. Even when using the pixel fonts I was getting some blurriness every once in a while. With all card details as bitmaps now, I never get blurriness on the phone. (For those wondering, As you can see, the file looks pretty nasty on the web. I probably need to make a loader shell and nudge it around a bit. It looks great on the phone though)

For the backgrounds, I am using a modified version of a pixel pattern found on K10K. If you haven’t already, definitely take a look at the patterns. They are excellent for using in Flash Lite applications. Most are fine for use in non-commercial applications, and can really inspire some fun ideas for the design of the rest of the application. On top of that, since they are times, you can have a complex background that fills the whole screen but is really a collection of manually placed tiles.

I then placed the game title as a transparent gif on top of the tiles to break the monotony. For the instructions screen, it is built much like an HTML table with corner and side gifs. This ended up being just three bitmaps which are rotated and reflected as needed to make the balloon.

The only downside to going with bitmaps is the fact that it looks pretty bad when not on the target device. On a Sony Erickson UIQ phone it would look pretty bad. Then again, with the jog wheel, I would need to alter the navigation to make it work better with an up/down navigation rather than a 5-way button, so I would have work to do anyways.

This is another application where I decided to add a desktop-like cursor. I think it simplifies the interaction and gives the user a clear focus for where their attention should be..

Flash Lite Contest

The Boston Macromedia Mobile User Group is having a Flash Lite Contest where you can win a copy of the shiny new Studio 8 (it is nice to be able to have Flash as a prize in a contest when everyone hasn’t necessarily already gotten it yet).

While the contest is cool, I think it is far more interesting that there is a MMUG specifically for mobile. I wouldn’t have guessed that there would be a critical mass yet for a group. It makes me wonder if there is interest in the San Francisco Bay area/Silicon Valley. If you are in the area and would like to meet up, post a comment. To get started, I was thinking that it would be good to just start by meeting up at the Mobile Monday meetings and socialize afterwords.

Vendor Splendor

Vendor Splendor

One of the more strange traditions at Yahoo! is Vendor Splendor, where the many companies that we interact with to come and set up tables and give us tchotchkes. If you want things like Avis squishy cars, stuffed animals, yo-yos, pens, underwear (thanks W hotel), and even Y! shaped bubble loops, this is the place for you.

Having gone to them in year past, I didn’t really go for the tchotchkes this year. Every winter they get tossed out anyways, but going to gawk is still fun. There actually are some pretty good deals at the tables in the past like discounts on Costco membership, discounts on wireless service, and the employee discount for Apple (10%).

While at the Apple table I got to play with the iPod Nano. It was pretty slick. It wasn’t terribly new or anything other than it would be smaller in my bag and no spinning hard drive. I would also be curious about battery life. It seems like it would use less power, but my 40 gig has a battery probably about the same size. ;)

Flash Lite Flickr Search

  

Get the SWF for your phone here (right mouse click and save target/link as…).

FlickrSearch allows you to enter a word which will then return images from Flickr related to that tag. The application goes out and gets the information needed to make the image URLs for up to 100 results, and then the images are displayed in a circular queue. You don’t get any navigation options, it is just a slide show, but you also won’t get any new network request permission dialogs. The swf is set up to constantly get images so that the connection never closes. I could queue the images, but I also decided that I didn’t want to let the memory get out of hand, so there are really ever the four images in memory at a time.

This is a collaborative project that I did with Jesse Wolfe, an engineer in the Yahoo! Prototyping group to work with the Flickr API available on the Yahoo! Developer Network. Jesse really did the heavy lifting on the project doing the PHP work to integrate with the Flickr API and convert the XML results to Flash variables.

We collaborated on the flow of the Flash Lite client application and what needs to be supplied to the server and what should be returned. While Jesse was working on the PHP for Flickr, I was working on getting the JPG2SWF code ready so that it could run on a later version of PHP (the Flickr code wasn’t really compatible with the old version of PHP that did support Flash Writer Toolkit).

We each had different needs for our clients, so this is where our implementations diverge. I’m using this in my hands-on sessions at Macromedia Max so I need a somewhat more streamlined version that reduces the overall complexity and code. Jesse is working on a more feature-rich version.

For those interested in the source, I will be giving it out at MAX, and on my blog after the conference.

iPod Nano… Its like buttah!

country crock nano IPod

As a Tivo user I am generally one of the last to see a commercial. Tonight I saw the iPod Nano commercial and afterwords I had an unreasonable hankering for a muffin with way too much butter on it. Apple has always taken interesting approaches to advertising, but re-inventing the old country crock commercials seems avant garde even for them.

The country crock commercial series was this whole obnoxious series of commercials where you just see the hands of this lovey dovey couple. They are always very sweet to each other but fight over the country crock, and always always always use a frightening amount of it in the end. I guess their arteries hardened too far, because their ghosts seemed to be back in the last half of the iPod Nano commercial where it is zoomed in on too hands playfully fighting over the iPod.

Coverwitch

Martha Stewart Witch Cover

The editor of Martha Stewart Living apparently likes to live life on the edge. In an era of vanity magazines like O where Oprah is on EVERY cover, what does it say when the the Martha Stewart Living Magazine has a witch for the cover? Ok, is also says Halloween is coming. But really, look at the category and come along for the catty ride with me. ;)

Actually that is really all I have to say about the cover. It was a cheap joke better shared. :)

I did however get an update from my aunt whose name happens to also be “Martha Stewart” about the show idea the ex-con Martha had for her new talk show where she wanted the entire audience to be women who share her name (the most sharing Martha Stewart has ever done). My original thought that she was getting them all into a room to file a reverse class action lawsuit for trademark infringement didn’t pan out, but I did get some details on the logistics.

Martha does want 150 Martha Stewarts to come to the show. However she does not want it enough to pay any expenses. I think they might get lunch or something but that seemed iffy. Rightly so, my aunt isn’t all that keen to pay to go help boost the ego of the woman that has made her name a bit of a joke.

I Can Tell Your Bag is Fake

I can Tell Your Bag is Fake by Todd Goldman

On a recent trip to Las Vegas, Ray and I managed to avoid blowing money on the casinos, but with about an hour to go before heading to the airport, they got us! Checking out the canal shops at the Venetian we found an art gallery featuring two artists. (“we found an art gallery” is a dangerous phrase these days ;) )

I was first attracted to the gallery because of the show for Tom Everhart who has done modern pieces using Peanuts characters. Stephanie and I did a mini road trip up to Santa Rosa to see a Tom Everhart show actually at the Charles Schulz museum. It was neat to see a lot of original works by Everhart.

We turned the corner and were introduced to the works of Todd Goldman. His paintings are colorful, funny and I burst out laughing within five seconds of entering the room. It was pretty shocking that we actually bought a painting so quickly. Normally this is a much more research and soul searching (and bank account searching) experience for us.

We were sold already on how much we liked the painting, but there were a few extra factors that really excited us. The painting is actually one in a new series of Lithographs being made. Having the original behind a poster is pretty cool. He also has a new animated series called “The Stupid Factory” coming out at some point featuring Trendy Wendy (the figure on the left).

Whether all of this increases the value of the painting or not, I still smile every time I see it, so it is well worth it. The problem is always that even if it does well, could I part with it to cash in?

Flash Lite JPG2SWF source

If you develop for Flash Lite 1.1, FlashLite Writer Toolkit is a very good and very simple solution for converting JPG files to SWFS on the fly.

For the last year I have been using Flash Writer Toolkit from bronson beta. I’ve been very pleased with it. It is super easy to use, it only has three small PHP files and has no dependencies on any other libraries. I have however been a bit tight lipped on it though, not because I didn’t want to tell people how cool it was but because it had one serious flaw.

The PHP file is old. If was made in the days of solving the problem in Flash 5. Because of that, you have to make a small modification to let the file even open in Flash Lite (based on the flash 4 player). Beyond that though was the more serious issue that It was built for an older version of PHP. Methods like fopen work differently now and the tool simply didn’t work in the newer versions of PHP.

My skills at PHP are very much in the dabbling area and debugging an application that is reconstructing a binary file was really not going to be an afternoon project for me. Laziness won out and I just installed an old version of PHP. Finally I’ve gotten around to tweaking the original source and the example to be particularly useful for Flash Lite.

It turns out that there really wasn’t much to change, but since posting a revised copy is much easier than explaining what to change over and over, here you go. ;)

To use the files, just drop all three in a directory on a webserver running PHP. You should only need to modify the jpg2swf.php file. You just supply a URL and you are off to the races. When laziness is beaten back once more, I really need to add support for the GD libraries to resize images, auto rotate them and do all the other fun stuff that GD 2 does.

Thanks to Henri who mercifully ended my confusion on several PHP things.