0 Replies Latest reply on Nov 21, 2008 1:06 PM by Peter Farland

    [svn] 4159: Enhancement SDK-18016 - updating mxmlc' s Embed functionality to recognize .pbj files as precompiled Shader files.

    Peter Farland Level 3
      Revision: 4159
      Author: pfarland@adobe.com
      Date: 2008-11-21 13:06:29 -0800 (Fri, 21 Nov 2008)

      Log Message:
      Enhancement SDK-18016 - updating mxmlc's Embed functionality to recognize .pbj files as precompiled Shader files. This change still retains the old octet stream MIME type mapping to a ByteArray based class, but this change removes the hoop you have to jump through to embed a Shader. The new Embed usage should simply be as follows:

      private var TubeViewClass:Class; //Subclass of flash.display.Shader

      Also updating Embed MIME types to recognize .dfont files since these are supported by CFFFontManager.

      Finally, updating FXG TextGraphic -> SymbolClass to use a simple FlexSprite instead of a Group. TextGraphic should now render at the right depth among SWF graphics primitives when compile time optimized FXG is used.

      QE: Yes
      Doc: If we've documented embedding .pbj, this is a simpler approach and represents a slight change in syntax.
      Checkintests: Pass
      Reviewer: Corey (Note he said he'll update ShaderFilter with a new property to accept a shader directly in a future check-in).

      Ticket Links:

      Modified Paths:

      Added Paths: