Archive for March, 2008

BUG: onPress Fullscreen AS2 published as Flash9

Tuesday, March 25th, 2008

Working on a project today, I realized some very strange behavior when going fullscreen in Flash. Everytime I went fullscreen, the player would continue to have a mouse over state until I clicked to activate it again. At first I thought maybe I'm setting a button, sizing it oddly, or something to that effect. However after further investigation, what appeared to actually be happening was the player didn't seem to be registering the system's mouse up event. With that in mind, I knew that the onPress event was my fire starter, and could do a simplified test. However, the odd thing about this behavior is that it only occurred when publishing as Flash 9/AS2. If I published as Flash 8/AS2, it worked like a charm. So this is a heads up to everyone which may prevent some hair pulling.

If you want to test it yourself, just create a simple button called fullscreen_btn and add the following code to your fla (publish as Flash 9/AS2)

fullscreen_btn.onPress = function (p_evt:Object):Void
{
Stage["displayState"] = (Stage["displayState"] != "fullScreen")? "fullScreen" : "normal";
}

Cartoon Network Video goes Flash

Tuesday, March 25th, 2008

It almost seems medieval that Cartoon Network was still using Windows Media for their video delivery platform in this day and time, but they stepped out of the dark ages yesterday. Just like Adult Swim, it was a matter of just encoding all the videos to FLV and switching the playback for their current application. Then "POOF", they are using Flash video. Now the chains are finally off their wrists and they can start moving forward and push ideas rather than have them constrained. Congrats to my friends at Cartoon, and thanks for letting myself and Dreamsocket do the switch for you!

I’m on Twitter

Tuesday, March 25th, 2008

Finally making use of Twitter. Catch my random thoughts there.

Fullscreen works with WMode

Thursday, March 6th, 2008

In a previous post I pointed out that setting WMode in the HTML params for a Flash file would bind the player to the browser which in turn would cause fullscreen not to work. Well folks, I'm happy to say that in the latest player 9,0,115,0 (aka MovieStar) this is no longer an issue. Bug 202290 is fixed!