チェンジセット 2774: as3/GeniusFramework
- コミット日時:
- 2009/06/02 20:12:27 (10 ヶ月前)
- ファイル:
-
- as3/GeniusFramework/branches/2.0/.flexLibProperties (更新) (1 diff)
- as3/GeniusFramework/branches/2.0/app-template/libs/Genius2.swc (更新) (変更前)
- as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/GettingStarted.mxml (更新) (2 diffs)
- as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/GettingStartedDelegate.as (更新) (1 diff)
- as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/GettingStartedPreloader.as (削除)
- as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/assets/config.json (削除)
- as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/assets/config.yaml (削除)
- as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/core/Config.as (更新) (1 diff)
- as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/views/ApplicationDelegate.as (更新) (5 diffs)
- as3/GeniusFramework/branches/2.0/src/jp/seagirl/preloaders (削除)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/GeniusFramework/branches/2.0/.flexLibProperties
r2773 r2774 12 12 <classEntry path="jp.seagirl.genius.events.ApplicationEvent"/> 13 13 <classEntry path="jp.seagirl.containers.GeniusViewStack"/> 14 <classEntry path="jp.seagirl.preloaders.GeniusPreloader"/>15 14 <classEntry path="jp.seagirl.genius.core.Config"/> 16 15 <classEntry path="jp.seagirl.genius.models.Model"/> as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/GettingStarted.mxml
r2773 r2774 6 6 xmlns:views="views.*" 7 7 backgroundColor="#FFFFFF" 8 preloader="GettingStartedPreloader"9 8 layout="absolute"> 10 9 <mx:Style source="GettingStarted.css" /> … … 20 19 </mx:VBox> 21 20 </mx:Application> 22 as3/GeniusFramework/branches/2.0/samples/GettingStarted/src/GettingStartedDelegate.as
r2773 r2774 12 12 { 13 13 public var view:GettingStarted; 14 15 override protected function createConfig():Config 16 { 17 return new Config({ 18 applicationName: "GettingStarted", 19 applicationVersion: "1.0.0", 20 defaultState: { page: "Page1" }, 21 localBaseURL: "http://yoshizu.local/" 22 }); 23 } 14 24 15 25 override protected function initializeModels():void as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/core/Config.as
r2773 r2774 25 25 { 26 26 this.source = source; 27 initialize(); 27 28 } 28 29 as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/views/ApplicationDelegate.as
r2773 r2774 37 37 import jp.seagirl.genius.core.Context; 38 38 import jp.seagirl.genius.models.IModel; 39 import jp.seagirl.preloaders.GeniusPreloader;40 39 41 40 import mx.binding.utils.BindingUtils; … … 65 64 } 66 65 67 private var config:Config; 66 protected function createConfig():Config 67 { 68 return new Config(); 69 } 68 70 69 71 override public function initialized(document:Object, id:String):void 70 72 { 71 trace('initialized')72 73 Thread.initialize(new EnterFrameThreadExecutor()); 73 74 config = GeniusPreloader.config; 75 76 context = new Context(config); 74 75 context = new Context(createConfig()); 77 76 context.traceApplicationInformation(); 78 77 … … 90 89 if (application) 91 90 { 92 application.preloader = GeniusPreloader;93 91 application.data = { delegate: this }; 94 92 application.styleName = 'plain'; … … 193 191 override protected function view_preinitializeHandler(event:FlexEvent):void 194 192 { 195 trace('view_preinitializeHandler')196 193 this['view'].removeEventListener(FlexEvent.PREINITIALIZE, view_preinitializeHandler); 197 194 … … 209 206 override protected function view_initializeHandler(event:FlexEvent):void 210 207 { 211 trace('view_initializeHandler')212 208 this['view'].removeEventListener(FlexEvent.INITIALIZE, view_initializeHandler); 213 209

