This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
[Suite] | |
public class AllTests | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<s:Group xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:fx="http://ns.adobe.com/mxml/2009"> | |
<fx:Metadata> | |
[Event(name='submitSearchEvent',type='flash.events.Event')] | |
</fx:Metadata> | |
<s:layout> | |
<s:HorizontalLayout paddingLeft="10" | |
paddingRight="10" | |
paddingBottom="10" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @author: Simon Bailey <simon@newtriks.com> */ | |
package | |
{ | |
import asunit.asserts.assertNotNull; | |
import asunit.asserts.assertSame; | |
import asunit.asserts.assertTrue; | |
import asunit.framework.IAsync; | |
import flash.display.Sprite; | |
import flash.events.Event; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<media:MediaContainer id="mediaContainer" | |
aspectRatio="{VideoBase.WIDE_SCREEN}" | |
verticalCenter="0" | |
horizontalCenter="0" | |
bandwidth="32768" | |
logHandler="{log}" | |
layoutHandler="{resize}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Inject] | |
public var async:IAsync; | |
[Before] | |
public function prepareMockolates():void | |
{ | |
var mockolateMaker:IEventDispatcher=prepare(IModuleStore); | |
async.proceedOnEvent(mockolateMaker, Event.COMPLETE, 5000); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "gator/as3/generators" | |
require "gator/as3/generators/test/asunit4" | |
require "gator/as3/robotlegs/generators" | |
require "gator/as3/robotlegs/generators/test/asunit4" | |
project Gator::Project::ProjectBase.new | |
project.name = "MyProject" | |
project.options[:authors] = ["newtriks"] | |
project.layout[:source,:main,:as3] = "src" | |
project.layout[:source,:test,:as3] = "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "/Users/newtriks/Development/libs/gator-as3/lib/gator/as3/generators/" | |
require "/Users/newtriks/Development/libs/gator-as3/lib/gator/mxml/generators/" | |
require "/Users/newtriks/Development/libs/gator-as3/lib/gator/as3/generators/test/asunit4" | |
require "gator/as3/robotlegs/generators" | |
require "gator/mxml/robotlegs/generators" | |
require "gator/as3/robotlegs/generators/test/asunit4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import asunit.framework.TestCase; | |
import com.newtriks.restricted.modules.streamingservicemodule.api.signals.NetConnectionSuccessful; | |
import com.newtriks.restricted.shell.api.signals.RecorderError; | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.events.IEventDispatcher; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProfileDisplayMediatorsCommand extends SimpleCommand implements ICommand | |
{ | |
override public function execute( note:INotification ):void | |
{ | |
var profileDisplay:ProfileDisplay = note.getBody() as ProfileDisplay; | |
facade.registerMediator( new ProfileDisplayMediator( profileDisplay ) ); | |
facade.registerMediator( new BalanceDisplayMediator( profileDisplay.balanceComponent ) ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
RemoteDelegate Class | |
Copyright (c) 2009 Simon Bailey <simon@newtriks.com> | |
Your reuse is governed by the Creative Commons Attribution 3.0 License | |
*/ | |
package | |
{ | |
import mx.rpc.AsyncToken; | |
import mx.rpc.IResponder; | |
import mx.rpc.remoting.RemoteObject; |