チェンジセット 2455
- コミット日時:
- 2009/04/14 14:55:07 (3 年前)
- ファイル:
-
- as3/Eseclock/branches/alumican/samples/06/CustomClockField.as (更新) (3 diffs)
- as3/Eseclock/branches/alumican/samples/06/CustomDescriptionField.as (更新) (2 diffs)
- as3/Eseclock/branches/alumican/samples/07/MyEseclock07.fla (更新) (変更前)
- as3/Eseclock/branches/alumican/samples/07/MyEseclock07.swf (更新) (変更前)
- as3/Eseclock/branches/alumican/src/org/libspark/eseclock/textfield/IEseclockTextField.as (更新) (1 diff)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/Eseclock/branches/alumican/samples/06/CustomClockField.as
r2446 r2455 43 43 //------------------------------------- 44 44 45 //ライブラリのCustomDescriptionFieldシンボルの中に配置してあるTextField 45 46 public var hours:TextField; 46 47 public var minutes:TextField; … … 55 56 //------------------------------------- 56 57 58 //objectWidth, objectHeightは時計全体のサイズを返す 57 59 public function get objectWidth():Number { return seconds.x + seconds.textWidth; } 58 60 public function get objectHeight():Number { return hours.textHeight; } … … 71 73 public function CustomClockField():void 72 74 { 75 //それぞれのTextFieldのフォーマットを調整 73 76 var fmt:TextFormat = hours.defaultTextFormat; 74 77 fmt.letterSpacing = -3; as3/Eseclock/branches/alumican/samples/06/CustomDescriptionField.as
r2446 r2455 41 41 //------------------------------------- 42 42 43 //ライブラリのCustomDescriptionFieldシンボルの中に配置してあるTextField 43 44 public var tf:TextField; 44 45 … … 63 64 */ 64 65 public function CustomDescriptionField():void { 66 //tfというTextFieldインスタンスを表示に使う 65 67 _field = tf; 66 68 69 //ボールド表示にしてみる 67 70 var fmt:TextFormat = _field.defaultTextFormat; 68 71 fmt.bold = true; as3/Eseclock/branches/alumican/src/org/libspark/eseclock/textfield/IEseclockTextField.as
r2440 r2455 26 26 package org.libspark.eseclock.textfield 27 27 { 28 import flash.text.TextFormat;29 28 import jp.nium.core.display.IDisplayObject; 30 29

