Sha256: 55db8469c209567728aaea465418e4d7e145bfb40cae85469d36493a1b3f8dc1

Contents?: true

Size: 1.61 KB

Versions: 2

Compression:

Stored size: 1.61 KB

Contents

////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2006 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.skins.halo
{

import flash.display.Graphics;
import mx.skins.ProgrammaticSkin;


/**
 *  The skin for the border of a SWFLoader or Image component when the content
 *  could not be loaded.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 9
 *  @playerversion AIR 1.1
 *  @productversion Flex 3
 */
public class BrokenImageBorderSkin extends ProgrammaticSkin
{
	include "../../core/Version.as";

	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------

	/**
	 *  Constructor.
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 9
	 *  @playerversion AIR 1.1
	 *  @productversion Flex 3
	 */
	public function BrokenImageBorderSkin()
	{
		super();
	}

	//--------------------------------------------------------------------------
	//
	//  Overridden methods
	//
	//--------------------------------------------------------------------------

	/**
	 *  @private
	 */
	override protected function updateDisplayList(w:Number, h:Number):void
	{
		super.updateDisplayList(w, h);

		var g:Graphics = graphics;

		g.clear();
		g.lineStyle(1.0, getStyle("borderColor"));
		g.drawRect(0, 0, w, h);
	}
}

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
leftplayer-0.1.1 src/lps-4.9.0/Server/lps-4.9.0/WEB-INF/frameworks/projects/halo/src/mx/skins/halo/BrokenImageBorderSkin.as
leftplayer-0.1 src/lps-4.9.0/Server/lps-4.9.0/WEB-INF/frameworks/projects/halo/src/mx/skins/halo/BrokenImageBorderSkin.as