Factum Vicesimus Quartus

Exploring web x.0, innovation and RIA techniques

Add to Netvibes    Add to Google




Flex Videodisplay full-screen

January 11th, 2007


Yesterday I was working on my flex videoplayer again and I explored the brandnew full-screen support of the latest Flash Player (version 9.0.28.0) together with Remon Strampel. We discovered an ActionScript class written by Manish Jethani which extends the mx:videoDisplay component in Flex and adds full-screen support to it. To use this ActionScript class, place it into your flex application folder (I placed it in a sub-folder called ‘com’) and create an XMLNS link in your mx:Application tag, create an import link in the script area of your application and simply replace your VideoDisplay code with FSVideoDisplay. Now you can create a button which calls a function that resizes your video window. See code below for an example:


The original article of Manish Jethani can be found here. NOTE: You need to update some files before you can use this new feature. The files can be found here. You also need the latest version of the Flash Player (version 9.0.28.0) or later.

Popularity: 18% [?]


3 Responses to "Flex Videodisplay full-screen"
  1. # 1   Andy
    May 25th, 2007 at 16:12

    does not compute. is there no other solution around by now?

  2. # 2   Pablo
    July 18th, 2007 at 18:05

    Hi, this works great! but I am getting an error when going back to normal screen:
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Stage@aebf1e9 to mx.core.IChildList.
    at mx.skins::RectangularBorder/::removedHandler()

    if I remove the border, then everything is ok.. so problem is in RectangularBorder::removedHandler()

    any ideas?
    thanks!

  3. # 3   Daz
    August 8th, 2007 at 12:02

    Hi Pablo,

    I’ve got the same problem as you here. I’m getting the same error. How did you remove border in the code? I can’t resolve the problem. I just get more errors.

Leave a Reply