Posts filed under 'Rich Internet Applications'

PS3 Flash Player Version 9.0.124.0

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.

6 comments December 1st, 2008


Application.application.url in Flash AS3

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:
  1. var tf:TextField = new TextField();
  2. tf.autoSize = TextFieldAutoSize.LEFT;
  3. tf.border = true;
  4. addChild(tf);
  5.  
  6. tf.appendText("params:" + "\n");
  7. try {
  8.     var keyStr:String;
  9.     var valueStr:String;
  10.     tf.appendText(LoaderInfo(this.root.loaderInfo).url + "\n");
  11.     var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
  12.     for (keyStr in paramObj) {
  13.         valueStr = String(paramObj[keyStr]);
  14.         tf.appendText("\t" + keyStr + ":\t" + valueStr + "\n");
  15.     }
  16. } catch (error:Error) {
  17.     tf.appendText(error.toString());
  18. }

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.

Add comment October 16th, 2008

TestPoint example files

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.

1 comment August 26th, 2008

QTIndexSwapper v1.4.2 update

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.

5 comments August 14th, 2008

Gumbo Skin mxml with Flex Builder 3 namespace error

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".

2 comments August 5th, 2008

RIALoggerApp and RIALogger.swc updates

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.

Add comment July 26th, 2008

360Flex <30 days <$500

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!

1 comment July 14th, 2008

DashedLine and DashedPolyLine extending Degrafa

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.

Add comment June 16th, 2008

RemoteObjectAMF0 swc for Flex 3

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.

5 comments June 16th, 2008

RIALogger updated to v1.6

The release of RIALogger v1.5 for AIR 1.0 was not very stable and was in between a transition period. I originally thought I would get around to update it quicker. Well I finally updated to be more stable and better performance when viewing large amounts of data. A new UI update will hopefully come after this.

Get the newest application here.

Add comment May 16th, 2008

Next Posts Previous Posts


About: I work as a Platform Evangelist for Adobe Systems Incorporated.

My Amazon.com Wish List

Calendar

March 2010
S M T W T F S
« Nov    
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex