[svn:osmf:] 14903: ChromeLibrary update:

October 11 0
Advertisement
Revision: 14903
Revision: 14903
Author:   [email protected]
Date:     2010-03-22 05:28:17 -0700 (Mon, 22 Mar 2010)
Log Message:
ChromeLibrary update:
Unbinding chrome font and visuals from the ChromeLibrary project,
Introducing asset loaders, that can load imagery and fonts either from file, or from embedded tags,
Introducing AssetsManager, a class that loads a set of assets, exposing loaded assets by a string identifier,
Introducing a number of 'resource' classes, used by assets loaders to determine the type of asset to load,
Introducing a number of 'asset' classes, used by assets loaders to export their loaded content to, as well as by widgets to reference an asset.
Introducing AssetsParser, a class that translates XML formatted assets definitions into a set of resource classes.
Introducing Scale9Bitmap that allows usage of a scale9 rectangle on bitmaps,
Changing all widgets to be LayoutTargetSprite derived, enabling them to be laid out using the OSMF layout APIs.
Extending Widget with child management functions, allowing any widget to have children.
Introducing WidgetsParser, a class that translates XML formatted widget definitions into a set of Widget classes.
Introducing Configuration, a class that loads an XML file that contains asset- and widget definitions, and sets up an assets manager if so desired.
Updating both OSMFPlayer and ControlBarPlugin projects to provide their own chrome visuals and fonts using the new configuration system. OSMFPlayer uses run-time asset loading (meaning that all assets are to be uploaded to server alongside the player SWF), and ControlBarPlugin uses embedded resources.
Modified Paths:
    osmf/trunk/apps/samples/framework/OSMFPlayer/.project
    osmf/trunk/apps/samples/framework/OSMFPlayer/html-template/index.template.html
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/Preloader.as
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/eject_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/fullScreenEnter_disabled.p ng
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/fullScreenEnter_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/fullScreenEnter_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/fullScreenLeave_disabled.p ng
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/fullScreenLeave_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/fullScreenLeave_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/live_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/live_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/live_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/pinUp_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/pinUp_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/pinUp_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/play_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityIncrease_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/quality_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/quality_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/quality_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/record_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/soundMore_disabled.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/src/ControlBarElement.as
    osmf/trunk/apps/samples/plugins/ControlBarPluginSample/.project
    osmf/trunk/libs/ChromeLibrary/.actionScriptProperties
    osmf/trunk/libs/ChromeLibrary/.flexLibProperties
Added Paths:
    osmf/trunk/apps/samples/framework/OSMFPlayer/assets source/
    osmf/trunk/apps/samples/framework/OSMFPlayer/assets source/assets.ai
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/PlayerConfiguration.as
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/configuration.xml
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/cancel_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/cancel_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/cancel_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/submit_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/submit_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/submit_up.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/Standard0755.swf
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/Standard0755_readme.txt
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/backDrop.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/configuration.xml
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/pause_disabled.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/pause_down.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/pause_up.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/play_disabled.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/play_down.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/play_up.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/scrubBarTrack.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/scrubber_disabled.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/scrubber_down.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/scrubber_up.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/stop_disabled.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/stop_down.png
    osmf/trunk/apps/samples/plugins/ControlBarPlugin/assets/stop_up.png
    osmf/trunk/libs/ChromeLibrary/org/
    osmf/trunk/libs/ChromeLibrary/org/osmf/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/Asset.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/AssetLoader.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/AssetResource.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/AssetsManager.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/BitmapAsset.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/BitmapResource.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/DisplayObjectAsset.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/FontAsset.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/FontResource.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/Scale9Bitmap.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/SymbolAsset.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/assets/SymbolResource.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/AssetsParser.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/Configuration.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/LayoutAttributesParser.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/WidgetsParser.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/events/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/events/ScrubberEvent.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/metadata/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/metadata/ChromeMetadata.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/AuthenticationDialog.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/AutoHideWidget.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/ButtonWidget.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/ContextMenuOverlay.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/EjectButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/FadingLayoutTargetSprite.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/FullScreenEnterButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/FullScreenLeaveButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/LabelWidget.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/LiveButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/PauseButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/PinDownButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/PinUpButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/PlayButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/PlayableButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/QualityDecreaseButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/QualityIncreaseButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/QualityLabel.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/QualityModeToggle.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/RecordButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/ScrubBar.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/Scrubber.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/SoundLessButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/SoundMoreButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/StopButton.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/URLInput.as
    osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/widgets/Widget.as
