Archive for category General
Charles: Rewriting Url Requests (Find a Wii)
Posted by Kenny Bunch in Flash, General on January 8, 2007
Have you ever wanted to manipulate a url request on the fly (change the header, modify query params, etc.)? The reasons for doing this can vary from production debugging to manipulating requests made by another site. Though I haven’t really seen it highlighted, Charles, one of the common tools used by Flash developers for monitoring HTTP traffic has this feature built in. The feature is called rewriting and is quite easy to use.
To explain how to use this feature, I’ll illustrate it with a technique that tricks the Target.com store into telling you where all the Nintendo Wii’s are in your area.
STEPS
- Open Tools -> Rewrite from the application menu
- Select Enabled
- Add a Set, name it Target Wiis, which just gives a label for you to recognize the requests you want to match
- Add a Host, use *.target.com, which will match all request made by target.com
- Add a Rule
– select type Modify Query Param
– in match’s name field type asin (we are going to replace the query param asin with our own custom param)
– in new’s value field type B0009VXBAQ (we are going to replace the product identifier with a Wii console, so we can view results for Wii’s in the area)
– click ok - Go to a product page on Target.com that has a Find at Stores button (sample product page)
- Enable Charles, click the find store button, enter your zip code, the results will not show the product that you clicked but the locations of Nintendo Wiis instead.
This is a great feature, especially if you are wanting to do general request changes. However, if you are doing specific query parameter changes and don’t want to set them up as a stored process, I’d recommend the FireFox plugin Tamper Data. The plugin allows you to view the request data laid out in a form and change it as it is being requested instead of setting it up before hand.
Hopefully this can help someone with their debugging/development process as well as give those searching for a Wii a little trick to use to their advantage.
Presenting at FITC Toronto 2007 : Time Shifting Entertainment
Posted by Kenny Bunch in Flash, General on January 5, 2007
I will presenting “Time Shifting Entertainment” at FITC Toronto 2007, that takes place April 22-24, 2007 in Toronto, Canada at the Toronto Hilton. The presentation tends to be a pretty high level discussion about media consumption and distribution shifts. It starts with a look at history, transitioning into what is currently happening with media, and finally gives a personal forcast for the future. The media I focus on is video, but the principles can be applied to others as well. The presentation doesn’t get to technical, though I do show some personal application examples (ex:Cartoon Network Video, Toonami Jetstream, Adult Swim Fix, and the CBS Affiliates’ video integrations) and explain elements they contain that are key for them being viewed as a success.
The presentation is a little dated, with some of the future predictions actually occurring now. I may update it, and also add in recent work done with SonyBMG, Playstation America, SuperDeluxe, and others. I’m hoping to keep it interesting to a more technical audience, as well as still appeal to the more general one. Regardless, I’m excited to be presenting and look forward to seeing everyone in Toronto.
My 2006 Reading List
Posted by Kenny Bunch in General on January 4, 2007
For the past few years, most everything I’ve read has been technical. This past year I decided to feed the other part of my scholastic upbringing by reading business oriented books as well. Though I still maintained a healthy technical intake, that reading was reserved to documentation and online materials. For those with any curiousity, below is the list of some of the books I read during 2006 in no particular order.
7. Business the Richard Branson Way
10. The Google Story
13. The Elements of User Experience
14. Getting Real
SuperDeluxe Coming to an Internet Near You
Posted by Kenny Bunch in General on January 3, 2007
Turner has a new comedy broadband network, SuperDeluxe, in the works. Other announcements detail out what exactly it is, so I won’t give a full briefing here.
What I will say is that I have been involved with the project alongside my friends Todd Dominey, Robert Occhialini, and their talented crews. It should be interesting to see what a corporate entity can produce in a world that seems to be drastically changing from non corporate influences.
Look for SuperDeluxe to drop soon, in the meantime go play with my bubbles
.
WMode causes Flash fullscreen mode not to work
Posted by Kenny Bunch in ActionScript, Flash, General on December 27, 2006
Flash’s new fullscreen mode does not work when you set the wmode param in the embed code to transparent or opaque. Fullscreen mode will only work if wmode is not set by the embed. I saw the issue come up on a project, so I thought I’d point it out for others since it is not outlined in Adobe’s documentation.
PS3 and WII Flash capabilities dump
Posted by Kenny Bunch in ActionScript, Flash, General on December 27, 2006
I ran a simple Flash capabilities dump script on both the Nintendo WII and the PS3. I then did a diff of the two outputs against each other and against a PC.
Below are the results:
WII/PS3 to PC Differences
WII to PS3 Differences
WII/PS3 Version Strings
PS3 7,0,70,0
WII 7,0,70,0
WII/PS3 Flash Capabilities Output
Read the rest of this entry »
Creative Circus Presentation: Your Road and Mine
Posted by Kenny Bunch in General on August 10, 2006
Last night I gave an impromptu presentation to a group of students learning the basics of Flash. Thinking of how to title the presentation, I came up with “Your Road and Mine”. My initial thinking in giving the speech was to give the students a look at how I came to be in the position I am now, illustrating how Flash played a role in it and how it could play a role in their life. After a few students started asking questions during the presentation, it became clear to me that technology wasn’t a good basis for the discussion. Their main concern was how do I get a job at company X. So I diverted my talking to cover that topic. Below are the main points, which I think are beneficial to anyone looking for a job.
MIT: Structure and Interpretation of Computer Programs
Posted by Kenny Bunch in General on August 1, 2006
For those who follow the scholastic ciriculum of MIT, Structure and Interpretation of Computer Programs has been the introductory subject for it’s computer science department since 1981. Both the course and it’s accompanying textbook have had a profound impact on the subject of computer science.
For those not fortunate enough to have attended the school, you can view the book’s entire text online and download twenty two videos of both Hal Abelson and Gerald Jay Sussman teaching the course. I can’t stress how valuable this type of open education is, and highly recommend checking out these resources.
Todd Wagner’s Vision of Entertainment
Posted by Kenny Bunch in General on July 31, 2006
For those who don’t know who Todd Wagner is, Todd is best known as having been the CEO of Broadcast.com and one of it’s founders. Alongside his partner, Mark Cuban, they sold the company to Yahoo! in 1999 for $5.7 billion. Currently, Todd and Mark coown and manage a number of properties including 2929 Entertainment, HDNet Films, Magnolia Pictures, Landmark Theatres, HDNet, and HDNet Movies. While I was visiting Hollywood last week, I was fortunate enough to receive a verbal braindump from Todd on what his vision of the past, present, and future are. With so much power, he has the influence to create change. Being able to hear his insight first hand was truely a privilege.
Todd started his dump with the past, speaking to Broadcast.com and what their vision was. In a nutshell, I got the feeling he was describing it as a global, archived library of media to the effect of a YouTube, but with only traditional media assets. He made comparisons with what is going on today and mentioned that it is just a reverb of what happened then, only now it is being truely realized. He went on to reason that the dramatic push we see today is rooted in a generation coming of age. He felt that the youth that grew up in this digital age are now pushing it as part of their lives. Though I agree with this, I would add that there is a deeper root, experince and technology. At the time of Broadcast.com, the experience and technology were completely different. Broadband wasn’t a commonality like it is today and the metaphor for the web was a page and not an application. There was an explosion of services and information early on, but it didn’t fit into our lives easily. The web was slower, the applications more cumbersome, and the information harder to sift through. We have seen all of these elements mature. To that effect, the masses won’t adopt something unless it is a pleasure to use and provides some benefit in their daily lifes. Case in point, look at MP3s, Napster, and the IPod. Though we all may have visions of what is to come, they will never be realized until we make them accessible to the masses. It is when things become beneficial to us by either desire or need that we push them into our lives and our culture.
As Todd switched gears to what he is doing in the present, the endpoint of his ideas touched on “experience”. You can see from Todd and Mark’s endeavor’s that they are vertically integrated in the entertainment industry, from production to distribution. This integration could be partially compared to Apple’s vertical integration with ITunes Store, ITunes software, and the IPod. Though parts are different, they are seeking to make the end to end routing of entertainment more efficient. Apple currently handles the digital route, while Todd and Mark are seeking both traditional and digital routes. Todd’s thoughts on these routes came out like a line for line play out of Bill Gate’s “The Road Ahead”. In Gate’s book, published in 1995, he describes entertainment breaking down into a multiplatform release, with variant pay points for each platform. For example, some will pay more for the convience of accessing a movie at home, while others want the experience of socialization and will go to the theaters. I completely agree, and would say that it applies to various media distribution, as we have seen with ITunes. The problem is that traditional media fears emerging distribution routes as being canablistic on existing routes. In reality, parts of the consuming public don’t feel the experience of existing routes are appealing. Therefore, some people are not consuming because the routes are not appealing to them, and an entire audience is being missed out on. Therefore in a lot of ways, emerging routes are for an audience that you are not getting, or are losing. If you do not open up an easy route for that audience, they are lost or they turn to unsanctioned (pirated) routes.
In retrospect, I would say I’m excited about what Todd and Mark are doing. They are owning the “shop” versus convincing it, which I struggle with constantly. Being in the same space, it was an honor to get first hand insight from someone so influential in shaping the future of entertainment.
Making SWFs Aware of Browser Sessions
Posted by Kenny Bunch in ActionScript, Flash, General on July 25, 2006
In my previous post about the Nascar slideshow, I mentioned how the module had variant behavior based on whether you had seen it or not during the current browser session. Though I briefly described the process to make this happen, I've decided to share example code of how this is done.
What is a Browser Session?
First off, when I speak of a browser session it is important to know exactly what I mean. Loosely defined, a browser session is the time duration from the point at which a session is started (while the browser is open) until all instances of that browser are closed. A session typically can be started by setting the session on entrance to a site, at login to a site, or at some other predetermined time.
Does a SWF know about a Browser Session?
A SWF has no internal way of knowing whether it was being visited another time by navigating in the same browser (page forward, page back, page refresh, etc), or whether it is the initial visit by a fresh browser instance. This lack of knowing presents an issue of being able to act on a temporary browser session. Essentially, the SWF doesn't know when or how it was opened. For example, setting a Shared Object and reading it, you don't have a way to clear it when a browser closes (without help) or know whether it was set before you restarted your computer. Thus it knows nothing of its opening relationship, only that it was opened. Instead, the information has to be given to the SWF by the browser, since the browser is aware of it.
Making the SWF aware of the Browser Session
In order to do make the SWF aware of the session, you can create a browser based session cookie (a temporary cookie that is removed when the browser is closed). You can then pass the existance of this cookie into the SWF as a FlashVar with a Boolean value. If it exists you know that you are in a current session, if not the SWF is being opened for the first time in this particular browser instance. The timing at which you do this is important, as you want to write out the SWF first, then create the session cookie so it is available for subsequent embeds .
EXAMPLE CODE:
Using SWFObject, adding the session information to a swf is pretty easy to do:
-
var so = new SWFObject("TestBrowserSession.swf", "session" , 50, 50, 6, "#FFFFFF");
-
// session flag to swf
-
so.addVariable("FLASHVARS_hasSession", (document.cookie.indexOf("session=exists")!=-1) ? "true" : "false");
-
so.write("sessionDiv");
-
// set session
-
document.cookie = "session=exists;";
A working example can be seen here.

Subscribe to RSS