flashplayer: Category

Category: flashplayer

H.264 Support in FlashPlayer

Posted At: August 22, 2007 11:08 AM | Posted By: Jeff Tapper
Related Categories: actionscript3, adobe, apollo, as3, enterprise, flash, flashplayer, flex2, flex3, fp9, h264, mpeg4

I missed it yesterday, when it was announced, but Adobe has now announced support for H.264 (also know as MPEG4) in an upcoming version of the flash player.  H.264 is the same standard which is used by BluRay and HD-DVD — the ability to have this type of video in our web applications is absolutly huge.  Remember, not that long ago, Adobe announced plans for the Adobe Media Player (AMP), as a desktop application which was built with AIR and Flash — now, AMP will be able to use H.264 as well as FLV for its video content.

 

 

Comments (0)

FlexManiacs 2007 – Getting Started with Apollo

Posted At: June 27, 2007 12:06 PM | Posted By: Jeff Tapper
Related Categories: actionscript3, adobe, apollo, as3, flash9, flashplayer, flex2, flex3, fp9, ria

As promised, here are the starting files from my "FlexManiacs 2007 – Getting Started with Apollo" session.  Thanks for attending my session, I hope you enjoyed it and the FlexManiacs Conference.

Overall, i thought this conference was a great success.  Many attendees of all levels.  Great networking, Great debates, and an all around good time.

Comments (8)

A Great big pile of public beta’s from Adobe

Posted At: June 11, 2007 10:06 PM | Posted By: Jeff Tapper
Related Categories: actionscript3, ajax, apollo, as3, flash, flash9, flashplayer, flex3, fp9, free, scorpio

Today, Adobe has released 3 new public beta's on Adobe Labs:   The Adobe Integrated Runtime (formerly known as Apollo) beta, the Flex 3 Beta, and the Flash Player Updater were all publicly released on Labs today.  I've been recovering from a failed hard drive all day (remind me to post a blog about the wonders of SpinRite 6.0 when i get a minute), but I'll post more about all 3 of these, as well as the ColdFusion 8 (Scorpio) beta released 2 weeks ago, when i get a few minutes.

Comments (0)

Flash Player 9.0.28 bug – embeded images and ContextMenu

Posted At: February 1, 2007 2:02 PM | Posted By: Jeff Tapper
Related Categories: flashplayer

In work for a particular client, we noticed an odd little bug with the latest Flash Player (9.0.28).  It seems that context menus (the items which appear when you right click) dont work when the right click is on an embeded image.  Take a look at this simple example:

main.mxml:

 <?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
 xmlns:v="*"
 layout="vertical">
 <v:DisplayIcon label="Embeded" useEmbeded="true" />
 <v:DisplayIcon label="Loaded" useEmbeded="false"/>
</mx:Application>

DisplayIcon.mxml:

<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
 creationComplete="buildContextMenu()" height="110" width="216">
 <mx:Image id="img" horizontalCenter="0"/>
 <mx:Label text="{label}"  horizontalCenter="0" bottom="0"/>
 <mx:Script>
  <![CDATA[
   import flash.ui.ContextMenu;
   import flash.ui.ContextMenuItem;
   [Embed(source="TapperNimer_logo.png")]
   public const yellowBevelPerson:Class;
   [Bindable]
   public var textStr:String;
   public var useEmbeded:Boolean
   public function doEmbed():void{
    if(useEmbeded){
     img.source = yellowBevelPerson;
    } else {
     img.source = "TapperNimer_logo.png";
    }
   }
   protected function buildContextMenu():void{
    var myContextMenu:ContextMenu = new ContextMenu();
    myContextMenu.hideBuiltInItems();
    var items:Array = new Array();
    var item:ContextMenuItem = new ContextMenuItem("Display Text");
    items.push(item);
    myContextMenu.customItems = items;
    this.contextMenu = myContextMenu;
    doEmbed();
    
   }
  ]]>
 </mx:Script>
</mx:Canvas>

As you can see, the DisplayIcon component has an image and a label, and based  on the value of the useEmbeded property, it will either embed the image, or load it dynamically at run time.  As you can see from these 2 screen shots, the problem arises when i right click on the top (embeded) image.  it shows the default context menu, rather than the custom one i have specified.

 
 

Fortunately, the work around is easy enough, if you set the mouseEnabled property of the image tag to false, it solves the problem

<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
  creationComplete="buildContextMenu()" height="110" width="216">
 <mx:Image id="img" horizontalCenter="0" mouseEnabled="false" />
 <mx:Label text="{label}"  horizontalCenter="0" bottom="0"/>
 <mx:Script>
  <![CDATA[
   import flash.ui.ContextMenu;
   import flash.ui.ContextMenuItem;
   [Embed(source="TapperNimer_logo.png")]
   public const yellowBevelPerson:Class;
   [Bindable]
   public var textStr:String;
   public var useEmbeded:Boolean
   public function doEmbed():void{
    if(useEmbeded){
     img.source = yellowBevelPerson;
    } else {
     img.source = "TapperNimer_logo.png";
    }
   }
   protected function buildContextMenu():void{
    var myContextMenu:ContextMenu = new ContextMenu();
    myContextMenu.hideBuiltInItems();
    var items:Array = new Array();
    var item:ContextMenuItem = new ContextMenuItem("Display Text");
    items.push(item);
    myContextMenu.customItems = items;
    this.contextMenu = myContextMenu;
    doEmbed();
    
   }
  ]]>
 </mx:Script>
</mx:Canvas>
 
 

This bug has been filed and acknowleded by Adobe, so will hopefully be solved in the next release of the flash player…

 

 

Comments (1)

Flash Player 8.5 has been renamed flash player 9

Posted At: April 22, 2006 4:04 PM | Posted By: Jeff Tapper
Related Categories: as3, flashplayer, fp9

In a wise marketing move, Adobe has renamed the flash player 8.5 public beta as the flash player 9 beta.
According to the Flash Player FAQ on Adobe labs, they will be publicly releasing the first beta of FP9 with Beta 3 of Flex 2.  They also acknowledge that the next version of the Flash Authoring tool (code named Blaze) will target the same Flash Player 9.

Considering the new Flash Player has a entirely reworked runtime (or virtual machine, if you prefer), it would seem that the next player is taking as large a step as any release since Flash Player 5, so the full version number, as opposed to a .5 version makes complete sense.

Any of you detecting for FP8 in your applications should ensure your code is looking for a major version >= 8, not simply == 8.

Comments (0)