Skip to content

Commit

Permalink
Re-added Assetloader, Cleaned up a few stray traces
Browse files Browse the repository at this point in the history
  • Loading branch information
karlfreeman committed Aug 18, 2011
1 parent ba64671 commit d34c20e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions .settings/com.powerflasher.fdt.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
<AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">swcs/robotlegs-framework-v1.4.0.swc</AS3Classpath>
<AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">swcs/MonsterDebugger.swc</AS3Classpath>
<AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">swcs/CasaLib_1.4.0.swc</AS3Classpath>
<AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">swcs/AssetLoader-v2.5.0.swc</AS3Classpath>
</AS3Classpath>
File renamed without changes.
Binary file modified bin/main.swf
Binary file not shown.
7 changes: 4 additions & 3 deletions src/com/agency/client/project/Context.as
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package com.agency.client.project {
import com.agency.utils.Environment;
import com.agency.client.project.controller.StartupCompleteCommand;
import com.agency.client.project.model.ExampleModel;
import com.agency.client.project.services.ExampleService;
Expand All @@ -8,14 +7,16 @@ package com.agency.client.project {
import com.agency.client.project.view.Preloader;
import com.agency.client.project.view.PreloaderMediator;
import com.agency.client.project.view.StageMediator;
import com.agency.utils.Environment;
import com.agency.utils.SWFAddress;
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;

import org.assetloader.AssetLoader;
import org.assetloader.core.IAssetLoader;
import org.robotlegs.base.ContextEvent;
import org.robotlegs.mvcs.SignalContext;

import flash.display.DisplayObjectContainer;



public class Context extends SignalContext {
Expand Down
5 changes: 2 additions & 3 deletions src/com/agency/client/project/Main.as
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.agency.client.project {
import logmeister.connectors.MonsterDebuggerConnector;
import logmeister.connectors.MonsterDebuggerV2Connector;
import logmeister.connectors.FlashConnector;
import logmeister.LogMeister;
import logmeister.connectors.MonsterDebuggerConnector;

import flash.display.Sprite;

public class Main extends Sprite {
Expand Down
4 changes: 0 additions & 4 deletions src/com/agency/client/project/model/ExampleModel.as
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ package com.agency.client.project.model {
}

private function init() : void {
// Logger.info("ExampleModel.init()");

onDataSuccsess = new Signal();
}

public function set exampleData(e : ExampleDataVO) : void {

// Set the data...
onDataSuccsess.dispatch(e);

}
}
}
1 change: 1 addition & 0 deletions src/com/agency/client/project/view/PreloaderMediator.as
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package com.agency.client.project.view {
override public function onRegister() : void {
view.init();

// Scale / place the progress bar
view.progress.width = view.stage.stageWidth * .75;
view.progress.x = (view.stage.stageWidth *.5 - view.progress.width *.5 );
view.progress.y = (view.stage.stageHeight *.5 - view.progress.height *.5 );
Expand Down
Binary file added swcs/AssetLoader-v2.5.0.swc
Binary file not shown.

0 comments on commit d34c20e

Please sign in to comment.