def: 7487 widevine: fix mute/unmute

def: 7487 widevine: fix mute/unmute

--- plugins/wvPlugin/src/com/kaltura/kdpfl/plugin/WVAudioTrait.as
+++ plugins/wvPlugin/src/com/kaltura/kdpfl/plugin/WVAudioTrait.as
@@ -1,36 +1,47 @@
-package com.kaltura.kdpfl.plugin
-{
-	import com.widevine.WvNetStream;
-
-	import flash.media.SoundTransform;
-
-	import org.osmf.traits.AudioTrait;
-
-	public class WVAudioTrait extends AudioTrait
-	{
-		public function WVAudioTrait(netStream : WvNetStream)
-		{
-			super();
-			_wvNetStream = netStream;
-		}
-
-		override protected function volumeChangeStart(newVolume:Number):void
-		{
-			if (_wvNetStream.soundTransform.volume != newVolume)
-			{
-				_wvNetStream.soundTransform = new SoundTransform(newVolume);
-			}
-		}
-
-		override protected function mutedChangeStart(newMuted:Boolean):void
-		{
-			if(!newMuted)
-			{
-				_wvNetStream.soundTransform = new SoundTransform(0);
-			}
-		}
-
-
-		private var _wvNetStream : WvNetStream;
-	}
+package com.kaltura.kdpfl.plugin
+{
+	import com.widevine.WvNetStream;
+
+	import flash.media.SoundTransform;
+
+	import org.osmf.traits.AudioTrait;
+
+	public class WVAudioTrait extends AudioTrait
+	{
+
+		private var _wasMuted:Boolean;
+
+		public function WVAudioTrait(netStream : WvNetStream)
+		{
+			super();
+			_wvNetStream = netStream;
+		}
+
+		override protected function volumeChangeStart(newVolume:Number):void
+		{
+			if (_wvNetStream.soundTransform.volume != newVolume)
+			{
+				_wvNetStream.soundTransform = new SoundTransform(newVolume);
+			}
+		}
+
+		override protected function mutedChangeStart(newMuted:Boolean):void
+		{
+			if(!newMuted && _wasMuted)
+			{
+				_wvNetStream.soundTransform = new SoundTransform(1);
+				_wasMuted = false;
+
+			}
+			else if (_wasMuted)
+			{
+				_wvNetStream.soundTransform = new SoundTransform(0);
+				_wasMuted = true;
+			}
+
+		}
+
+
+		private var _wvNetStream : WvNetStream;
+	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1248464 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
+++ frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.collections
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18173
Author:   jasonsj@adobe.com
Date:     2010-10-15T17:03:20.801634Z

Log Message:
-----------
Mobile Theme Initial check-in

* New light-look visuals from XD
* Changed airmobile-config.xml to use standalone Mobile theme instead of Spark overlay
* Added theme="spark, mobile" where spark was already white-listed and support is implemented and/or planned for Mobile/spark.css (see https://zerowing.corp.adobe.com/display/flexmobile/Mobile+Theme+Styles+Spec)
* MobileSkin has symbolColor and chromeColor support. Override beginChromeColorFill and drawChromeColor when defining custom chromeColor visuals.
* CheckBox and RadioButton now have chromeColor and symbolColor support
* Added textShadowColor and textShadowAlpha support to Button and ActionBar
* Added chromeColor support to HScrollBar and VScrollBar

QE notes: All mobile skins have been updaetd.
Doc notes: Update mobile skinning documentation for new APIs
Bugs:
SDK-28043 Investigate usage of "viewWidth", "viewHeight" for the Flex Mobile Skin Assets
SDK-27609 Mobile scroll bar skins should use chromeColor
SDK-27646 cornerradius has no effect on button in mobile application
Reviewer: gruehle
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_symbol.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_symbol.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/TextInput_border.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_down.fxg</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_upSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_upSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_downSelected.fxg</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/themes/Mobile/spark.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/airmobile-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/RadioButton_downSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationButtonSkin.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1263731 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as
@@ -40,6 +40,30 @@
 [Style(name="titleAlign", type="String", enumeration="left,right,center", inherit="no")]

 /**
+ *  Color of text shadows.
+ *
+ *  @default #FFFFFF
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="textShadowColor", type="uint", format="Color", inherit="yes", theme="mobile")]
+
+/**
+ *  Alpha of text shadows.
+ *
+ *  @default 0.55
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="textShadowAlpha", type="Number", format="Color", inherit="yes", theme="mobile", minValue="0.0", maxValue="1.0")]
+
+/**
  *  @copy spark.components.supportClasses.GroupBase#style:accentColor
  *
  *  @default #0099FF
@@ -61,7 +85,7 @@
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-[Style(name="backgroundAlpha", type="Number", inherit="no", theme="spark")]
+[Style(name="backgroundAlpha", type="Number", inherit="no", theme="spark", minValue="0.0", maxValue="1.0")]

 /**
  *  @copy spark.components.SkinnableContainer#style:contentBackgroundAlpha


FLEX-33724 Stop RTE when setting locked columns to zero and horizontal scroll policy to off

--- frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as
+++ frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridBase.as
@@ -2285,6 +2285,7 @@
         }
         if (lockedColumnContent)
         {
+			lastRowIndex = lockedColumnContent.listItems.length - 1;
             lastRowItems = lockedColumnContent.listItems[lastRowIndex];
             numColumns = lastRowItems.length;
             rowWidth = lockedColumnContent.width;


Update StopMonstSound.as

Update StopMonstSound.as


MF-23 Add to shader color and alhpa chanels fix alpha if it equals NaN

--- src/com/merlinds/miracle_tool/controllers/converters/ColorConverter.as
+++ src/com/merlinds/miracle_tool/controllers/converters/ColorConverter.as
@@ -49,6 +49,7 @@
 				var method:Function = _methods[_colorEffect.type];
 				method.apply(this);
 			}
+			trace(_color);
 			return _color;
 		}
 		//} endregion PUBLIC METHODS ===================================================
@@ -57,7 +58,9 @@
 		//{region						PRIVATE\PROTECTED METHODS
 		private function alpha():void {
 			log(this, "alpha");
-			_color[A] = _colorEffect.alphaMultiplier;
+			if(!isNaN(_colorEffect.alphaMultiplier)){
+				_color[A] = _colorEffect.alphaMultiplier;
+			}
 		}

 		private function brightness():void {


improved error message

improved error message

Change-Id: I4ba3568dfc78b6443532b62bb425d06d690974f4

--- WeaveData/src/weave/services/ExternalDownloader.as
+++ WeaveData/src/weave/services/ExternalDownloader.as
@@ -140,7 +140,7 @@
 				var fault:Fault;
 				if (_errors[id])
 				{
-					fault = new Fault(lang("Malformed URL"), qt.urlRequest.url);
+					fault = new Fault(lang("Unable to access URL"), qt.urlRequest.url);
 					fault.rootCause = _errors[id];
 				}
 				else


editor reads in location variables in a more robust way, accounting for inconsistencies and fixing them as they pop up.

--- flexEditor/src/org/arisgames/editor/models/GameModel.as
+++ flexEditor/src/org/arisgames/editor/models/GameModel.as
@@ -119,10 +119,10 @@
 				pm.contentType = AppUtils.getContentTypeValueByName(obj.result.data.list.getItemAt(j).type);
 				pm.contentId = obj.result.data.list.getItemAt(j).type_id;
 				pm.quantity = obj.result.data.list.getItemAt(j).item_qty;
-				pm.hidden = obj.result.data.list.getItemAt(j).hidden;
-				pm.forcedView = obj.result.data.list.getItemAt(j).force_view;
+				pm.hidden = obj.result.data.list.getItemAt(j).hidden ? (obj.result.data.list.getItemAt(j).hidden == '1' ? true : false) : false;
+				pm.forcedView = obj.result.data.list.getItemAt(j).force_view ? (obj.result.data.list.getItemAt(j).force_view == '1' ? true : false) : false;
 				pm.errorRange = obj.result.data.list.getItemAt(j).error;
-				pm.quickTravel = obj.result.data.list.getItemAt(j).allow_quick_travel;
+				pm.quickTravel = obj.result.data.list.getItemAt(j).allow_quick_travel ? (obj.result.data.list.getItemAt(j).allow_quick_travel == '1' ? true : false) : false;
 				pm.imageMatchMediaId = obj.result.data.list.getItemAt(j).match_media_id;

 				for each (var p:PlaceMark in tmpPlacemarks){


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259106 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/DragSource.as
+++ frameworks/projects/framework/src/mx/core/DragSource.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1260728 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/events/RSLEvent.as
+++ frameworks/projects/framework/src/mx/events/RSLEvent.as
@@ -0,0 +1,244 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+import flash.events.Event;
+import flash.events.ProgressEvent;
+import flash.net.URLRequest;
+
+/**
+ *  The RSLEvent class represents an event object used by the
+ *  DownloadProgressBar class when an RSL is being downloaded by the Preloader class.
+ *
+ *  @see mx.preloaders.DownloadProgressBar
+ *  @see mx.preloaders.Preloader
+ */
+public class RSLEvent extends ProgressEvent
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Dispatched when the RSL has finished downloading.
+	 *  The RSLEvent.RSL_COMPLETE constant defines the value of the
+	 *  type property of the event object for a rslComplete event.
+     *
+	 *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
bubbles	false

+     *
bytesLoaded	The number of bytes loaded.

+     *
bytesTotal	The total number of bytes to load.

+     *
cancelable	false

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
errorText	Empty

+     *
rslIndex	The index number of the RSL
+     *       currently being downloaded.

+     *
rslTotal	The total number of RSLs
+     *       being downloaded.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *
url	The URLRequest object that represents
+     *       the location of the RSL being downloaded.

+	 *

+	 *
+     *  @eventType rslComplete
+	 */
+	public static const RSL_COMPLETE:String = "rslComplete";
+
+	/**
+	 *  Dispatched when there is an error downloading the RSL.
+	 *  The RSLEvent.RSL_ERROR constant defines the value of the
+	 *  type property of the event object for a rslError event.
+     *
+	 *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
bubbles	false

+     *
bytesLoaded	Empty

+     *
bytesTotal	Empty

+     *
cancelable	false

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
errorText	An error message.

+     *
rslIndex	The index number of the RSL
+     *       currently being downloaded.

+     *
rslTotal	The total number of RSLs
+     *       being downloaded.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *
url	The URLRequest object that represents
+     *       the location of the RSL being downloaded.

+	 *

+	 *
+     *  @eventType rslError
+	 */
+	public static const RSL_ERROR:String = "rslError";
+
+	/**
+	 *  Dispatched when the RSL is downloading.
+	 *  The RSLEvent.RSL_PROGRESS constant defines the value of the
+	 *  type property of the event object for a rslProgress event.
+     *
+	 *
The properties of the event object have the following values:

+	 *

+	 *
Property	Value

+     *
bubbles	false

+     *
bytesLoaded	The number of bytes loaded.

+     *
bytesTotal	The total number of bytes to load.

+     *
cancelable	false

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
errorText	Empty

+     *
rslIndex	The index number of the RSL
+     *       currently being downloaded.

+     *
rslTotal	The total number of RSLs
+     *       being downloaded.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *
url	The URLRequest object that represents
+     *       the location of the RSL being downloaded.

+	 *

+	 *
+     *  @eventType rslProgress
+	 */
+	public static const RSL_PROGRESS:String = "rslProgress";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param type The type of the event. Possible values are:
+	 *

+	 *
"rslProgress" (RSLEvent.RSL_PROGRESS);

+	 *
"rslComplete" (RSLEvent.RSL_COMPLETE);

+	 *
"rslError" (RSLEvent.RSL_ERROR);

+	 *

+	 *
+	 *  @param bubbles  Determines whether the Event object participates in the bubbling stage of the event flow.
+	 *
+	 *  @param cancelable Determines whether the Event object can be cancelled.
+	 *
+	 *  @param bytesLoaded The number of bytes loaded at the time the listener processes the event.
+	 *
+	 *  @param bytesTotal The total number of bytes that will ultimately be loaded if the loading process succeeds.
+	 *
+	 *  @param rslIndex The index number of the RSL relative to the total. This should be a value between 0 and total - 1.
+	 *
+	 *  @param rslTotal The total number of RSLs being loaded.
+	 *
+	 *  @param url The location of the RSL.
+	 *
+	 *  @param errorText The error message of the error when type is RSLEvent.RSL_ERROR.
+	 *
+	 *  @tiptext Constructor for RSLEvent objects.
+	 */
+	public function RSLEvent(type:String,  bubbles:Boolean = false,
+							 cancelable:Boolean = false,
+							 bytesLoaded:int = -1, bytesTotal:int = -1,
+							 rslIndex:int = -1, rslTotal:int = -1,
+							 url:URLRequest = null, errorText:String = null)
+	{
+		super(type, bubbles, cancelable, bytesLoaded, bytesTotal);
+
+		this.rslIndex = rslIndex;
+		this.rslTotal = rslTotal;
+		this.url = url;
+		this.errorText = errorText;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  errorText
+	//----------------------------------
+
+	/**
+	 *  The error message if the type is RSL_ERROR; otherwise, it is null;
+	 */
+	public var errorText:String;
+
+	//----------------------------------
+	//  rslIndex
+	//----------------------------------
+
+	/**
+	 *  The index number of the RSL currently being downloaded.
+	 *  This is a number between 0 and rslTotal - 1.
+	 */
+	public var rslIndex:int;
+
+	//----------------------------------
+	//  rslTotal
+	//----------------------------------
+
+	/**
+	 *  The total number of RSLs being downloaded by the preloader
+	 */
+	public var rslTotal:int;
+
+	//----------------------------------
+	//  url
+	//----------------------------------
+
+	/**
+	 *  The URLRequest object that represents the location
+	 *  of the RSL being downloaded.
+	 */
+	public var url:URLRequest;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function clone():Event
+	{
+		return new RSLEvent(type, bubbles, cancelable,
+							bytesLoaded, bytesTotal, rslIndex,
+							rslTotal, url, errorText);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 3188
Author:   egeorgie@adobe.com
Date:     2008-09-11T23:19:08.561707Z

Log Message:
-----------
Fixes to resizeMode == 'Scale':
- make sure layout pass is not triggered into infinite loop
- make sure Group's layout is passed correct size in updateDisplayList()

Reviewed by Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279097 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -30,12 +30,14 @@
 import mx.core.IDataRenderer;
 import mx.core.IDeferredInstance;
 import mx.core.IFactory;
+import mx.core.mx_internal;
 import mx.core.UIComponent;
 import mx.events.CollectionEvent;
 import mx.events.PropertyChangeEvent;
 import mx.events.PropertyChangeEventKind;
 import mx.styles.IStyleClient;

+use namespace mx_internal;
 //--------------------------------------
 //  Events
 //--------------------------------------
@@ -190,6 +192,12 @@
             return;

         _resizeMode = value;
+
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+        {
+            super.scaleX = 1;
+            super.scaleY = 1;
+        }

         // We need the measured values and _resizeMode affects
         // our measure (skipMeasure implementation checks resizeMode) so
@@ -211,12 +219,12 @@
             // setting the scale!
             if (measuredWidth != 0)
             {
-                scaleX = w / measuredWidth;
+                $scaleX = w / measuredWidth;
                 w = measuredWidth;
             }
             if (measuredHeight != 0)
             {
-                scaleY = h / measuredHeight;
+                $scaleY = h / measuredHeight;
                 h = measuredHeight;
             }
         }
@@ -224,6 +232,72 @@
         super.setActualSize(w, h);
     }

+    /**
+     *  Make sure we return 1 whenever resizeMode is set to scale.
+     */
+    override public function get scaleX():Number
+    {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+            return 1;
+
+        return super.scaleX;
+    }
+
+    /**
+     *  Make sure setting scale is no-op when resizeMode is set to scale.
+     */
+    override public function set scaleX(value:Number):void
+    {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+            return;
+
+        super.scaleX = value;
+    }
+
+    /**
+     *  Make sure we return 1 whenever resizeMode is set to scale.
+     */
+    override public function get scaleY():Number
+    {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+            return 1;
+
+        return super.scaleX;
+    }
+
+    /**
+     *  Make sure setting scale is no-op when resizeMode is set to scale.
+     */
+    override public function set scaleY(value:Number):void
+    {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+            return;
+
+        super.scaleX = value;
+    }
+
+    /**
+     *  Override so that we can return correct width when in scale mode.
+     */
+    override public function get width():Number
+    {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+            return super.width * $scaleX;
+
+        return super.width;
+    }
+
+    /**
+     *  Override so that we can return correct height when in scale mode.
+     */
+    override public function get height():Number
+    {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+            return super.height * $scaleY;
+
+        return super.height;
+    }
+
     /**
      *  @inheritDoc
      */
@@ -512,6 +586,12 @@

     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
+        if (_resizeMode == ResizeMode._SCALE_UINT)
+        {
+            unscaledWidth = measuredWidth;
+            unscaledHeight = measuredHeight;
+        }
+
         super.updateDisplayList(unscaledWidth, unscaledHeight);

         if (_layout)


Added streamPaused event

Added streamPaused event

--- src/Player.as
+++ src/Player.as
@@ -30,6 +30,7 @@

   public class Player extends Sprite {
     private static const EVENT_STREAM_STARTED:String  = "streamStarted";
+    private static const EVENT_STREAM_PAUSED:String  = "streamPaused";
     private static const EVENT_FULLSCREEN_ENTERED:String  = "fullscreenEntered";
     private static const EVENT_FULLSCREEN_EXITED:String  = "fullscreenExited";

@@ -212,7 +213,7 @@

     public function pause():void {
       client.pause();
-      this.callAPI('streamPaused');
+      this.callAPI(EVENT_STREAM_PAUSED);
       this.currentState = "paused";
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 8031
Author:   egeorgie@adobe.com
Date:     2009-06-20T01:10:03.288554Z

Log Message:
-----------
Scrub the TODOs in the framework, convert to FIXMEs in the new convention and assigning an owner.

Doc Notes: N/A
Bugs: N/A
Reviewer: Deepa
tests: build, checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ModifiedCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ErrorSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutElementHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/mediaClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ToggleButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/LineSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1260169 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -935,10 +935,10 @@
     // playheadTime
     //----------------------------------

-    // TODO (chaase): This property should be in an interface, to
+    // FIXME (chaase): This property should be in an interface, to
     // allow it to be called easily through an interface instead of
     // having to import Effect just to call it
-    // TODO (chaase): This property should be in an interface, to
+    // FIXME (chaase): This property should be in an interface, to
     // allow it to be called easily through an interface instead of
     // having to import Effect just to call it. Maybe add to IEffect
     // since it's unlikely that anyone implements that interface
@@ -968,7 +968,7 @@
         // If the effect is not yet playing, it should still be possible
         // to seek into it. playing and then pausing it provides that
         // capability
-        // TODO (chaase): Need better overall mechanism to seek into a
+        // FIXME (chaase): Need better overall mechanism to seek into a
         // non-playing effect. The internals of seeking in Animation
         // are complicated and don't end up giving us the behavior we
         // want, especially for successive seeks.
@@ -1192,7 +1192,7 @@

             // Revalidate after applying the start values, to get everything
             // back the way it should be before starting the animation
-            // TODO (chaase): should we skip this step if the effect has asked
+            // FIXME (chaase): should we skip this step if the effect has asked
             // to disable layout while it runs? Otherwise we are about to validate
             // the targets in a layout that has potentially been set to a post-effect
             // value


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1260711 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/events/Request.as
+++ frameworks/projects/framework/src/mx/events/Request.as
@@ -0,0 +1,95 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+import flash.events.Event;
+
+/**
+ *  This is an event that is expects its data property to be set by
+ *  a responding listener
+ */
+public class Request extends Event
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor. Does not return anything, but the value property can be modified
+     	 *  to represent a return value of a method.
+	 *
+	 *  @param type The event type; indicates the action that caused the event.
+	 *
+	 *  @param bubbles Specifies whether the event can bubble up the display list hierarchy.
+	 *
+	 *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
+	 *
+	 *  @param name Name of a property or method or name of a manager to instantiate.
+     	 *
+	 *  @param value Value of a property, or an array of parameters
+     	 *  for a method (if not null).
+	 */
+	public function Request(type:String, bubbles:Boolean = false,
+                                 cancelable:Boolean = false,
+							     value:Object = null)
+	{
+		super(type, bubbles, cancelable);
+
+		this.value = value;
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  value
+    //----------------------------------
+
+    /**
+     *  Value of property, or array of parameters for method.
+     */
+	public var value:Object;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: Event
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+ 	 *  @private
+	 */
+	override public function clone():Event
+	{
+		var cloneEvent:Request = new Request(type, bubbles, cancelable,
+                                                 value);
+
+		return cloneEvent;
+	}
+
+}
+
+}


FLEX-34644.  DataGrid background was too big

--- frameworks/projects/spark/src/spark/components/Grid.as
+++ frameworks/projects/spark/src/spark/components/Grid.as
@@ -5924,5 +5924,37 @@
             dispatchEvent(caretChangeEvent);
         }
     }
+
+    /**
+     *  @private
+     *  Renders a background for the container, if necessary.  It is used to fill in
+     *  a transparent background fill as necessary to support the _mouseEnabledWhereTransparent flag.  It
+     *  is also used in ItemRenderers when handleBackgroundColor is set to true.
+     *  We assume for now that we are the first layer to be rendered into the graphics
+     *  context.
+     *
+     *  This is mostly copied from GroupBase, but always chooses the virtualLayout path.  The Grid's
+     *  layout has useVirtualLayout=false but the Grid's GridView always has useVirtualLayout=true
+     *  which causes the GroupBase logic to go down the wrong path.
+     */
+    override mx_internal function drawBackground():void
+    {
+        if (!mouseEnabledWhereTransparent || !hasMouseListeners)
+            return;
+
+        var w:Number = (resizeMode == ResizeMode.SCALE) ? measuredWidth : unscaledWidth;
+        var h:Number = (resizeMode == ResizeMode.SCALE) ? measuredHeight : unscaledHeight;
+
+        if (isNaN(w) || isNaN(h))
+            return;
+
+        graphics.clear();
+        graphics.beginFill(0xFFFFFF, 0);
+
+        graphics.drawRect(horizontalScrollPosition, verticalScrollPosition, w, h);
+
+        graphics.endFill();
+    }
+
 }
 }


Change 20100211-maxcarlson-O by maxcarlson@bank on 2010-02-11 15:43:42 PST
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add cornerradius support for clipping in AS3

Bugs Fixed: LPP-8508 - Support for rounded corners in views across runtimes

Technical Reviewer: rajubitter@googlemail.com
QA Reviewer: hminsky

Details: Based on Raju's changes.  Move border and background drawing to separate methods.  Add drawMask() method to handle updating the mask, like drawBackground().  Call drawMask() instead of scaling the sprite.  Call drawMask() on init to ensure the mask takes.

Tests: See LPP-8508 for an updated testcase, also from Raju

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@15757 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
@@ -208,6 +208,9 @@
     }

     public function init (v:Boolean = true):void {
+        if (this.mask) {
+            this.drawMask();
+        }
         this.setVisible(v);

         if (this.isroot) {
@@ -249,15 +252,34 @@
         if (this.borderWidth) {
             var colorobj = LzColorUtils.inttocolorobj(borderColor);
             context.beginFill(colorobj.color, alpha);
-            var offset = this.padding + this.borderWidth;
-            LzKernelUtils.rect(context, 0 - offset, 0 - offset, this.lzwidth + (offset * 2), this.lzheight + (offset * 2), this.cornerradius);
+            this.drawBorder(context);
             context.endFill();
         }
         if (bgcolor != null) {
             context.beginFill(this.bgcolor, alpha);
-            LzKernelUtils.rect(context, 0 - this.padding, 0 - this.padding, this.lzwidth + (this.padding * 2), this.lzheight + (this.padding * 2), this.cornerradius);
+            this.drawBackgroundFill(context);
             context.endFill();
         }
+    }
+
+    public function drawMask():void {
+        if (this.masksprite) {
+            var context = this.masksprite.graphics;
+            context.clear();
+            context.beginFill(0xffffff);
+            this.drawBorder(context);
+            this.drawBackgroundFill(context);
+            context.endFill();
+        }
+    }
+
+    private function drawBorder(context:Graphics):void {
+        var offset = this.padding + this.borderWidth;
+        LzKernelUtils.rect(context, 0 - offset, 0 - offset, this.lzwidth + (offset * 2), this.lzheight + (offset * 2), this.cornerradius);
+    }
+
+    private function drawBackgroundFill(context:Graphics):void {
+        LzKernelUtils.rect(context, 0 - this.padding, 0 - this.padding, this.lzwidth + (this.padding * 2), this.lzheight + (this.padding * 2), this.cornerradius);
     }

     private var _frame:int = 1;
@@ -961,9 +983,7 @@

         // Update the clip region if there is one
         if (this.masksprite) {
-            //trace('...sprite setting mask w,h', this.lzwidth ,this.lzheight);
-            this.masksprite.scaleX = this.lzwidth;
-            this.masksprite.scaleY = this.lzheight;
+            this.drawMask();
         }

         drawBackground();
@@ -985,9 +1005,7 @@

         // Update the clip region if there is one
         if (this.masksprite) {
-            //trace('...sprite setting mask w,h', this.lzwidth ,this.lzheight);
-            this.masksprite.scaleX = this.lzwidth;
-            this.masksprite.scaleY = this.lzheight;
+            this.drawMask();
         }
         drawBackground();
     }
