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
[EventHandler( "${eventToHandle}"${extraTagAttribs} )] | |
protected function ${methodName}(${methodParams}):void | |
{ | |
serviceHelper.executeServiceCall( ${delegate}, ${methodName}_result, ${methodName}_fault ); | |
} | |
protected function ${methodName}_result( data:Object ):void | |
{ | |
var ${resultVar} = data.result[ 0 ] as ${serviceReturnType}; | |
} |
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
<foo> | |
<boo /> | |
</foo> |
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
Umm, WTF. |
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
// someResponse.amf3 is a data file saved from Charles, ServiceCapture, etc. | |
// embedded in a class for easy access | |
[Embed( source="data/someResponse.amf3", mimeType="application/octet-stream" )] | |
public static const savedCallResponse:Class; |
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
var s:Sprite = new Sprite(); | |
var mc:MovieClip = new MovieClip(); | |
var b:Button = new Button(); | |
var arr:Array = [ s, mc, b, this ]; | |
for each( var obj:Object in arr ) | |
{ | |
switch( obj.constructor ) | |
{ |
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" encoding="utf-8"?> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
applicationComplete="init(event)"> | |
<fx:Script> | |
<![CDATA[ | |
import mx.collections.ArrayCollection; | |
import mx.events.FlexEvent; | |
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 control | |
{ | |
public class AlertsController | |
{ | |
[Inject( "alertsDelegate" )] | |
public var delegate:CacheEnabledDelegate; | |
[Inject] | |
public var serviceHelper:IServiceHelper; | |
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 processors | |
{ | |
import flash.events.Event; | |
import org.swizframework.core.Bean; | |
import org.swizframework.core.ISwiz; | |
import org.swizframework.processors.IBeanProcessor; | |
public class VNProcessor implements IBeanProcessor | |
{ |
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
private var _widgets:ArrayCollection; | |
[Bindable( event = "widgetsChange" )] | |
public function get widgets():ArrayCollection | |
{ | |
return _widgets; | |
} | |
public function setWidgets( value:ArrayCollection ):void | |
{ |
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
<Graphic version="2.0" xmlns="http://ns.adobe.com/fxg/2008" | |
scaleGridLeft="0" scaleGridTop="0" scaleGridRight="0" scaleGridBottom="0"> | |
<Rect x="0" y="0" width="1" height="1"> | |
<fill> | |
<SolidColor color="#FFFFFF" alpha="0" /> | |
</fill> | |
</Rect> | |
</Graphic> |