Removed Paths:
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/Configuration.as
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/controlBarBackdrop.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/minus_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/minus_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/minus_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/plus_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/plus_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/plus_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityAuto_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityAuto_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityAuto_up.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityManual_disabled.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityManual_down.png
    osmf/trunk/apps/samples/framework/OSMFPlayer/src/assets/images/qualityManual_up.png
    osmf/trunk/libs/ChromeLibrary/assets/
    osmf/trunk/libs/ChromeLibrary/src/
Advertisement
[svn:osmf:] 14903: ChromeLibrary update:

Revision: 14903 Revision: 14903 Author:   [email protected] Date:     2010-03-22 05:28:17 -0700 (Mon, 22 Mar 2010) Log Message: ChromeLibrary update: Unbinding chrome font and visuals from the ChromeLibrary project, Introducing asset loaders, that c

[svn:osmf:] 14521: ChromeLibrary: moving live and recording buttons to the left hand side of the control bar , and making the button backdrops a little bigger.

Revision: 14521 Revision: 14521 Author:   [email protected] Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010) Log Message: ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops

[svn:osmf:] 15972: ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML.

Revision: 15972 Revision: 15972 Author:   [email protected] Date:     2010-05-08 07:31:24 -0700 (Sat, 08 May 2010) Log Message: ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML. Modified Paths:     osmf/trunk/libs/ChromeL

[svn:osmf:] 15867: asdocs: Update to accomodate generating OSMF for Flex 4. 0 asdocs from OSMF 1.0 source with as few changes as possible.

Revision: 15867 Revision: 15867 Author:   [email protected] Date:     2010-05-02 19:36:51 -0700 (Sun, 02 May 2010) Log Message: asdocs: Update to accomodate generating OSMF for Flex 4.0 asdocs from OSMF 1.0 source with as few changes as possible. Mod

[svn:osmf:] 10364: Latest updates to the Dynamic Streaming sample app , and a few bug fixes.

Revision: 10364 Author:   [email protected] Date:     2009-09-17 14:49:03 -0700 (Thu, 17 Sep 2009) Log Message: Latest updates to the Dynamic Streaming sample app , and a few bug fixes. Modified Paths:     osmf/trunk/apps/samples/framework/DynamicStr

[svn:osmf:] 14326: ChromeLibrary: fixing hints from appearing at the wrong vertical offset, and preventing scrub bar time remaining calculations to go negative.

Revision: 14326 Revision: 14326 Author:   [email protected] Date:     2010-02-22 08:10:39 -0800 (Mon, 22 Feb 2010) Log Message: ChromeLibrary: fixing hints from appearing at the wrong vertical offset, and preventing scrub bar time remaining calculati

[svn:osmf:] 13236: Additional updates for ViewTrait API changes.

Revision: 13236 Revision: 13236 Author:   [email protected] Date:     2009-12-30 23:19:55 -0800 (Wed, 30 Dec 2009) Log Message: Additional updates for ViewTrait API changes. Modified Paths:     osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/

[svn:osmf:] 16553: Only update current time if not buffering.

Revision: 16553 Revision: 16553 Author:   [email protected] Date:     2010-06-14 11:31:37 -0700 (Mon, 14 Jun 2010) Log Message: Only update current time if not buffering.  Addresses FM-912. Ticket Links:     http://bugs.adobe.com/jira/browse/FM-912 M

[svn:osmf:] 13494: Update build script to work with Flex 4 SDK.

Revision: 13494 Revision: 13494 Author:   [email protected] Date:     2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010) Log Message: Update build script to work with Flex 4 SDK. Modified Paths:     osmf/branches/flex4/build/build.xmlNo, you don't need Fla

