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
task.personObject = | |
GetVOUtil.getVOObject(task.personFk,personDAO.collection.items,'personId',Persons); | |
the above line is to map the PersonObject (added to client side VO manually), | |
with the available persons from the PersonDAO collection. |
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
[MediateSignal(type="ResultSignal")] | |
public function resultHandler(obj:Object,signal:SignalVO):void { | |
if(signal.destination == personDAO.destination && signal.objectId == this.name) | |
currentInstance.currentPerson = | |
GetVOUtil.getPersonObject(currentInstance.currentPerson.personLogin, | |
currentInstance.currentPerson.personPassword,personDAO.collection.items as ArrayCollection); | |
} |
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
HomeViewMediator extends AbstractViewMediator (SkinnableComponent). | |
The above code, is to mediate when "ResultSignal" is dispatched. | |
The AbstractSignal was prior dispatched from this view only, to get server Response. | |
The Same signal was sent as argument "signal:SignalVO" | |
Thus, we map it back to make sure about the mediated signal, | |
is response for what was dispatched from the same object |
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 com.westberg.swfcompress; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.util.zip.DeflaterInputStream; | |
import java.util.zip.InflaterInputStream; |
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 flash.display.Loader; | |
import flash.net.URLRequest; | |
import flash.net.URLStream; | |
import flash.events.IOErrorEvent; | |
import flash.events.SecurityErrorEvent; | |
import flash.events.Event; | |
import flash.utils.ByteArray; | |
import flash.utils.Endian; |
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 flash.display.BitmapData; | |
import flash.filesystem.File; | |
import flash.filesystem.FileMode; | |
import flash.filesystem.FileStream; | |
import flash.utils.ByteArray; | |
public class SimpleFlvWriter | |
{ |
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:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
showStatusBar="false" skinClass="assets.DTApplicationSkin" alwaysInFront="true" | |
creationComplete="webCam_pnl.attachCamera(Camera.getCamera()),startJava()" | |
maxWidth="256" maxHeight="180" > | |
<fx:Script> | |
<![CDATA[ | |
import flash.filesystem.File; |
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
YourView.mxml | |
... xmlns:mx="library://ns.adobe.com/flex/mx" addedToStage="viewContext.dispatch(this)"> | |
<mx:Script> | |
<![CDATA[ | |
import com.adams.scrum.signals.ViewSignal; | |
[Inject] | |
public var viewContext:ViewSignal; | |
]]> | |
</mx:Script> |
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"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> | |
<display-name>Scrum Beta</display-name> | |
<context-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value> |
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:Group xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
width="100%" height="100%" xmlns:views="com.adams.scrum.views.*" | |
xmlns:mediators="com.adams.scrum.views.mediators.*" | |
creationComplete="creationCompleteHandler(event)"> | |
<fx:Binding destination="moduleIndex" source="{currentInstance.mainViewStackIndex}"/> | |
<fx:Script> |