consistent style + add get_current_fragment() API

--- src/org/mangui/hls/HLSJS.as
+++ src/org/mangui/hls/HLSJS.as
@@ -13,13 +13,14 @@

     public class HLSJS
     {
-        private static var _inited:Boolean = false;
-        private static var _duration:Number;
-        private static var _bandwidth:Number = -1;
-        private static var _url:String;
-        private static var _state:String;
-        private static var _hls:HLS;
-	private static var _silence: Boolean = false;
+        private static var _inited: Boolean = false;
+        private static var _duration: Number;
+        private static var _bandwidth: Number = -1;
+        private static var _url: String;
+        private static var _currentFrag: String;
+        private static var _state: String;
+        private static var _hls: HLS;
+        private static var _silence: Boolean = false;

         public static function init():void{
             if (_inited || !ZExternalInterface.avail())
@@ -38,18 +39,20 @@
                 hola_hls_get_buffer_sec);
             ExternalInterface.addCallback("hola_hls_get_state",
                 hola_hls_get_state);
+            ExternalInterface.addCallback("hola_hls_get_current_fragment",
+                hola_hls_get_current_fragment);
             ExternalInterface.addCallback("hola_hls_get_levels",
                 hola_hls_get_levels);
-	    ExternalInterface.addCallback("hola_hls_get_levels_async",
-	        hola_hls_get_levels_async);
+            ExternalInterface.addCallback("hola_hls_get_levels_async",
+                hola_hls_get_levels_async);
             ExternalInterface.addCallback("hola_hls_get_segment_info",
                 hola_hls_get_segment_info);
             ExternalInterface.addCallback("hola_hls_get_level",
                 hola_hls_get_level);
-	    ExternalInterface.addCallback("hola_hls_get_bitrate",
-	        hola_hls_get_bitrate);
-	    ExternalInterface.addCallback("hola_hls_get_decoded_frames",
-	        hola_hls_get_decoded_frames);
+            ExternalInterface.addCallback("hola_hls_get_bitrate",
+                hola_hls_get_bitrate);
+            ExternalInterface.addCallback("hola_hls_get_decoded_frames",
+                hola_hls_get_decoded_frames);
             ExternalInterface.addCallback("hola_setBandwidth",
                 hola_setBandwidth);
             ExternalInterface.addCallback("hola_hls_setBandwidth",
@@ -57,24 +60,23 @@
             ExternalInterface.addCallback("hola_hls_get_type",
                 hola_hls_get_type);
             ExternalInterface.addCallback("hola_hls_load_fragment", hola_hls_load_fragment);
-	    ExternalInterface.addCallback("hola_hls_abort_fragment", hola_hls_abort_fragment);
-	    ExternalInterface.addCallback("hola_hls_load_level", hola_hls_load_level);
-	    ExternalInterface.addCallback('hola_hls_flush_stream', hola_hls_flush_stream);
+            ExternalInterface.addCallback("hola_hls_abort_fragment", hola_hls_abort_fragment);
+            ExternalInterface.addCallback("hola_hls_load_level", hola_hls_load_level);
+            ExternalInterface.addCallback('hola_hls_flush_stream', hola_hls_flush_stream);
         }

         public static function HLSnew(hls:HLS):void{
             _hls = hls;
             _state = HLSPlayStates.IDLE;
             // track duration events
-            hls.addEventListener(HLSEvent.MANIFEST_LOADED,
-	        on_manifest_loaded);
             hls.addEventListener(HLSEvent.PLAYLIST_DURATION_UPDATED,
                 on_playlist_duration_updated);
             // track playlist-url/state
-            hls.addEventListener(HLSEvent.MANIFEST_LOADING,
-	        on_manifest_loading);
             hls.addEventListener(HLSEvent.PLAYBACK_STATE, on_playback_state);
             hls.addEventListener(HLSEvent.SEEK_STATE, on_seek_state);
+            hls.addEventListener(HLSEvent.MANIFEST_LOADED, on_manifest_loaded);
+            hls.addEventListener(HLSEvent.MANIFEST_LOADING, on_manifest_loading);
+            hls.addEventListener(HLSEvent.FRAGMENT_LOADING, on_fragment_loading);
             // notify js events
             hls.addEventListener(HLSEvent.MANIFEST_LOADING, on_event);
             hls.addEventListener(HLSEvent.MANIFEST_PARSED, on_event);
@@ -134,6 +136,11 @@
             _duration = e.duration;
         }

+        private static function on_fragment_loading(e: HLSEvent): void
+        {
+            _currentFrag = e.url;
+        }
+
         private static function on_manifest_loading(e:HLSEvent):void{
             _url = e.url;
             _state = "LOADING";
@@ -144,115 +151,123 @@
             _state = e.state;
         }

-	private static function on_level_loaded(e: HLSEvent): void
-	{
+        private static function on_level_loaded(e: HLSEvent): void
+        {
             JSAPI.postMessage('flashls.'+e.type, {level: level_to_object(_hls.levels[e.loadMetrics.level])});
-	}
-
-	private static function on_seek_state(e: HLSEvent): void
-	{
+        }
+
+        private static function on_seek_state(e: HLSEvent): void
+        {
             JSAPI.postMessage('flashls.'+e.type, {state: e.state, seek_pos: _hls.position, buffer: _hls.stream.bufferLength});
-	}
-
-        private static function on_event(e:HLSEvent):void{
-	    if (_silence)
-	        return;
+        }
+
+        private static function on_event(e: HLSEvent): void
+        {
+            if (_silence)
+                return;
             JSAPI.postMessage('flashls.'+e.type, {url: e.url, level: e.level,
-		duration: e.duration, levels: e.levels, error: e.error,
-		loadMetrics: e.loadMetrics, playMetrics: e.playMetrics,
-		mediatime: e.mediatime, state: e.state,
-		audioTrack: e.audioTrack, streamType: e.streamType});
-        }
-
-        private static function hola_version():Object{
+                duration: e.duration, levels: e.levels, error: e.error,
+                loadMetrics: e.loadMetrics, playMetrics: e.playMetrics,
+                mediatime: e.mediatime, state: e.state,
+                audioTrack: e.audioTrack, streamType: e.streamType});
+        }
+
+        private static function hola_version(): Object
+        {
             return {
                 flashls_version: '0.4.4.20',
                 patch_version: '2.0.13'
             };
         }

