This file contains hidden or 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 Components.KeypadButton; | |
| import DDW.Components.DefaultButton; | |
| import DDW.Screens.Screen; | |
| import flash.display.DisplayObject; | |
| import flash.display.Sprite; | |
| public class Calculator extends Screen | |
| { | |
This file contains hidden or 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
| // move all elements selected in the library to 0,0 | |
| fl.outputPanel.clear(); | |
| var trace = fl.trace; | |
| fl.showIdleMessage(false); | |
| var doc = fl.getDocumentDOM(); | |
| var lib = doc.library; | |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using DDW.V2D; | |
| using V2DRuntime.Attributes; | |
| using Microsoft.Xna.Framework.Graphics; | |
| using HeadGame.Screens; | |
| using DDW.Display; |
This file contains hidden or 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 function compareData(editedVO:AdminDataVO):void | |
| { | |
| var currentStoredVO:AdminDataVO = editingModel.itemBeingEdited; | |
| if(!comparator.areObjectsEqual(currentStoredVO, editedVO)) | |
| { | |
| var keepHandler:Function = function():void { editingModel.updateItem(editedVO) }; | |
| var discardHandler:Function = function():void {}; |
This file contains hidden or 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
| override public function areObjectsEqual(accountVO1:AdminDataVO, accountVO2:AdminDataVO):Boolean | |
| { | |
| var result:Boolean = false; | |
| if( (accountVO1.password == accountVO2.password ) && | |
| (accountVO1.email == accountVO2.email ) && | |
| (accountVO1.serverID == accountVO2.serverID ) && | |
| (accountVO1.dataSetID == accountVO2.dataSetID ) && | |
| (accountVO1.pluginMixID == accountVO2.pluginMixID ) && | |
| (accountVO1.adminPluginMixID == accountVO2.adminPluginMixID ) && |
This file contains hidden or 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 td:TypeDescriptor = new TypeDescriptor(); | |
| var s:String = getQualifiedClassName(_classType); | |
| var xml:XML = describeType(s); | |
| var t2:TypeDescriptor = td.fromXML(xml, loaderInfo.applicationDomain); | |
| // t2.description.extendsClass.type == "Object" | |
| // t2.superClasses == ["Object"] |
NewerOlder