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 org.lacsd.components { | |
import com.esri.ags.Map; | |
import com.esri.ags.events.MapEvent; | |
import com.esri.ags.layers.Layer; | |
import flash.events.Event; | |
import mx.collections.ArrayCollection; | |
import mx.logging.ILogger; |
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 net.odoe.components { | |
import com.esri.ags.Map; | |
import mx.controls.Image; | |
// New logo looks cool, but position changed | |
// slightly from previous versions and now it's in my way. | |
// Extend the Map object to tweak it a bit | |
public class MyMap extends Map { | |
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:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
autoDrawBackground="true"> | |
<fx:Metadata> | |
[Event(name="visibleLayerID", type="org.lacsd.events.LayerInfoDetailsEvent")] | |
</fx:Metadata> | |
<fx: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
package { | |
public class IteratorUtil { | |
public static function duffDeviceOptimized(ar:Array, process:Function):void { | |
var x:int = ar.length; | |
if (x > 0) { | |
var t:int = 0; | |
var n:int = x % 8; | |
while (n--) { | |
process(ar[t++]); |
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 org.lacsd.sf.view.components { | |
import com.esri.ags.Map; | |
import com.esri.ags.events.MapEvent; | |
import com.esri.ags.geometry.MapPoint; | |
import com.esri.ags.layers.ArcGISDynamicMapServiceLayer; | |
import flash.events.Event; | |
import mx.collections.ArrayCollection; | |
import mx.logging.ILogger; |
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 org.lacsd.sf.view.components { | |
import spark.components.TitleWindow; | |
import spark.events.TitleWindowBoundsEvent; | |
public class MagnifyPopUpWindow extends TitleWindow { | |
public function MagnifyPopUpWindow() { | |
super(); | |
this.addEventListener(TitleWindowBoundsEvent.WINDOW_MOVING, onWindowMove_handler, false, 0, true); | |
this.addEventListener(TitleWindowBoundsEvent.WINDOW_MOVE_END, onWindowMove_handler, false, 0, true); |
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 org.lacsd.sf.view.components | |
{ | |
import com.esri.ags.Map; | |
import flash.events.Event; | |
import mx.states.State; | |
import spark.components.SkinnableContainer; | |
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"?> | |
<!-- | |
ADOBE SYSTEMS INCORPORATED | |
Copyright 2008 Adobe Systems Incorporated | |
All Rights Reserved. | |
NOTICE: Adobe permits you to use, modify, and distribute this file | |
in accordance with the terms of the license agreement accompanying it. |
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 net.odoe.components | |
{ | |
import flash.events.Event; | |
import mx.core.FlexGlobals; | |
import mx.events.CloseEvent; | |
import mx.events.FlexEvent; | |
import mx.logging.ILogger; | |
import mx.managers.PopUpManager; | |
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 net.odoe.nmsExample.components | |
{ | |
import flash.events.MouseEvent; | |
import org.osflash.signals.natives.NativeMappedSignal; | |
import spark.components.Button; | |
import spark.components.TextInput; | |
import spark.components.supportClasses.SkinnableComponent; | |
public class MyComp extends SkinnableComponent |
OlderNewer