@@ -1289,12 +1307,6 @@
         var ms:Sprite = this.masksprite;
         if (ms == null) {
             ms = new Sprite();
-            ms.graphics.clear();
-            ms.graphics.beginFill(0xffffff);
-            ms.graphics.drawRect(0, 0, 1, 1);
-            ms.graphics.endFill();
-            ms.scaleX = this.lzwidth;
-            ms.scaleY = this.lzheight;
             addChild(ms);
             this.mask = ms;
             this.masksprite = ms;
@@ -1304,16 +1316,15 @@
                 addChild(ms);
                 this.mask = ms;
             }
-            //trace('applyMask [2] ', this.lzwidth, this.lzheight, owner);
-            ms.scaleX = this.lzwidth;
-            ms.scaleY = this.lzheight;
-        }
+        }
+        this.drawMask();
     }

     public function removeMask():void {
         if (this.mask != null) {
             this.removeChild(this.masksprite);
             this.mask = null;
+            this.masksprite = null;
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6359
Author:   gruehle@adobe.com
Date:     2009-04-28T20:58:40.137689Z

Log Message:
-----------
Add error skin for Spark components. The error skin is a separate skin, handled in a similar manner as the focus skin. It is shown whenever the errorString property is non-empty. The default implementation overlays a red border on top of the component.

Fixed the font size for tooltips/error tips.

Bugs: SDK-19559, SDK-19495
QE: Yes - spark tests for errorString/validation failure need to be added
Doc: Yes - new errorSkin style on SkinnableComponent
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/ErrorSkin.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1286618 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
+++ frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
@@ -15,16 +15,17 @@
 import flash.display.Bitmap;
 import flash.display.BitmapData;
 import flash.display.IBitmapDrawable;
+import flash.events.Event;
 import flash.filters.GlowFilter;
 import flash.geom.ColorTransform;
 import flash.geom.Matrix;
 import flash.geom.Point;
 import flash.geom.Rectangle;

-import spark.components.supportClasses.SkinnableComponent;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
-import flash.utils.Dictionary;
+
+import spark.components.supportClasses.SkinnableComponent;

 /**
  *  Focus skins for Spark components.
@@ -92,6 +93,11 @@
     private var bitmap:Bitmap;

     /**
+     *  @private
+     */
+    private var _focusObject:SkinnableComponent;
+
+    /**
      *  Object to draw focus around.  If null, uses focusManager.getFocus();
      *
      *  @langversion 3.0
@@ -99,7 +105,21 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-	public var focusObject:Object;
+	public function get focusObject():SkinnableComponent
+	{
+	    return _focusObject;
+	}
+
+	public function set focusObject(value:SkinnableComponent):void
+	{
+	    _focusObject = value;
+
+        // Add an "updateComplete" listener to the skin so we can redraw
+        // whenever the skin is drawn.
+        if (_focusObject.skin)
+            _focusObject.skin.addEventListener("updateComplete",
+                    skin_updateCompleteHandler, false, 0, true);
+	}

     //--------------------------------------------------------------------------
     //
@@ -115,14 +135,15 @@

         // Grab a bitmap of the focused object
         if (!focusObject)
-			focusObject = focusManager.getFocus();
+			focusObject = focusManager.getFocus() as SkinnableComponent;
+
         var bitmapData:BitmapData = new BitmapData(
                     focusObject.width + (FOCUS_THICKNESS * 2),
                     focusObject.height + (FOCUS_THICKNESS * 2), true, 0);
         var m:Matrix = new Matrix();

         // If the focus object already has a focus skin, make sure it is hidden.
-        if (focusObject is SkinnableComponent && focusObject.mx_internal::focusObj)
+        if (focusObject.mx_internal::focusObj)
             focusObject.mx_internal::focusObj.visible = false;

         // Temporary solution for focus drawing on CheckBox and RadioButton components.
@@ -131,9 +152,9 @@
         var hidLabelElement:Boolean = false;
         if ((weakIsCheck(focusObject, "spark.components::CheckBox") ||
              weakIsCheck(focusObject, "spark.components::RadioButton"))
-             && focusObject.labelElement)
-        {
-            focusObject.labelElement.displayObject.visible = false;
+             && Object(focusObject).labelElement)
+        {
+            Object(focusObject).labelElement.displayObject.visible = false;
             hidLabelElement = true;
         }

@@ -142,12 +163,12 @@
         bitmapData.draw(focusObject as IBitmapDrawable, m);

         // Show the focus skin, if needed.
-        if (focusObject is SkinnableComponent && focusObject.mx_internal::focusObj)
+        if (focusObject.mx_internal::focusObj)
             focusObject.mx_internal::focusObj.visible = true;

         // Show the label, if needed.
         if (hidLabelElement)
-            focusObject.labelElement.displayObject.visible = true;
+            Object(focusObject).labelElement.displayObject.visible = true;

         // Special case for Scroller - fill the entire rect.
         // TODO: Figure out a better solution.
@@ -170,7 +191,15 @@
         rect.x = rect.y = 0;
         rect.width = bitmapData.width;
         rect.height = bitmapData.height;
-        glowFilter.color = focusObject.getStyle("focusColor");
+        // If the focusObject has an errorString, use "errorColor" instead of "focusColor"
+        if (focusObject.errorString != null && focusObject.errorString != "")
+        {
+            glowFilter.color = focusObject.getStyle("errorColor");
+        }
+        else
+        {
+            glowFilter.color = focusObject.getStyle("focusColor");
+        }
         bitmapData.applyFilter(bitmapData, rect, filterPt, glowFilter);

         if (!bitmap)
@@ -202,5 +231,11 @@

         return obj is classDefCache[className];
     }
+
+    private function skin_updateCompleteHandler(event:Event):void
+    {
+        // We need to redraw whenever the focus object skin redraws.
+        invalidateDisplayList();
+    }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19498
Author:   jasonsj@adobe.com
Date:     2010-12-21T02:16:56.447761Z

Log Message:
-----------
Initial mobile theme ButtonBar and iOS ActionBar Button skins.
Removed DiscouragedForProfile metadata from ButtonBar and HSlider.
Fixed line endings in FXG files.
Removed unnecessary winding="evenOdd" in FXG.

QE notes: Use styleName="ios" in ActionBar buttons in navigationContent and actionContent.
Doc notes:
Bugs:
Reviewer: jszeto
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
106 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1265172 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarSkin.as
@@ -0,0 +1,165 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.skins.mobile
+{
+import flash.display.BlendMode;
+
+import mx.core.IFactory;
+
+import spark.components.ButtonBar;
+import spark.components.ButtonBarButton;
+import spark.components.DataGroup;
+import spark.components.supportClasses.ButtonBarHorizontalLayout;
+import spark.skins.mobile.supportClasses.ButtonBarButtonClassFactory;
+import spark.skins.mobile.supportClasses.MobileSkin;
+
+/**
+ *  The default skin class for the Spark ButtonBar component.
+ *
+ *  @see spark.components.ButtonBar
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public class ButtonBarSkin extends MobileSkin
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     *
+     */
+    public function ButtonBarSkin()
+    {
+        super();
+
+        useChromeColor = false;
+
+        // FIXME (jasonsj): not supported for GPU
+        // blendMode = BlendMode.LAYER;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Skin parts
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @copy spark.skins.spark.ApplicationSkin#hostComponent
+     */
+    public var hostComponent:ButtonBar;
+
+    /**
+     *  @copy spark.components.ButtonBar#firstButton
+     */
+    public var firstButton:ButtonBarButtonClassFactory;
+
+    /**
+     *  @copy spark.components.ButtonBar#lastButton
+     */
+    public var lastButton:ButtonBarButtonClassFactory;
+
+    /**
+     *  @copy spark.components.ButtonBar#middleButton
+     */
+    public var middleButton:ButtonBarButtonClassFactory;
+
+    /**
+     *  @copy spark.components.SkinnableDataContainer#dataGroup
+     */
+    public var dataGroup:DataGroup;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function createChildren():void
+    {
+        // Set up the class factories for the buttons
+        if (!firstButton)
+        {
+            firstButton = new ButtonBarButtonClassFactory(ButtonBarButton);
+            firstButton.skinClass = spark.skins.mobile.ButtonBarFirstButtonSkin;
+        }
+
+        if (!lastButton)
+        {
+            lastButton = new ButtonBarButtonClassFactory(ButtonBarButton);
+            lastButton.skinClass = spark.skins.mobile.ButtonBarLastButtonSkin;
+        }
+
+        if (!middleButton)
+        {
+            middleButton = new ButtonBarButtonClassFactory(ButtonBarButton);
+            middleButton.skinClass = spark.skins.mobile.ButtonBarMiddleButtonSkin;
+        }
+
+        // create the data group to house the buttons
+        if (!dataGroup)
+        {
+            dataGroup = new DataGroup();
+            var hLayout:ButtonBarHorizontalLayout = new ButtonBarHorizontalLayout();
+            hLayout.gap = 0;
+            dataGroup.layout = hLayout;
+            addChild(dataGroup);
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override protected function commitCurrentState():void
+    {
+        // TODO (tkraikit): disabled state, apply 0.5 alpha (set BlendMode => LAYER)
+        // FIXME (jasonsj): not supported for GPU
+        alpha = (currentState == "disabled") ? 0.5 : 1;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function measure():void
+    {
+        measuredWidth = dataGroup.measuredWidth;
+        measuredHeight = dataGroup.measuredHeight;
+
+        measuredMinWidth = dataGroup.measuredMinWidth;
+        measuredMinHeight = dataGroup.measuredMinHeight;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+        setElementPosition(dataGroup, 0, 0);
+        setElementSize(dataGroup, unscaledWidth, unscaledHeight);
+    }
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11273
Author:   aharui@adobe.com
Date:     2009-10-29T18:57:54.403337Z

Log Message:
-----------
Initial check in of MXItemRenderer and friends

QE Notes: New Classes and Code
Doc Notes: New Classes and Code
Bugs: None
Reviewer: Ryan
API Change: yes
Is noteworthy for integration: No
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/BaseListData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListData.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridListData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeListData.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/halo/scripts/MXItemRendererTestScript.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/halo/views/MXItemRendererTests.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/dataGridClasses/MXDataGridItemRenderer.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1277855 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
@@ -0,0 +1,224 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls.listClasses
+{
+import flash.events.Event;
+
+import mx.controls.listClasses.ListBase;
+import mx.controls.listClasses.BaseListData;
+import mx.controls.listClasses.IDropInListItemRenderer;
+import mx.controls.listClasses.IListItemRenderer;
+import mx.managers.IFocusManagerComponent;
+import mx.styles.StyleManager;
+import spark.components.supportClasses.ItemRenderer;
+
+/**
+ *  The MXItemRenderer class is the base class for Spark item renderers in
+ *  Halo (mx) classes
+ *
+ *  @mxml
+ *
+ *
The <s:MXItemRenderer> tag inherits all of the tag
+ *  attributes of its superclass and adds the following tag attributes:

+ *
+ *

+ *  <s:MXItemRenderer
+ *    Properties
+ *  />
+ *

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public class MXItemRenderer extends ItemRenderer implements IListItemRenderer, IDropInListItemRenderer
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function MXItemRenderer()
+    {
+        super();
+        autoDrawBackground = true;
+        focusEnabled = false;
+    }
+
+    //----------------------------------
+    //  listData
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the listData property.
+     */
+    private var _listData:BaseListData;
+
+    [Bindable("dataChange")]
+
+    /**
+     *  The implementation of the listData property
+     *  as defined by the IDropInListItemRenderer interface.
+     *
+     *  @see mx.controls.listClasses.IDropInListItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get listData():BaseListData
+    {
+        return _listData;
+    }
+
+    /**
+     *  @private
+     */
+    public function set listData(value:BaseListData):void
+    {
+        _listData = value;
+
+        invalidateProperties();
+    }
+
+    //----------------------------------
+    //  editor
+    //----------------------------------
+
+    /**
+     *  ID of the component that will receive focus as the editor
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public var editor:IFocusManagerComponent;
+
+    //----------------------------------
+    //  text
+    //----------------------------------
+
+    /**
+     *  The text property of
+     *  the component with the editorID.
+     *  This is a convenience property to
+     *  allow the Halo List class itemEditors
+     *  to pull the value from most editors
+     *  without having to propagate a property
+     *  to the MXItemRenderer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get text():String
+    {
+        if (editor && ("text" in editor))
+            return editor["text"];
+
+        return null;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function invalidateDisplayList():void
+    {
+        if (listData)
+        {
+            // see if we need to change state.  This is the only invalidation method guaranteed to be
+            // called.  We set up the renderers properties here so no matter what validation method gets
+            // called first, the properties are set up accordingly.
+            var listBase:mx.controls.listClasses.ListBase = mx.controls.listClasses.ListBase(listData.owner);
+            if (listBase)
+            {
+                showsCaret = listBase.isItemShowingCaret(data);
+                selected = listBase.isItemSelected(data);
+                super.hovered = listBase.isItemHighlighted(data);
+            }
+        }
+
+        super.invalidateDisplayList();
+    }
+
+    /**
+     *  @private
+     */
+    override protected function set hovered(value:Boolean):void
+    {
+        if (listData)
+        {
+            // see if we need to change state.
+            // in Halo list, you can rollout of the renderer and onto the padding area
+            // and you should still be hovered, so we double check and override here.
+            // then we get all the other state-related variables updated so the state
+            // calculation will do the right thing.
+            var listBase:mx.controls.listClasses.ListBase = mx.controls.listClasses.ListBase(listData.owner);
+            if (listBase)
+            {
+                selected = listBase.isItemSelected(data);
+                value = listBase.isItemHighlighted(data);
+            }
+        }
+        super.hovered = value;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function commitProperties():void
+    {
+        if (listData)
+        {
+            // make sure itemIndex is correct before the base class does any computation
+            // based on it
+            var listBase:mx.controls.listClasses.ListBase = mx.controls.listClasses.ListBase(listData.owner);
+            itemIndex = listData.rowIndex + listBase.verticalScrollPosition;
+        }
+
+        super.commitProperties();
+    }
+
+    /**
+     *  @private
+     */
+    override public function setFocus():void
+    {
+        if (editor)
+            editor.setFocus();
+
+        super.setFocus();
+    }
+
+
+}
+}


Almost

Almost

New TODOs

--- src/sfxworks/services/nodes/DatabaseServiceNodeClient.as
+++ src/sfxworks/services/nodes/DatabaseServiceNodeClient.as
@@ -16,6 +16,10 @@
 		private var queries:Vector.<SQLStatement>;
 		private var _active:Boolean;
 		private var sqlConnection:SQLConnection;
+
+		//ToDo: Add some sort of mech to detect whether or not db has all objects and is ready to handle new data submissions
+		//... debate on whether or not to auto add HaveObjects or to scan for them at an interval depending on local mods to db
+

 		public function DatabaseServiceNodeClient(name:String, connection:SQLConnection)
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 3307
Author:   matamel@adobe.com
Date:     2008-09-23T02:38:31.193018Z

Log Message:
-----------
Feature: Message throttling - message priority sub-feature.
QA: Not yet.
Doc: Not yet.
Checkintests: Pass

Details: Adding message priority support to BlazeDS client code as outlined in the spec. This check-in enables setting the message priority at the Producer and message levels but the priority is not used in FlexClientOutboundQueueProcessor yet.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1273567 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/messaging/Producer.as
+++ frameworks/projects/rpc/src/mx/messaging/Producer.as
@@ -143,6 +143,13 @@
         if (subtopic.length > 0)
             message.headers[AsyncMessage.SUBTOPIC_HEADER] = subtopic;

+        if (priority > 0)
+        {
+            // Set the priority header, only if it's not already set.
+            if (message.headers[AbstractMessage.PRIORITY_HEADER] == null)
+                message.headers[AbstractMessage.PRIORITY_HEADER] = priority;
+        }
+
         super.internalSend(message, waitForClientId);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283285 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/core/MaskType.as
+++ frameworks/projects/spark/src/spark/core/MaskType.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2006 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1267538 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/containers/Accordion.as
+++ frameworks/projects/mx/src/mx/containers/Accordion.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.containers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1274392 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as
+++ frameworks/projects/rpc/src/mx/rpc/soap/SOAPHeader.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


require_dir.

require_dir.

	* build-aux/base.as (require_thing, require_dir): New.
	(require_file): Use require_thing.

--- build-aux/base.as
+++ build-aux/base.as
@@ -108,14 +108,30 @@
   echo "$res"
 }

+# require_thing TEST-FLAG ERROR_MESSAGE THING [HINT]
+# --------------------------------------------------
+require_thing ()
+{
+  local flag=$[1]
+  local error="$[2]: $[3]"
+  local thing=$[3]
+  shift 3
+  test $flag "$thing" ||
+    fatal OSFILE "$error" "$[@]"
+}
+
+# require_dir DIR [HINT]
+# ----------------------
+require_dir ()
+{
+  require_thing -d "no such directory" "$[@]"
+}
+
 # require_file FILE [HINT]
 # ------------------------
 require_file ()
 {
-  local file=$[1]
-  shift
-  test -f "$file" ||
-    fatal OSFILE "no such file: $file" "$[@]"
+  require_thing -f "no such file" "$[@]"
 }

 ])


Switched to using ColumnTreeNode for GraphMLDataSource's hierarchy.

--- WeaveData/src/weave/data/DataSources/GraphMLDataSource.as
+++ WeaveData/src/weave/data/DataSources/GraphMLDataSource.as
@@ -22,6 +22,7 @@
     import weave.data.AttributeColumns.ProxyColumn;
     import weave.data.AttributeColumns.StringColumn;
     import weave.data.QKeyManager;
+    import weave.data.hierarchy.ColumnTreeNode;
     import weave.utils.VectorUtils;

     public class GraphMLDataSource extends AbstractDataSource
@@ -65,23 +66,11 @@

         override protected function generateHierarchyNode(metadata:Object):IWeaveTreeNode
         {
-            var graphNode:GraphMLGraphNode;
-            var groupNode:GraphMLGroupNode;
-            var columnNode:GraphMLColumnNode;
-
-            graphNode = new GraphMLGraphNode(this);
-
-            if (metadata[GRAPH_GROUP_META] === undefined)
-                return graphNode;
-
-            groupNode = new GraphMLGroupNode(graphNode, metadata[GRAPH_GROUP_META]);
-
-            if (metadata[GRAPH_ID_META] === undefined)
-                return groupNode;
-
-            columnNode = new GraphMLColumnNode(groupNode, metadata[GRAPH_ID_META]);
-
-            return columnNode;
+            return new ColumnTreeNode({
+                source: this,
+                idFields: [GRAPH_GROUP_META, GRAPH_ID_META],
+                columnMetadata: metadata
+            });
         }

         private function handleURLChange():void
@@ -255,9 +244,43 @@

         override public function getHierarchyRoot():IWeaveTreeNode
         {
-            if (!(_rootNode is GraphMLGraphNode))
-            {
-                _rootNode = new GraphMLGraphNode(this);
+            if (!_rootNode)
+            {
+                var source:GraphMLDataSource = this;
+
+                _rootNode = new ColumnTreeNode({
+                    source: source,
+                    data: source,
+                    label: WeaveAPI.globalHashMap.getName(this),
+                    isBranch: true,
+                    hasChildBranches: true,
+                    children: function():Array {
+                        return [GraphMLConverter.NODE, GraphMLConverter.EDGE].map(
+                            function(group:String, ..._):Object {
+                                return {
+                                    source: source,
+                                    data: group,
+                                    label: group == GraphMLConverter.NODE ? "Nodes" : "Edges",
+                                    isBranch: true,
+                                    hasChildBranches: false,
+                                    children: function ():Array {
+                                        var groupProperties:Array = group == GraphMLConverter.NODE ? nodeProperties : edgeProperties;
+                                        weaveTrace(groupProperties);
+                                        return groupProperties.map(
+                                            function(field:String, ..._):* {
+                                                var metadata:Object = {};
+                                                metadata[ColumnMetadata.TITLE] = field;
+                                                metadata[GRAPH_ID_META] = field;
+                                                metadata[GRAPH_GROUP_META] = group;
+                                                return generateHierarchyNode(metadata);
+                                            }
+                                        );
+                                    }
+                                }
+                            }
+                        );
+                    }
+                });
             }

             return _rootNode;
@@ -333,175 +356,4 @@
             return true;
         }
     }
-}
-
-import flare.data.converters.GraphMLConverter;
-
-import weave.api.data.ColumnMetadata;
-import weave.api.data.IColumnReference;
-import weave.api.data.IDataSource;
-import weave.api.data.IWeaveTreeNode;
-import weave.data.DataSources.GraphMLDataSource;
-
-internal class GraphMLGraphNode implements IWeaveTreeNode
-{
-    private var _source:GraphMLDataSource;
-    private var children:Array = null;
-
-    public function get source():GraphMLDataSource
-    {
-        return _source;
-    }
-    public function GraphMLGraphNode(source:GraphMLDataSource)
-    {
-        this._source = source;
-    }
-
-    public function equals(other:IWeaveTreeNode):Boolean
-    {
-        var that:GraphMLGraphNode = other as GraphMLGraphNode;
-        return !!that && this.source == that.source;
-    }
-
-    public function hasChildBranches():Boolean {return true;}
-
-    public function isBranch():Boolean {return true;}
-
-    public function getChildren():Array
-    {
-        if (children == null)
-        {
-            children =
-            [
-                new GraphMLGroupNode(this, GraphMLConverter.NODE),
-                new GraphMLGroupNode(this, GraphMLConverter.EDGE)
-            ];
-        }
-        return children;
-    }
-
-    public function getLabel():String
-    {
-        return WeaveAPI.globalHashMap.getName(source);
-    }
-}
-
-internal class GraphMLGroupNode implements IWeaveTreeNode
-{
-    private var _graph:GraphMLGraphNode;
-    private var _group:String;
-    private var children:Array = null;
-
-    public function get columnSchema():Object
-    {
-        return isNodeGroup() ? graph.source.nodeSchema : graph.source.edgeSchema;
-    }
-
-    public function get group():String
-    {
-        return _group;
-    }
-
-    public function get graph():GraphMLGraphNode
-    {
-        return _graph;
-    }
-
-    public function GraphMLGroupNode(graph:GraphMLGraphNode, group:String)
-    {
-        _graph = graph;
-        _group = group;
-    }
-
-    public function isNodeGroup():Boolean
-    {
-        return GraphMLConverter.NODE == group;
-    }
-
-    public function equals(other:IWeaveTreeNode):Boolean
-    {
-        var that:GraphMLGroupNode = other as GraphMLGroupNode;
-        return !!that &&
-                this.graph.equals(that.graph) &&
-                this.group == that.group;
-    }
-
-    public function isBranch():Boolean { return true; }
-
-    public function hasChildBranches():Boolean { return false; }
-
-    public function getChildren():Array
-    {
-        if (children == null)
-        {
-            children = [];
-
-            var columns:Array = isNodeGroup() ?
-                    graph.source.nodeProperties :
-                    graph.source.edgeProperties;
-
-			for each (var id:String in columns)
-                children.push(new GraphMLColumnNode(this, id));
-        }
-        return children;
-    }
-    public function getLabel():String
-    {
-        return isNodeGroup() ? lang("Nodes") : lang("Edges");
-    }
-}
-
-internal class GraphMLColumnNode implements IWeaveTreeNode, IColumnReference {
-    private var _parent:GraphMLGroupNode;
-    private var _id:String;
-
-    public function get parent():GraphMLGroupNode
-    {
-        return _parent;
-    }
-
-    public function get group():GraphMLGroupNode
-    {
-        return _parent as GraphMLGroupNode;
-    }
-    public function get id():String
-    {
-        return _id;
-    }
-
-    public function GraphMLColumnNode(parent:GraphMLGroupNode, id:String)
-    {
-        this._parent = parent;
-        this._id = id;
-    }
-
-    public function equals(other:IWeaveTreeNode):Boolean
-    {
-        var that:GraphMLColumnNode = other as GraphMLColumnNode;
-        return !!that &&
-                 this.parent.equals(that.parent) &&
-                 this.id == that.id;
-    }
-
-    public function isBranch():Boolean { return false; }
-    public function hasChildBranches():Boolean { return false; }
-    public function getChildren():Array { return null; }
-
-    public function getLabel():String
-    {
-        if (id == GraphMLConverter.ID)
-            return "GraphML Element ID";
-        else
-            return parent.columnSchema[id].name + " (" + id + ")";
-    }
-
-    public function getDataSource():IDataSource
-    {
-        return parent.graph.source;
-    }
-
-    public function getColumnMetadata():Object
-    {
-        return parent.graph.source.getColumnMetadata(group.group, id);
-    }
 }