Archive

Archive for the ‘ActionScript’ Category

Cropping white space from images using Flex Bitmap classes

March 2nd, 2010

This blog entry covers a quick introduction to the Flex bitmap classes, BitmapData and Bitmap. Read more…

Christopher ActionScript, Flash, Flex

Working with ESRI SHP Files in ActionScript

September 4th, 2009

There are lots of heavy weight solutions to drawing maps in Flex and Flash but for a recent project I needed something lightweight to display on a web portal. By lightweight, I mean something that will load quickly over a modem connection or, in our client’s situation, an air card. We already had sales alignment maps created in the ESRI SHP format so the goal was to utilize them in the Flash environment to make displaying maps more interactive. This post will cover the basics of loading SHP files and rendering them with basic ActionScript code. No Flex components were used to keep the footprint small.
Read more…

Christopher ActionScript, Flex

Taking control of right-click in Adobe Flex

February 2nd, 2009

Adobe was kind enough to give developers the ability to add options to the right-click menu in a Flex application with the use of ContextMenu objects.  However, if you want to customize the way the right-click menu displays, or perhaps do something entirely different when the user clicks the right mouse button, read on to find out how! Read more…

Christopher ActionScript, Flex