So the updated is finally here. The fullscreen on hulu.com is working, but its a little choppy on the FPS. The fullscreen doesn’t fill up my 1080p screen like watching fullscreen hulu on my PC. YouTube’s fullscreen that was in a page was interesting. It worked but the quality was lacking.
Other cool feature support was my friend says he was watching hulu movies on his PSP with remote play.
Either way this is good progress for the Flash Platform. And remember to go get 2.53 right now….
December 2nd, 2008
I was reading about some updates for the PS3 and notice mention about full screen flash. I was thinking that wasn’t possible unless they had Flash Player 9, previously the PS3 only had Flash Player 7. The details on the web are all fuzzy and I couldn’t tell what it really meant. But either way I power up the PS3 and in the browser went to:
http://www.adobe.com/products/flash/about
On that page it shows that the Flash Player version for my PS3 with firmware 2.52 has Flash Player 9.0.124.0. That is news to me, and I thought would be big news to alot of people. Well go try it out and let me know if I am not going crazy.
Note I tried Hulu.com and was able to play videos but clicking on the fullscreen button it didn’t quite work. It didn’t go into full screen mode but it did get rid of the menu buttons and became smaller in its original place, which was a little weird.
I guess PS3 firmware 2.53 is due out anytime now (it was leak that it was going to be release on Thanksgiving Day). The 2.53 release is suppose to fix the Flash Player fullscreen issue, I guess we’ll see. Either way with Flash Player 9 you should be able to run Flex applications on the PS3 now.
December 1st, 2008
The solution to accessing the loader information url property is quite easy in Flash ActionScript 3. But when you Google for the solution its not obvious. Hence I am creating a post about it.
In Flex you can access the url of the SWF by accessing Application.application.url. What this value represents is the root.loaderInfo.url property. So in Flash and AS3 you would do this:
ACTIONSCRIPT:
-
var tf:TextField = new TextField();
-
tf.autoSize = TextFieldAutoSize.LEFT;
-
tf.border = true;
-
addChild(tf);
-
-
tf.appendText("params:" + "\n");
-
try {
-
var keyStr:String;
-
var valueStr:String;
-
tf.appendText(LoaderInfo(this.root.loaderInfo).url + "\n");
-
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
-
for (keyStr in paramObj) {
-
valueStr = String(paramObj[keyStr]);
-
tf.appendText("\t" + keyStr + ":\t" + valueStr + "\n");
-
}
-
} catch (error:Error) {
-
tf.appendText(error.toString());
-
}
The important part is accessing the root's loaderInfo object. The above code also shows how to access the FlashVar parameters in ActionScript 3.
Example code referenced from here.
October 16th, 2008
I am still waiting for my session on the TestPoint approach to show up on the 360Flex Conference video feed. In the mean time I have put up the source files to the examples I used during the session. You can find them at - http://renaun.com/blog/testpoint/. As I get more time I'll be updating the TestPoint testing approach page with more information.
I also updated the RIALogger.swc and RIALoggerApp AIR application with some minor changes.
August 26th, 2008
This release is a bug fixed around reading atom's that are not more than 8 bytes. Thanks to Brandt Michael for pointing out the bug. I guess it affected mp4's coming from ffmpeg.
August 14th, 2008
I am using Flex Builder 3 to build Gumbo (Flex 4) application targeted for Flash Player 10. I came across this situation in the Gumbo skin file where I wanted to put a mx.controls.Image control into the skin. When trying to add both "http://ns.adobe.com/mxml/2009" and "http://www.adobe.com/2006/mxml" namespaces I get the following error.
Only one language namespace must be specified per document. Found 'http://ns.adobe.com/mxml/2009' and 'http://www.adobe.com/2006/mxml'.
To get around this you need to declare the specific package as the namespace. Like this:
xmlns:controls="mx.controls.*"
NOTE: There is more in depth information on this namespace issues in MXML 2009 spec under "Namespaces and Component Disambiguation".
August 5th, 2008
I have finally been able to get some time to overhaul the RIALogger and supporting logging classes. This version does not work with older versions as I change the plumbing (how the data goes across LocalConnection) drastically for performance reasons. You'll need the new RIALogger.swc that now uses a RIALogger class instead of Logger class.
Main changes:
- multiple windows, the main window has bars that show the log identifier and how many log messages.
- popup windows show the log messages as well as features for the new TestPoint approach
- By default the RIALoggerApp is not listening for log messages, you have to turn on the connection. You can toggle it on and off now.
- Two color themes (dark,blue) for the application, maybe more in the future.
- Self updating, it checks for updates and prompts the users if they want to update.
If you want to find out more about the TestPoint approach, register for 360Flex San Jose and come to my talk.
July 26th, 2008
I'll be speaking at 360|Flex! But don't let that stop you from attending.
You should be attending to hang out at the eBay campus with a bunch of cool/weird/fun/nerd/weirder/hungry/bright/geek/etc... flex developers! You can figure out where Tom and John fit into the picture but you need to Register now!
July 14th, 2008
I needed to draw some dashed lines and polylines for something I was working on. I was already using Degrafa and wanted to create the dashed lines by extending Degrafa. It was actually easier then I thought it would be.
You can see the finished result here and the view source code is enabled through right clicking. The two new classes DashedLine and DashedPolyline extend Line and Polyline and added two new properties "dash" and "gap". You set these two values with the value of how big you want the dash and the gap to be. In the future this could be extended to have any number of dash/gap patterns but all I needed was a simple repeating one.
This was based on the Degrafa 1.2 swc but it should work for the 2.2* latest drops.
All the extending that was needed was to inherit the Line and Polyline class and override the preDraw() method. In the overridden preDraw() method I looped through the normal x,y cords and create extra commands based on the dash and gap properties that I exposed in the two new classes DashedLine and DashedPolyline.
NOTE: I did find the use of private member variables and methods in Line and Polyline to be restrictive and had to call super.preDraw() first to make sure some things where called. It still worked for my case but if you wanted to do something total different it was impossible to set the _setBounds correctly.
June 16th, 2008
There was a small change in Flex 3 that causes the RemoteObjectAMF0 class to not compile in Flex 3 apps. I have updated the class and the swc.
The updated RemoteObjectAMF0 code can be found in the renaun_com_RemoteObjectAMF0_flex3.swc in the zip file at - http://renaun.com/flex2/RemoteObjectAMF0/renaun_com_RemoteObjectAMF0.zip
NOTE: updated again to add a line to delete references to the responders after it is passed back.
June 16th, 2008
Previous Posts