-        private static function hola_hls_get_video_url():String{
+        private static function hola_hls_get_video_url(): String
+        {
             return _url;
         }

-        private static function hola_hls_get_position():Number{
+        private static function hola_hls_get_position(): Number
+        {
             return _hls.position;
         }

-        private static function hola_hls_get_duration():Number{
+        private static function hola_hls_get_duration(): Number
+        {
             return _duration;
         }

         private static function hola_hls_get_decoded_frames(): Number
-	{
+        {
             return _hls.stream.decodedFrames;
         }

-        private static function hola_hls_get_buffer_sec():Number{
+        private static function hola_hls_get_buffer_sec(): Number
+        {
             return _hls.stream.bufferLength;
         }

-        private static function hola_hls_get_state():String{
+        private static function hola_hls_get_state(): String
+        {
             return _state;
         }

-        private static function hola_hls_get_type():String{
+        private static function hola_hls_get_type(): String
+        {
             return _hls.type;
         }

         private static function hola_hls_load_fragment(level: Number, frag: Number, url: String): Object
-	{
-	    if (HSettings.gets('mode')!='hola_adaptive')
-	        return 0;
-	    return _hls.loadFragment(level, frag, url);
-        }
-
-	private static function hola_hls_flush_stream(): void
-	{
-	    if (_hls.stream.decodedFrames === 0)
-	        return;
-	    _silence = true;
-	    _hls.stream.close();
-	    _hls.stream.play();
+        {
+            if (HSettings.gets('mode')!='hola_adaptive')
+                return 0;
+            return _hls.loadFragment(level, frag, url);
+        }
+
+        private static function hola_hls_flush_stream(): void
+        {
+            if (_hls.stream.decodedFrames === 0)
+                return;
+            _silence = true;
+            _hls.stream.close();
+            _hls.stream.play();
             _hls.stream.pause();
-	    _silence = false;
-	}
+            _silence = false;
+        }

         private static function hola_hls_abort_fragment(ldr_id: String): void
-	{
-	    if (HSettings.gets('mode')!='hola_adaptive')
-	        return;
-	    _hls.abortFragment(ldr_id);
-        }
-
-	private static function hola_hls_load_level(level: Number): void
-	{
-	    if (HSettings.gets('mode')!='hola_adaptive')
-	        return;
-	    if (!_hls.isStartLevelSet())
-	        _hls.startLevel = level;
-	    _hls.dispatchEvent(new HLSEvent(HLSEvent.LEVEL_SWITCH, level));
+        {
+            if (HSettings.gets('mode')!='hola_adaptive')
+                return;
+            _hls.abortFragment(ldr_id);
+        }
+
+        private static function hola_hls_load_level(level: Number): void
+        {
+            if (HSettings.gets('mode')!='hola_adaptive')
+                return;
+            if (!_hls.isStartLevelSet())
+                _hls.startLevel = level;
+            _hls.dispatchEvent(new HLSEvent(HLSEvent.LEVEL_SWITCH, level));
         }

         private static function level_to_object(l: Level): Object
-	{
+        {
             var fragments: Array = [];
-	    for (var i: int = 0; i<l.fragments.length; i++)
-	    {
-	        var fragment: Fragment = l.fragments[i];
-	        fragments.push({url: fragment.url,
-		    duration: fragment.duration, seqnum: fragment.seqnum});
-	    }
-	    return {url: l.url, bitrate: l.bitrate, fragments: fragments,
-	        index: l.index, width: l.width, height: l.height, audio: l.audio};
-	}
-
-        private static function hola_hls_get_levels():Object{
-            var levels:Vector.<Object> =
-                new Vector.<Object>(_hls.levels.length);
-            for (var i:int = 0; i<_hls.levels.length; i++)
+            for (var i: int = 0; i<l.fragments.length; i++)
             {
-                var l:Level = _hls.levels[i];
+                var fragment: Fragment = l.fragments[i];
+                fragments.push({url: fragment.url,
+                    duration: fragment.duration, seqnum: fragment.seqnum});
+            }
+            return {url: l.url, bitrate: l.bitrate, fragments: fragments,
+                index: l.index, width: l.width, height: l.height, audio: l.audio};
+        }
+
+        private static function hola_hls_get_levels(): Object
+        {
+            var levels: Vector.<Object> = new Vector.<Object>(_hls.levels.length);
+            for (var i: int = 0; i<_hls.levels.length; i++)
+            {
+                var l: Level = _hls.levels[i];
                 // no fragments returned, use get_segment_info for fragm.info
                 levels[i] = Object({url: l.url, bitrate: l.bitrate,
                     index: l.index, fragments: []});
@@ -260,21 +275,27 @@
             return levels;
         }

+        private static function hola_hls_get_current_fragment(): String
+        {
+            return _currentFrag;
+        }
+
         private static function hola_hls_get_levels_async(): void
-	{
-	    setTimeout(function(): void
-	    {
+        {
+            setTimeout(function(): void
+            {
                 var levels: Array = [];
                 for (var i: int = 0; i<_hls.levels.length; i++)
                     levels.push(level_to_object(_hls.levels[i]));
-		JSAPI.postMessage('flashls.hlsAsyncMessage', {type: 'get_levels', msg: levels});
-	    }, 0);
-        }
-
-        private static function hola_hls_get_segment_info(url:String):Object{
-            for (var i:int = 0; i<_hls.levels.length; i++)
+                JSAPI.postMessage('flashls.hlsAsyncMessage', {type: 'get_levels', msg: levels});
+            }, 0);
+        }
+
+        private static function hola_hls_get_segment_info(url: String): Object
+        {
+            for (var i: int = 0; i<_hls.levels.length; i++)
             {
-                var l:Level = _hls.levels[i];
+                var l: Level = _hls.levels[i];
                 for (var j:int = 0; j<l.fragments.length; j++)
                 {
                     if (url==l.fragments[j].url)
@@ -289,16 +310,17 @@
         }

         private static function hola_hls_get_bitrate(): Number
-	{
-   	    return _hls.loadLevel<_hls.levels.length ? _hls.levels[_hls.loadLevel].bitrate : 0;
-	}
+        {
+            return _hls.loadLevel<_hls.levels.length ? _hls.levels[_hls.loadLevel].bitrate : 0;
+        }

         private static function hola_hls_get_level(): String
-	{
+        {
             return _hls.loadLevel<_hls.levels.length ? _hls.levels[_hls.loadLevel].url : undefined;
         }

-        private static function hola_setBandwidth(bandwidth:Number):void{
+        private static function hola_setBandwidth(bandwidth: Number): void
+        {
             _bandwidth = bandwidth;
         }
     }


Update HTTPHLSNetStream to listen for http-error codes (e.g. 403s); old versions of OSMF will never return these, so it's a no-op.  The new version of strobe I'm working on _will_ possibly send on these errors in the 400+ range, and it correctly handles these.  For instance, there is no point in retrying on a 400-error, so we don't both with the wasteful (and pointless) retry logic.

--- HLSPlugin/src/org/denivip/osmf/net/httpstreaming/hls/HTTPHLSNetStream.as
+++ HLSPlugin/src/org/denivip/osmf/net/httpstreaming/hls/HTTPHLSNetStream.as
@@ -616,6 +616,13 @@
 					}
 					bufferTime = BUFFER_SIZE_DEF;
 					break;
+
+				default:
+					// Some http based error?  If yes, shut'er down.
+					var httpCode:int = parseInt(event.info.code);
+					if( !isNaN(httpCode) && httpCode >= 400 )
+						close();
+					break;
 			}

 			CONFIG::FLASH_10_1
@@ -1199,22 +1206,38 @@
 			{
 				logger.error("Error load chunk: " + event.url + " skip to next");
 			}
-			if(_source){
-				if(_source is HTTPHLSStreamSource){
-					if(event.url.match(/.m3u8/)){
-						if(_reloadTryCount >= MAX_RELOAD_RETRYES)
-							dispatchEvent( new NetStatusEvent( NetStatusEvent.NET_STATUS, false, false, {code:NetStreamCodes.NETSTREAM_PLAY_STREAMNOTFOUND, level:"error", details:event.url}) );
-						else{
-							_reloadTryCount++;
-							var t:Timer = new Timer(RELOAD_TIMEOUT);
-							t.addEventListener(
-								TimerEvent.TIMER_COMPLETE,
-								function(e:Event):void{
-									HTTPHLSStreamSource(_source).loadNextChunk();
-								}
-							);
-						}
-					}else{
+			if(_source)
+			{
+				if(_source is HTTPHLSStreamSource)
+				{
+					if(event.url.match(/.m3u8/))
+					{
+						var httpCode:int = parseInt(event.reason);
+						if( httpCode >= 400 )
+						{
+							// There's no point in retrying.
+							dispatchEvent( new NetStatusEvent( NetStatusEvent.NET_STATUS, false, false, {code:event.reason, level:"error", details:event.url}));
+						}
+						else
+						{
+							if(_reloadTryCount >= MAX_RELOAD_RETRYES)
+							{
+								dispatchEvent( new NetStatusEvent( NetStatusEvent.NET_STATUS, false, false, {code:NetStreamCodes.NETSTREAM_PLAY_STREAMNOTFOUND, level:"error", details:event.url}) );
+							}
+							else
+							{
+								_reloadTryCount++;
+								var t:Timer = new Timer(RELOAD_TIMEOUT);
+								t.addEventListener( TimerEvent.TIMER_COMPLETE,
+													function(e:Event):void{
+														HTTPHLSStreamSource(_source).loadNextChunk();
+													}
+												  );
+							}
+						}
+					}
+					else
+					{
 						HTTPHLSStreamSource(_source).loadNextChunk();
 					}
 				}


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@1253193 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/renderers/CircleItemRenderer.as
+++ frameworks/projects/charts/src/mx/charts/renderers/CircleItemRenderer.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.charts.renderers
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as
@@ -55,6 +55,12 @@
  *  Although this class extends the base AMFChannel to inherit the regular AMF
  *  handling, it does not support polling.
  *  </p>
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion BlazeDS 4
+ *  @productversion LCDS 3
  */
 public class StreamingAMFChannel extends AMFChannel
 {
@@ -70,6 +76,12 @@
      *  @param id The id of this Channel.
      *
      *  @param uri The uri for this Channel.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function StreamingAMFChannel(id:String = null, uri:String = null)
     {
@@ -88,6 +100,12 @@
     /**
      * Helper class used by the channel to establish a streaming HTTP connection
      * with the server.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private var streamingConnectionHandler:StreamingConnectionHandler;

@@ -152,6 +170,12 @@

     /**
      *  Polling is not supported by this channel.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     override public function poll():void
     {
@@ -240,6 +264,12 @@
      *  and gets ready for messaging.
      *
      *  @param event The OPEN Event.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private function streamOpenHandler(event:Event):void
     {
@@ -252,6 +282,12 @@
      *  channel that it has disconnected.
      *
      *  @param event The COMPLETE Event.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private function streamCompleteHandler(event:Event):void
     {
@@ -270,6 +306,12 @@
      *  Handle HTTP status events dispatched by the streaming connection.
      *
      *  @param event The HTTPStatusEvent.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private function streamHttpStatusHandler(event:HTTPStatusEvent):void
     {
@@ -281,6 +323,12 @@
      *  Handle IO error events dispatched by the streaming connection.
      *
      *  @param event The IOErrorEvent.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private function streamIoErrorHandler(event:IOErrorEvent):void
     {
@@ -307,6 +355,12 @@
      *  Handle security error events dispatched by the streaming connection.
      *
      *  @param event The SecurityErrorEvent.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private function streamSecurityErrorHandler(event:SecurityErrorEvent):void
     {
@@ -320,6 +374,12 @@
      *  Handle status events dispatched by the streaming connection.
      *
      *  @param event The StatusEvent.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     private function streamStatusHandler(event:StatusEvent):void
     {
@@ -353,6 +413,12 @@
  *  A helper class that is used by the streaming channels to open an internal
  *  HTTP connection to the server that is held open to allow the server to
  *  stream data down to the client with no poll overhead.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion BlazeDS 4
+ *  @productversion LCDS 3
  */
 class StreamingAMFConnectionHandler extends StreamingConnectionHandler
 {
@@ -367,6 +433,12 @@
      *
      *  @param channel The Channel that uses this class.
      *  @param log Reference to the logger for the associated Channel.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function StreamingAMFConnectionHandler(channel:Channel, log:ILogger)
     {
@@ -381,6 +453,12 @@

     /**
      *  Used by the streamProgressHandler to read an AMF encoded message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     override protected function readMessage():IMessage
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 6439
Author:   dsubrama@adobe.com
Date:     2009-04-30T21:19:14.460041Z

Log Message:
-----------
Bugfixes: SDK-20853, SDK-20506, SDK-20855

We now use the bottleneck method, updateRenderer() to let the DataGroup have first crack at setting a renderer's data, owner and labelText properties. Then the "true" owners like a List or ButtonBar which father a renderer, get a chance to come in and clean out stale properties and set new properties on the renderer (which was either created anew or recycled).

I also cleaned up some comments in LayoutBase.

Reviewer: Ryan
Checkintests: Pass
Mustella: Steve and Ella ok'ed a cyclone I gave them against List, ButtonBar, DataGroup and SkinnableDataContainer.

Modified Paths:
--------------
<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/components/IItemRendererOwner.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/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.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/flex4/src/spark/components/SkinnableDataContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -672,7 +672,7 @@
     }

     /**
-     *  @copy spark.components.DataGroup#updateRendererInformation()
+     *  @inheritDoc
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -680,15 +680,12 @@
      *  @productversion Flex 4
      *
      */
-    public function updateRendererInformation(renderer:IVisualElement, data:Object=null):void
-    {
-        if (!renderer)
-           return;
-
-        IVisualElement(renderer).owner = this;
+    public function updateRenderer(renderer:IVisualElement):void
+    {
+        renderer.owner = this;

         if (renderer is IItemRenderer)
-            IItemRenderer(renderer).labelText = itemToLabel(IItemRenderer(renderer).data);
+            IItemRenderer(renderer).labelText = itemToLabel(IItemRenderer(renderer).data);
     }

     //--------------------------------------------------------------------------
@@ -960,7 +957,7 @@
     {
         var renderer:IVisualElement = event.renderer;

-        updateRendererInformation(renderer);
+        updateRenderer(renderer);

         dispatchEvent(event);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5841
Author:   rfrishbe@adobe.com
Date:     2009-04-01T18:06:53.546424Z

Log Message:
-----------
Changing the lifecycle of the layout object in GroupBase.  Before, we’d always instantiate one in GroupBase’s constructor.  Now, we wait until createChildren() time to instantiate the default.  This means if people set the layout object, we won’t be creating this extra BasicLayout we don’t need.  There was an assumption in GroupBase around some of the proxied properties that the layout object was always going to be present.  These are cleaned up for when the layout object doesn’t always exist.  Also, now when the layout object is swapped at runtime, the verticalScrollPosition and horizontalScrollPosition don’t get pushed into the new layout object, as they may not translate correctly.  We discussed the possibility of sending in a “first item in view” for when the layout object is swapped, but for now, we don’t do anything like that.

Also fixing a bug in components.properties and some spelling errors in SkinnableDataContainer.

QE Notes: Fix the tests that were failing and re-include them
Doc Notes: -
Bugs: SDK-19769, SDK-20163
Reviewer: Hans
tests: checkintests, mustella core and layout tests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/bundles/en_US/components.properties</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/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.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/components/HGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -183,11 +183,11 @@
      *  we want to carry around if the dataGroup changes (via a new skin).
      *  In order to store this info effeciently, dataGroupProperties becomes
      *  a uint to store a series of BitFlags.  These bits represent whether a
-     *  property has been explicitely set on this SkinnableDataContainer.  When the
+     *  property has been explicitly set on this SkinnableDataContainer.  When the
      *  dataGroup is not around, dataGroupProperties is a typeless
      *  object to store these proxied properties.  When dataGroup is around,
      *  dataGroupProperties stores booleans as to whether these properties
-     *  have been explicitely set or not.
+     *  have been explicitly set or not.
      */
     private var dataGroupProperties:Object = {};

@@ -458,8 +458,6 @@
     //  layout
     //----------------------------------

-    private var _layout:LayoutBase;
-
     /**
      *  @copy spark.components.supportClasses.GroupBase#layout
      *
@@ -720,7 +718,7 @@
             dataGroup.removeEventListener(
                 RendererExistenceEvent.RENDERER_REMOVE, dispatchEvent);

-            // copy proxied values from dataGroup (if explicitely set) to dataGroupProperties
+            // copy proxied values from dataGroup (if explicitly set) to dataGroupProperties

             var newDataGroupProperties:Object = {};


Transferred from the Adobe Open Source Subversion Repository

Revision: 18565
Author:   hmuller@adobe.com
Date:     2010-11-12T21:52:04.958402Z

Log Message:
-----------
Ignore DataGrid stretchCursor style values when they're the wrong type (not a Class).

Added GridEvent/grid and GridItemRenderer/grid read-only properties.

Added DataGrid,Grid/invalidateTypicalItem() method.

Change GridColumnHeaderGroupLayout/measure - minimized measuredWidth to eliminate impact on DataGrid measuredWidth

QE notes:
Doc notes:
Bugs: SDK-27776, SDK-28538
Reviewer: Carol
Tests run: checkin
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -925,7 +925,8 @@

                 initializeItemRenderer(renderer, rowIndex, colIndex);

-                // TBD(hmuller): if takeVisibleItemRenderer returned true, should we skip prepare?()
+                // TBD(hmuller): if takeVisibleItemRenderer returned true, and initializeItemRenderer
+                // returned false - because nothing changed - don't run prepare().
                 renderer.prepare(!createdGridElement);

                 var colWidth:Number = gridDimensions.getColumnWidth(colIndex);


Transferred from the Adobe Open Source Subversion Repository

Revision: 13145
Author:   mhorn@adobe.com
Date:     2009-12-22T16:47:14.705038Z

Log Message:
-----------
asdoc updates and bug fixes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/ILogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.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/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/Stroke.as</path>

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

--- frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
+++ frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as
@@ -61,7 +61,7 @@
  *    joints="round|bevel|miter"
  *    miterLimit="3"
  *    pixelHinting="false|true"
- *    scaleMode="normal|none|noScale|vertical"
+ *    scaleMode="normal|none|horizontal|vertical"
  *    weight="1 (<i>in most cases</i>)"
  *  />
  *  </pre>


FLEX-29002.  Reapply 1398487 which was wiped out by the next change to the file.

git-svn-id: f8d5f742b420a6a114b58659a4f85f335318e53c@1436492 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
+++ frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
@@ -1443,7 +1443,7 @@
 				for (var i:int = 0; i < n; i++)
 				{
 					var o:PopUpData = popupInfo[i];
-					if (o && o != p)
+					if (o && o != p && o.owner.accessibilityProperties)
 					{
 						o.owner.accessibilityProperties.silent	= true;
 					}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11015
Author:   egeorgie@adobe.com
Date:     2009-10-19T23:11:47.299750Z

Log Message:
-----------
Drag and Drop - add "dragging" state to item renderer.

QE notes: ItemRenderer "dragging" state ready for testing.
Doc notes: None
Bugs: None
Reviewer: Hans
Tests run: checkintests, mustella (ListDragDrop, List)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBarButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/IItemRenderer.as</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/projects/spark/src/spark/components/supportClasses/ListItemDragProxy.as</path>

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

--- frameworks/projects/spark/src/spark/components/ButtonBarButton.as
+++ frameworks/projects/spark/src/spark/components/ButtonBarButton.as
@@ -120,6 +120,25 @@
         drawFocus(value);
     }

+	//----------------------------------
+	//  dragging
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	public function get dragging():Boolean
+	{
+		return false;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set dragging(value:Boolean):void
+	{
+	}
+
     //----------------------------------
     //  data
     //----------------------------------


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@1251587 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/automation/src/mx/automation/events/EventDetails.as
+++ frameworks/projects/automation/src/mx/automation/events/EventDetails.as
@@ -1,4 +1,14 @@

+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.automation.events
 {


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@1253713 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
+++ frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 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.flash
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17330
Author:   chiedozi@adobe.com
Date:     2010-08-16T17:36:59.538425Z

Log Message:
-----------
Removed the sections functionality from ViewNavigator and refactored that logic into TabbedViewNavigator.  Updated dependent performance tests and components.
Introduced MobileApplicationBase and TabbedMobileApplication do support the tabbed use case for mobile.
Deleted SliderSkin from the framework.  All mobile skins now extend MobileSkin.

QE notes:
Doc notes:
Bugs:
Reviewer: Glenn and Ryan
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<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/mobilecomponents/src/spark/components/View.as</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/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/ViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/PersistenceManager.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.as" copyfrom-rev="17260" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/NavigationStack.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ScriptRunner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.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/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewHistoryData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</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/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/IPersistenceManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/IViewTransition.as</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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SliderSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -26,7 +26,7 @@
 import spark.skins.MobileSkin;

 /**
- *  TODO
+ *  FIXME (jasonsj)
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 17305
Author:   gruehle@adobe.com
Date:     2010-08-12T21:18:50.910120Z

Log Message:
-----------
This revision includes the following changes:
* Text skin parts for Spark components changed from TextBase and RichEditableText to IDisplayText and IEditableText
* TextBase implements IDisplayText
* RichEditableText implements IEditableText
* New mobile skins for TextInput and TextArea (TextArea appearance is placeholder for now)
* Add a TOUCH_SCROLL_STARTING handler to SkinnableTextBase. This handler prevents the touch scroll from happening if the text is selectable or editable.
* Change global contentBackgroundColor to #3F3F3F and mobile application backgroundColor to #484848

Now that text skin parts are interfaces they need to be cast to concrete types in a bunch of places. There are two general approaches taken here:
* For required functionality, cast to a known type like InteractiveObject
* For optional functionality, cast to the desired type using “as” and wrap the code with a null check.

QE notes: Mobile TextInput is ready for testing. TextArea has some issues with resizing, so testing should wait for now.
Doc notes: -
Bugs: -
Reviewer: Jason Szeto, Corey L.
Tests run: full mustella pass (thank you cyclone server!), checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInput_border.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/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/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="A">/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/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DefaultColumnHeaderRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</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/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableTextBaseAutomationImpl.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as
@@ -0,0 +1,142 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 spark.skins.mobile
+{
+
+import flash.display.DisplayObject;
+
+import spark.components.TextInput;
+import spark.components.supportClasses.MobileTextField;
+import spark.skins.MobileSkin;
+
+/**
+ *  Actionscript based skin for mobile text input.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.0
+ *  @productversion Flex 4.5
+ */
+public class TextInputSkin extends MobileSkin
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Class statics
+    //
+    //--------------------------------------------------------------------------
+    private static const HORIZONTAL_PADDING:int = 8;
+    private static const VERTICAL_PADDING:int = 12;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+    public function TextInputSkin()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  A strongly typed property that references the component to which this skin is applied.
+     */
+    public var hostComponent:TextInput;  // SkinnableComponent will populate
+
+    /**
+     *  textDisplay skin part.
+     */
+    public var textDisplay:MobileTextField;
+
+    /**
+     *  @private
+     *
+     *  Instance of the border graphics.
+     */
+    private var border:DisplayObject;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function createChildren():void
+    {
+        super.createChildren();
+
+        border = new TextInput_border;
+        addChild(border);
+
+        textDisplay = MobileTextField(createInFontContext(MobileTextField));
+        textDisplay.styleProvider = this;
+        textDisplay.editable = true;
+        addChild(textDisplay);
+    }
+
+    /**
+     *  @private
+     */
+    override protected function measure():void
+    {
+        super.measure();
+
+        // TODO: Don't use hard-coded values
+        measuredWidth = 440;
+        measuredHeight = 55;
+    }
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        // Draw the contentBackgroundColor
+        graphics.clear();
+        graphics.beginFill(getStyle("contentBackgroundColor"), getStyle("contentBackgroundAlpha"));
+        graphics.drawRoundRect(2, 2, unscaledWidth - 4, unscaledHeight - 4, 4, 4);
+        graphics.endFill();
+
+        // position & size border
+        border.x = border.y = 0;
+        border.width = unscaledWidth;
+        border.height = unscaledHeight;
+
+        // position & size the text
+        textDisplay.commitStyles();
+        textDisplay.x = HORIZONTAL_PADDING;
+        textDisplay.width = unscaledWidth - (HORIZONTAL_PADDING * 2);
+        textDisplay.y = VERTICAL_PADDING;
+        textDisplay.height = unscaledHeight - (VERTICAL_PADDING * 2);
+    }
+
+    /**
+     *  @private
+     */
+    override public function styleChanged(styleProp:String):void
+    {
+        if (textDisplay)
+            textDisplay.styleChanged(styleProp);
+        super.styleChanged(styleProp);
+    }
+}
+}


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@1283973 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/effects/animation/RepeatBehavior.as
+++ frameworks/projects/spark/src/spark/effects/animation/RepeatBehavior.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 spark.effects.animation
 {
 /**


fix akamai mbr starting index type

fix akamai mbr starting index type

--- plugins/akamaiHDPlugin/src/com/kaltura/kdpfl/plugin/akamaiHDMediator.as
+++ plugins/akamaiHDPlugin/src/com/kaltura/kdpfl/plugin/akamaiHDMediator.as
@@ -105,7 +105,7 @@
 						var preferedIndex:int = _mediaProxy.getFlavorByBitrate(_mediaProxy.vo.preferedFlavorBR);
 						if (preferedIndex!=-1)
 						{
-							akamaiMetadataValues += "&" + AkamaiStrings.AKAMAI_METDATA_KEY_MBR_STARTING_INDEX + "=" + preferedIndex;
+							akamaiMetadataValues += "&" + AkamaiStrings.AKAMAI_METADATA_KEY_MBR_STARTING_INDEX + "=" + preferedIndex;
 							_mediaProxy.notifyStartingIndexChanged(preferedIndex);
 						}
 					}


optional no transition error

optional no transition error

--- src/com/phylake/fsm/impl/Fsm.as
+++ src/com/phylake/fsm/impl/Fsm.as
@@ -7,6 +7,7 @@
     public class Fsm implements IFsm
     {
         public var unmappedEventException:Boolean;
+        public var noTransitionException:Boolean;

         /*
           key: IEvent.name
@@ -140,6 +141,10 @@
                     // execute enterState action for the new state
                     executeAction(currentState.enterState, event);
                 }
+                else if (noTransitionException)
+                {
+                    throw new IllegalOperationError("no transition out of " + currentState.id + " for " + event.name);
+                }

                 // execute submachines with current event
                 executeSubmachines(currentState, event);


asdoc

asdoc

--- src/com/kemsky/Stream.as
+++ src/com/kemsky/Stream.as
@@ -714,14 +714,14 @@
             return this;
         }

-        public function indexOf(searchElement:*, fromIndex:* = 0):int
-        {
-            return source.indexOf(searchElement, fromIndex);
-        }
-
-        public function lastIndexOf(searchElement:*, fromIndex:* = 2147483647):int
-        {
-            return source.lastIndexOf(searchElement, fromIndex);
+        public function indexOf(item:*, fromIndex:* = 0):int
+        {
+            return source.indexOf(item, fromIndex);
+        }
+
+        public function lastIndexOf(item:*, fromIndex:* = 2147483647):int
+        {
+            return source.lastIndexOf(item, fromIndex);
         }

         public function every(callback:Function):Boolean
@@ -792,8 +792,8 @@
         }

         /**
-         * Removes the last element from a stream and returns the value of that element.
-         * @return The value of the last element (of any data type) in the specified stream.
+         * Removes the last item from a stream and returns the value of that item.
+         * @return The value of the last item (of any data type) in the specified stream.
          */
         public function pop():*
         {
@@ -803,7 +803,7 @@
         /**
          * A non-negative integer specifying the number of items in the stream.
          * This property is automatically updated when new items are added to the stream.
-         * When you assign a value to a stream element (for example, my_stream[index] = value),
+         * When you assign a value to a stream item (for example, my_stream[index] = value),
          * if index is a number, and index+1 is greater than the length property,
          * the length property is updated to index+1.<p/>
          *


Transferred from the Adobe Open Source Subversion Repository

Revision: 19722
Author:   egeorgie@adobe.com
Date:     2011-01-12T00:53:24.336848Z

Log Message:
-----------
Fix popups/tooltips and scaling bugs:
Slider tooltip renders far above under 2.0 scaling - http://bugs.adobe.com/jira/browse/SDK-28833
Mobile HSliderSkin dataTip sometimes stops following the thumb all the way to the right edge - http://bugs.adobe.com/jira/browse/SDK-28762
When the app is scaled, DropDownList shows the list at wrong place - http://bugs.adobe.com/jira/browse/SDK-28818

In this change:
- update popup/tooltip positioning code to work with scaling.

QE notes:  make another test pass on tooltips/pop-ups
Doc notes:
Bugs: SDK-28833, SDK-28762, SDK-28818
Reviewer: Alex
Tests run: full mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/BitmapUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/PopUpUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -3216,7 +3216,7 @@
             // Can't use target's concatenatedMatrix, as it is sometimes wrong
             var m:Matrix = useLocalSpace ?
                 displayObject.transform.matrix :
-                MatrixUtil.getConcatenatedMatrix(displayObject);
+                MatrixUtil.getConcatenatedMatrix(displayObject, false);

             if (m)
                 m.translate(-rectBounds.x, -rectBounds.y);


Transferred from the Adobe Open Source Subversion Repository

Revision: 14963
Author:   jszeto@adobe.com
Date:     2010-03-23T21:34:04.235844Z

Log Message:
-----------
Merging revisions 14946 and 14947 from 4.x to trunk

Mirroring code hinting fixes

http://bugs.adobe.com/jira/browse/SDK-25565 - Components should define [Style] metadata for  layoutDirection and direction styles

There is both a style and property called layoutDirection in UIComponent. For UIComponent, both Hans and I agree that we should promote the use of the style. I added an exclude for the layoutDirection property in UIComponent. This allows code hinting for the layoutDirection style in the CSS style declaration. It also removes the layoutDirection property from the ASDoc. Code hinting still works for the layoutDirection attribute on a UIComponent subclass MXML tag. This attribute gets set to the property, not the style.

ProgressBar has both a direction property and style. However, in this situation, they control different behaviors. It is not possible to code hint for the direction style in the CSS style declaration without removing the direction property from ASDoc. We are just going to have to live with this limitation.

http://bugs.adobe.com/jira/browse/SDK-25823 - The layoutDirection style/property doesnt code hint static enums

Added Inspectable metadata to BitmapAsset, SpriteAsset, SpriteVisualElement and GraphicElement.

QE notes: test code hinting for layoutDirection
Doc notes: none
Bugs: SDK-25565, SDK-25823
Reviewer: Carol, Hans
Tests run: checkintests, Mirroring
Is noteworthy for integration: no

ColorPicker and PopUpButton mirroring bug fix

http://bugs.adobe.com/jira/browse/SDK-25916 - color/label field in swatch panel isn't updated when layoutDirection is
changed between rtl and ltr

Since the ColorPicker's SwatchPanel is parented by the SystemManager it wasn't inheriting the layoutDirection and it wasn't invalidating the layoutDirection. The fix is to pass the layoutDirection to the SwatchPanel and always call invalidateLayoutDirection in PopUpManager.addPopUp.

http://bugs.adobe.com/jira/browse/SDK-25828 - initial popup starts with wrong position, not aligned with PopupButton when there is padding set on container

The popup is not guaranteed to know its size until it has been added as a popup. Moved the position logic to after the popup has been added.

QE notes: test mirrored ColorPicker and PopUpButton
Doc notes: none
Bugs: SDK-25916
Reviewer: Carol
Tests run: checkintests, ColorPicker, PopUpButton
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/core/SpriteAsset.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/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/BitmapAsset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -2857,6 +2857,8 @@

 	private var _layoutDirection:String = null;

+    [Inspectable(category="General", enumeration="ltr,rtl")]
+
     /**
      *  @inheritDoc
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 9433
Author:   clucier@adobe.com
Date:     2009-08-20T23:54:36.373816Z

Log Message:
-----------
Code complete for runtime design layers.  Incorporated PARB renames and refactoring.  Finished off all compiler optimizations that were spec'd.  Some minor bug fixes.

QE notes: Candidate checkin for code complete. You are welcome to write test plan against the current API.
Doc notes:  DesignLayer docs should be scrubbed.
Bugs:  N/A
Reviewer: Peter (compiler), Chet (renames), Paul (will review MXMLDocument post PTO).
Tests run: Checkin, added new basic test.
Is noteworthy for integration: Yes.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DesignLayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/DesignLayerTestScript.mxml</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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/tests/basicTests/spark/views/DesignLayerTests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java</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/tests/basicTests/BasicTests-config.xml</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -329,7 +329,7 @@
      *  Storage for the alpha property.
      */
     private var _alpha:Number = 1.0;
-    private var _computedAlpha:Number = 1.0;
+    private var _effectiveAlpha:Number = 1.0;

     /**
      *  @private
@@ -362,10 +362,10 @@
         var previous:Boolean = needsDisplayObject;
         _alpha = value;

-        if (layer)
-            value = value * layer.computedAlpha;
+        if (designLayer)
+            value = value * designLayer.effectiveAlpha;

-        _computedAlpha = value;
+        _effectiveAlpha = value;

         // Clear the colorTransform flag since alpha was explicitly set
         var mxTransform:mx.geom.Transform = _transform as mx.geom.Transform;
@@ -567,38 +567,38 @@
      *  @private
      *  Storage for the layer property.
      */
-    private var _layer:DesignLayer;
+    private var _designLayer:DesignLayer;

     [Inspectable (environment='none')]

     /**
-     *  @copy mx.core.IVisualElement#layer
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function get layer():DesignLayer
-    {
-        return _layer;
-    }
-
-    /**
-     *  @private
-     */
-    public function set layer(value:DesignLayer):void
-    {
-        if (_layer)
-            _layer.removeEventListener("layerPropertyChange", layer_PropertyChange, false);
+     *  @copy mx.core.IVisualElement#designLayer
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get designLayer():DesignLayer
+    {
+        return _designLayer;
+    }
+
+    /**
+     *  @private
+     */
+    public function set designLayer(value:DesignLayer):void
+    {
+        if (_designLayer)
+            _designLayer.removeEventListener("layerPropertyChange", layer_PropertyChange, false);

-        _layer = value;
+        _designLayer = value;

-        if (_layer)
+        if (_designLayer)
         {
-            _layer.addEventListener("layerPropertyChange", layer_PropertyChange, false, 0, true);
-            _computedAlpha = _alpha * _layer.computedAlpha;
-            _computedVisibility = _visible && _layer.computedVisibility;
+            _designLayer.addEventListener("layerPropertyChange", layer_PropertyChange, false, 0, true);
+            _effectiveAlpha = _alpha * _designLayer.effectiveAlpha;
+            _effectiveVisibility = _visible && _designLayer.effectiveVisibility;
             alphaChanged = true;
             visibleChanged = true;
             invalidateProperties();
@@ -2056,7 +2056,7 @@
             if (updateAlpha)
             {
                 _alpha = value.alphaMultiplier;
-                _computedAlpha = _alpha;
+                _effectiveAlpha = _alpha;
             }

             if (displayObject && displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
@@ -2483,7 +2483,7 @@
      *  element, one that considers the visibility of
      *  the owning design layer parent (if any).
      */
-    protected var _computedVisibility:Boolean = true;
+    protected var _effectiveVisibility:Boolean = true;

     /**
      *  @private
@@ -2512,13 +2512,13 @@
     {
         _visible = value;

-        if (layer && !layer.computedVisibility)
+        if (designLayer && !designLayer.effectiveVisibility)
             value = false;

-        if (_computedVisibility == value)
+        if (_effectiveVisibility == value)
             return;

-        _computedVisibility = value;
+        _effectiveVisibility = value;
         visibleChanged = true;
         invalidateProperties();
     }
@@ -2844,7 +2844,7 @@
             layoutFeatures.layoutRotationX != 0 || layoutFeatures.layoutRotationY != 0 || layoutFeatures.layoutRotationZ != 0 ||
             layoutFeatures.layoutZ  != 0)) ||
             _colorTransform != null ||
-            _computedAlpha != 1);
+            _effectiveAlpha != 1);

         if(layoutFeatures != null && layoutFeatures.postLayoutTransformOffsets != null)
         {
@@ -3094,24 +3094,24 @@
     {
         switch (event.property)
         {
-            case "computedVisibility":
+            case "effectiveVisibility":
             {
                 var newValue:Boolean = (event.newValue && _visible);

-                if (newValue != _computedVisibility)
+                if (newValue != _effectiveVisibility)
                 {
-                    _computedVisibility = newValue;
+                    _effectiveVisibility = newValue;
                     visibleChanged = true;
                     invalidateProperties();
                 }
                 break;
             }
-            case "computedAlpha":
+            case "effectiveAlpha":
             {
                 var newAlpha:Number = Number(event.newValue) * _alpha;
-                if (newAlpha != _computedAlpha)
+                if (newAlpha != _effectiveAlpha)
                 {
-                    _computedAlpha = newAlpha;
+                    _effectiveAlpha = newAlpha;
                     alphaChanged = true;

                     var mxTransform:mx.geom.Transform = _transform as mx.geom.Transform;
@@ -3347,7 +3347,7 @@

                 mxTransform = _transform as mx.geom.Transform;
                 if (!mxTransform || !mxTransform.applyColorTransformAlpha)
-                    displayObject.alpha = _computedAlpha;
+                    displayObject.alpha = _effectiveAlpha;
             }

             if (blendModeChanged || displayObjectChanged)
@@ -3430,7 +3430,7 @@
             // If displayObject has changed and we're sharing, then ensure
             // the visible property is set to true.
             if (displayObjectChanged)
-                displayObject.visible = (displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT) ? _computedVisibility : true;
+                displayObject.visible = (displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT) ? _effectiveVisibility : true;

             updateTransform = true;
             displayObjectChanged = false;
@@ -3444,7 +3444,7 @@
             // otherwise redraw.
             if (displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
             {
-                displayObject.visible = _computedVisibility;
+                displayObject.visible = _effectiveVisibility;
             }
             else
                 invalidateDisplayList();
@@ -3649,7 +3649,7 @@
      */
     mx_internal function doUpdateDisplayList():void
     {
-        if (_computedVisibility || displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
+        if (_effectiveVisibility || displayObjectSharingMode == DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT)
             updateDisplayList(_width, _height);
     }


adding incrementer

adding incrementer

git-svn-id: 02605e11d3a461bc7e12f3f3880edf4b0c8dcfd0@4255 3e7533ad-8678-4d30-8e38-00a379d3f0d0

--- src/laml/display/IconButton.as
+++ src/laml/display/IconButton.as
@@ -8,9 +8,10 @@
 	import laml.xml.LAMLParser;

 	public class IconButton extends Button {
-		private var ICON:String = "icon_button_icon";
-		private var LABEL:String = "icon_button_label";
-		private var ICON_CONTAINER:String = "icon_container";
+		private var classId:String = generateId();
+		private var ICON:String = classId + "_icon_button_icon";
+		private var LABEL:String = classId + "_icon_button_label";
+		private var ICON_CONTAINER:String = classId + "icon_container";

 		private var iconComponent:Image;
 		private var iconContainer:Component;


checking _numericLookup first

checking _numericLookup first

--- WeaveData/src/weave/data/KeySets/StringDataFilter.as
+++ WeaveData/src/weave/data/KeySets/StringDataFilter.as
@@ -83,15 +83,15 @@
 			var cached:* = _keyLookup[key];
 			if (cached === undefined)
 			{
-				if (_stringLookup)
+				if (_numberLookup)
+				{
+					var number:Number = column.getValueFromKey(key, Number);
+					cached = _numberLookup.hasOwnProperty(number);
+				}
+				if (!cached && _stringLookup)
 				{
 					var string:String = column.getValueFromKey(key, String);
 					cached = _stringLookup.hasOwnProperty(string);
-				}
-				if (!cached && _numberLookup)
-				{
-					var number:Number = column.getValueFromKey(key, Number);
-					cached = _numberLookup.hasOwnProperty(number);
 				}
 				if (!cached && _includeMissingKeyTypes && key.keyType != _keyType)
 					cached = true;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3537
Author:   smgilson@adobe.com
Date:     2008-10-09T15:35:43.652315Z

Log Message:
-----------
ASDoc edits

Checkin Test Passed: Yes
QA: No
Bug:
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElementHost.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -27,7 +27,7 @@
 /**
  * The DataComponent class is the base class for all skinnable components that have
  * data content. This class is not typically instantiated in MXML. It is primarily
- * used as a base class, or as a SkinPart.
+ * used as a base class, or as a skin part.
  */
 public class FxDataContainer extends FxContainerBase
 {
@@ -42,173 +42,179 @@
     /**
      *  Constructor.
      */
-	public function FxDataContainer()
-	{
-		super();
-
-		tabChildren = true;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Skin Parts
-	//
-	//--------------------------------------------------------------------------
-
-	[SkinPart]
-	public var dataGroup:DataGroup;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties proxied to dataGroup
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  content
-	//----------------------------------
-
-	private var _dataProvider:IList;
-
-	/**
-	 *  @copy mx.components.DataGroup#dataProvider
-	 */
-	[Bindable]
-	public function get dataProvider():IList
-	{
-		if (dataGroup)
-			return dataGroup.dataProvider;
-		else
-			return _dataProvider;
-	}
-
-	public function set dataProvider(value:IList):void
-	{
-		if (value == _dataProvider)
-			return;
-
-		_dataProvider = value;
-
-		if (dataGroup)
-			dataGroup.dataProvider = value;
-	}
-
-	//----------------------------------
-	//  layout
-	//----------------------------------
-
-	/**
-	 *  @copy mx.components.DataGroup#layout
-	 */
-
-	private var _layout:LayoutBase;
-
+    public function FxDataContainer()
+    {
+        super();
+
+        tabChildren = true;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Skin Parts
+    //
+    //--------------------------------------------------------------------------
+
+    [SkinPart]
+    public var dataGroup:DataGroup;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties proxied to dataGroup
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  content
+    //----------------------------------
+
+    private var _dataProvider:IList;
+
+    /**
+     *  @copy mx.components.DataGroup#dataProvider
+     */
+    [Bindable]
+    public function get dataProvider():IList
+    {
+        if (dataGroup)
+            return dataGroup.dataProvider;
+        else
+            return _dataProvider;
+    }
+
+    public function set dataProvider(value:IList):void
+    {
+        if (value == _dataProvider)
+            return;
+
+        _dataProvider = value;
+
+        if (dataGroup)
+            dataGroup.dataProvider = value;
+    }
+
+    //----------------------------------
+    //  layout
+    //----------------------------------
+
+    private var _layout:LayoutBase;
+
+    /**
+     *  @copy mx.components.baseClasses.GroupBase#layout
+     */
     public function get layout():LayoutBase
     {
-    	return (dataGroup) ? dataGroup.layout : _layout;
-    }
-
+        return (dataGroup) ? dataGroup.layout : _layout;
+    }
+
+    /**
+     *  @private
+     */
     public function set layout(value:LayoutBase):void
     {
-		if (value != _layout) {
-    		_layout = value;
-    		if (dataGroup) {
-    			dataGroup.layout = _layout;
-    		}
-		}
-    }
-
-	//----------------------------------
-	//  itemRenderer
-	//----------------------------------
-
-	private var _itemRenderer:IFactory;
-
-	/**
-	 *  @copy mx.components.Group#itemRenderer
-	 */
-	public function get itemRenderer():IFactory
-	{
-		if (dataGroup)
-			return dataGroup.itemRenderer;
-
-		return _itemRenderer;
-	}
-
-	public function set itemRenderer(value:IFactory):void
-	{
-		if (value == _itemRenderer)
-			return;
-
-		_itemRenderer = value;
-
-		if (dataGroup)
-			dataGroup.itemRenderer = _itemRenderer;
-	}
-
-	//----------------------------------
-	//  itemRendererFunction
-	//----------------------------------
-
-	private var _itemRendererFunction:Function;
-
-	/**
-	 *  @copy mx.components.Group#itemRendererFunction
-	 */
-	public function get itemRendererFunction():Function
-	{
-		if (dataGroup)
-			return dataGroup.itemRendererFunction;
-
-		return _itemRendererFunction;
-	}
-
-	public function set itemRendererFunction(value:Function):void
-	{
-		if (value == _itemRendererFunction)
-			return;
-
-		_itemRendererFunction = value;
-
-		if (dataGroup)
-			dataGroup.itemRendererFunction = _itemRendererFunction;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Called when a skin part has been added or assigned.
-	 *  This method pushes the content, layout, itemRenderer, and
-	 *  itemRendererFunction properties down to the contentGroup
-	 *  skin part.
-	 */
-	override protected function partAdded(partName:String, instance:Object):void
-	{
-		if (instance == dataGroup)
-		{
-			if (_dataProvider != null)
-			{
-				dataGroup.dataProvider = _dataProvider;
-			}
-			if (_layout != null)
-				dataGroup.layout = _layout;
-			if (_itemRenderer != null || _itemRendererFunction != null)
-			{
-				dataGroup.itemRenderer = _itemRenderer;
-				dataGroup.itemRendererFunction = _itemRendererFunction;
-			}
-		}
-	}
+        if (value != _layout) {
+            _layout = value;
+            if (dataGroup) {
+                dataGroup.layout = _layout;
+            }
+        }
+    }
+
+    //----------------------------------
+    //  itemRenderer
+    //----------------------------------
+
+    private var _itemRenderer:IFactory;
+
+    /**
+     *  The custom item renderer for the control.
+     *  You can specify a drop-in, inline, or custom item renderer.
+     */
+    public function get itemRenderer():IFactory
+    {
+        if (dataGroup)
+            return dataGroup.itemRenderer;
+
+        return _itemRenderer;
+    }
+
+    /**
+     *  @private
+     */
+    public function set itemRenderer(value:IFactory):void
+    {
+        if (value == _itemRenderer)
+            return;
+
+        _itemRenderer = value;
+
+        if (dataGroup)
+            dataGroup.itemRenderer = _itemRenderer;
+    }
+
+    //----------------------------------
+    //  itemRendererFunction
+    //----------------------------------
+
+    private var _itemRendererFunction:Function;
+
+    /**
+     *  @copy mx.components.DataGroup#itemRendererFunction
+     */
+    public function get itemRendererFunction():Function
+    {
+        if (dataGroup)
+            return dataGroup.itemRendererFunction;
+
+        return _itemRendererFunction;
+    }
+
+    /**
+     *  @private
+     */
+    public function set itemRendererFunction(value:Function):void
+    {
+        if (value == _itemRendererFunction)
+            return;
+
+        _itemRendererFunction = value;
+
+        if (dataGroup)
+            dataGroup.itemRendererFunction = _itemRendererFunction;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @inheritDoc
+     */
+    override protected function partAdded(partName:String, instance:Object):void
+    {
+        if (instance == dataGroup)
+        {
+            if (_dataProvider != null)
+            {
+                dataGroup.dataProvider = _dataProvider;
+            }
+            if (_layout != null)
+                dataGroup.layout = _layout;
+            if (_itemRenderer != null || _itemRendererFunction != null)
+            {
+                dataGroup.itemRenderer = _itemRenderer;
+                dataGroup.itemRendererFunction = _itemRendererFunction;
+            }
+        }
+    }
 }

 }


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@1280733 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 spark.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12005
Author:   rfrishbe@adobe.com
Date:     2009-11-19T20:31:59.069383Z

Log Message:
-----------
Fixing a bunch of video player bugs:

- Fixing Binding events properties were using as they were still using the old events rather than the new ones
- Fixing issues around mute/volume.  Now the video component's definition of mute/volume is the same as Strobe (i.e.-when muted, volume is not neecessarily 0).  However, because of this, extra code had to be added in the VolumeBar and MuteButton to get the user-interaction correct so that when a user clicks on the slider, that automatically unmutes the video.
- Adding seekToFirstFrame, which needs to be PARBed, but gives us the old video component's behavior when autoPlay = false so that it connects to the server, loads up the first frame, and sizes the video.
- Fixing up DynamicStreamingVideoSource to have the host property typed as Object instead of a serverURI:String
- Now I'm exposing mediaPlayerState and videoObject on VideoDisplay and VideoPlayer
- Fixing a bug where someone clicks on the playPauseButton when no source is loaded and the "play button" changes to a "pause" when it should just stay as a "play" because the video didn't actually start playing.

QE notes: -
Doc notes: -
Bugs: SDK-24323, SDK-24285, SDK-24321, SDK-24313, SDK-22337
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/mediaClasses/normal/MuteButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/DynamicStreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin2.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
+++ frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as
@@ -17,6 +17,7 @@
 import flash.events.FocusEvent;
 import flash.events.KeyboardEvent;
 import flash.events.MouseEvent;
+import flash.geom.Point;
 import flash.ui.Keyboard;
 import flash.ui.Mouse;

@@ -273,7 +274,7 @@
      */
     private var _muted:Boolean = false;

-    [Bindable("mutedChanged")]
+    [Bindable("mutedChange")]

     /**
      *  true if the volume of the video is muted;
@@ -299,10 +300,14 @@

         _muted = value;

+        // invalidateDisplayList() because we take in to account value and muted when
+        // determining where to draw the thumb on the track.
+        invalidateDisplayList();
+
         if (muteButton)
             muteButton.muted = value;

-        dispatchEvent(new Event("mutedChanged"));
+        dispatchEvent(new FlexEvent(FlexEvent.MUTED_CHANGE));
     }

     //----------------------------------
@@ -328,6 +333,37 @@
     //  Overridden Methods
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     *  Overridden to handle the muted case where the value's not actually changed,
+     *  but we want it to show up as 0.
+     */
+    override protected function updateSkinDisplayList():void
+    {
+        if (!thumb || !track)
+            return;
+
+        var thumbRange:Number = track.getLayoutBoundsHeight() - thumb.getLayoutBoundsHeight();
+        var range:Number = maximum - minimum;
+
+        // calculate new thumb position.
+        var thumbPosTrackY:Number;
+
+        // if muted, it's 0.  otherwise, calculate it normally
+        // TODO (rfrishbe): should probably use setValue(0) and listen for CHANGE on the VideoPlayer
+        // instead of VALUE_COMMIT.
+        if (!muted)
+            thumbPosTrackY = (range > 0) ? thumbRange - (((pendingValue - minimum) / range) * thumbRange) : 0;
+        else
+            thumbPosTrackY = thumbRange;
+
+        // convert to parent's coordinates.
+        var thumbPos:Point = track.localToGlobal(new Point(0, thumbPosTrackY));
+        var thumbPosParentY:Number = thumb.parent.globalToLocal(thumbPos).y;
+
+        thumb.setLayoutBoundsPosition(thumb.getLayoutBoundsX(), Math.round(thumbPosParentY));
+    }

     /**
      *  @private
@@ -357,6 +393,10 @@
     {
         super.setValue(value);

+        // when the value is set, this volume bar unmutes the
+        // video player automatically
+        muted = false;
+
         if (muteButton)
             muteButton.volume = value;
     }
@@ -428,7 +468,6 @@
     private function muteButton_mutedChangeHandler(event:FlexEvent):void
     {
         muted = muteButton.muted;
-        dispatchEvent(event);
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 20097
Author:   jasonsj@adobe.com
Date:     2011-02-03T17:48:25.773740Z

Log Message:
-----------
Remove use of minWidth and minHeight where possible from mobile skins to fix constraint use cases. Replace usage of minWidth/minHeight and layoutMeasuredWidth/layoutMeasuredHeight with MobileSkin property measuredDefaultWidth/measuredDefaultHeight.

Use minWidth/minHeight for skins that do not scale down: Beveled buttons, CheckBox, RadioButton, and scroll bars.

Doc notes:
Bugs:
SDK-28715 Cannot size and position button correctly in i4 build.
Reviewer: egeorgie
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/BeveledActionButtonSkin.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/src/spark/skins/mobile/ActionBarSkin.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/ButtonBarFirstButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarMiddleButtonSkin.as</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/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/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarLastButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</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/TextAreaHScrollBarSkin.as</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/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as
@@ -95,6 +95,7 @@

                 layoutGap = 20;
                 minWidth = 64;
+                minHeight = 64;

                 break;
             }
@@ -111,6 +112,7 @@

                 layoutGap = 15;
                 minWidth = 48;
+                minHeight = 48;

                 break;
             }
@@ -127,6 +129,7 @@

                 layoutGap = 10;
                 minWidth = 32;
+                minHeight = 32;

                 break;
             }


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@1273716 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 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.messaging.channels
 {