[svn:osmf:] 10589: Updated the readme. txt for the VASTSample based on feedback in the OSMF forum.

Revision: 10589 Author:   [email protected] Date:     2009-09-25 10:15:31 -0700 (Fri, 25 Sep 2009) Log Message: Updated the readme.txt for the VASTSample based on feedback in the OSMF forum. Modified Paths:     osmf/trunk/apps/samples/libs/VASTSample

[svn:osmf:] 10991: Fix bug FM-119, where the playhead time doesn' t get updated until after the seek has completed.

Revision: 10991 Author:   [email protected] Date:     2009-10-17 22:52:28 -0700 (Sat, 17 Oct 2009) Log Message: Fix bug FM-119, where the playhead time doesn't get updated until after the seek has completed.  The bug is actually in Flash Player (FP-1

[svn:osmf:] 16068: Update @includeExample to add symbolic "examples" relative path (that is expanded by the build process).

Revision: 16068 Revision: 16068 Author:   [email protected] Date:     2010-05-12 11:17:11 -0700 (Wed, 12 May 2010) Log Message: Update @includeExample to add symbolic "examples" relative path (that is expanded by the build process). Also added -

[svn:osmf:] 13083: Updated MASTAdapter class with new trait names and events.

Revision: 13083 Revision: 13083 Author:   [email protected] Date:     2009-12-17 16:10:05 -0800 (Thu, 17 Dec 2009) Log Message: Updated MASTAdapter class with new trait names and events. Modified Paths:     osmf/trunk/plugins/MASTPlugin/org/osmf/mast

[svn:osmf:] 10481: Updated unit tests.

Revision: 10481 Author:   [email protected] Date:     2009-09-21 18:01:12 -0700 (Mon, 21 Sep 2009) Log Message: Updated unit tests. Modified Paths:     osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/layout/TestDefaultLayoutR enderer.

[svn:osmf:] 13003: Update some unit tests to reflect that LayoutContextSprite now returns 0 ( not NaN) for uninitialized values to be consistent with ViewTrait.

Revision: 13003 Revision: 13003 Author:   [email protected] Date:     2009-12-16 13:12:08 -0800 (Wed, 16 Dec 2009) Log Message: Update some unit tests to reflect that LayoutContextSprite now returns 0 (not NaN) for uninitialized values to be consiste

[svn:osmf:] 14261: Updated DRM unit tests to work with code review feedback .

Revision: 14261 Revision: 14261 Author:   [email protected] Date:     2010-02-18 14:15:23 -0800 (Thu, 18 Feb 2010) Log Message: Updated DRM unit tests to work with code review feedback. Modified Paths:     osmf/trunk/framework/OSMFTest/org/osmf/eleme

[svn:osmf:] 10352: Updated Switchable unit tests.

Revision: 10352 Author:   [email protected] Date:     2009-09-17 13:06:03 -0700 (Thu, 17 Sep 2009) Log Message: Updated Switchable unit tests. Modified Paths:     osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/ParallelSwitchableT

[svn:osmf:] 11282: updated the unit tests for the DRM subsystem.

Revision: 11282 Author:   [email protected] Date:     2009-10-29 16:44:46 -0700 (Thu, 29 Oct 2009) Log Message: updated the unit tests for the DRM subsystem.  Still lacking tests for Authentication Token. Modified Paths:     osmf/trunk/framework/Medi

[svn:osmf:] 11159: Updating unit test with a check to all expected events firing properly.

Revision: 11159 Author:   [email protected] Date:     2009-10-26 12:12:10 -0700 (Mon, 26 Oct 2009) Log Message: Updating unit test with a check to all expected events firing properly. Modified Paths:     osmf/trunk/framework/MediaFrameworkIntegration

[svn:fx-trunk] 13699: -update textLayout, osmf, and flash-integration

Revision: 13699 Revision: 13699 Author:   [email protected] Date:     2010-01-21 15:28:17 -0800 (Thu, 21 Jan 2010) Log Message: -update textLayout, osmf, and flash-integration -to build proper _rb swcs with the recent localized properties that have