The goal of this project was to provide a way for regional and district sales managers to optimize allocation of their budgets and organize shipping destinations for product samples and vouchers. The Flex AdvancedDataGrid was used as a starting point and custom item and header renderers were used to duplicate the look and feel of the company’s previous excel spreadsheet. Complex validation rules ensured that managers adhered to strict rules about allocation percentages.

Updating shipping values in the Resource Advisor
For this project, I utilized LeapFrogRx’s existing charting API to retrieve time-based CSV data. I created a configuration panel that allowed the user to choose what data was used for the x-axis, y-axis, bubble size, and bubble color. Once configured, the user can click “play” to animate the data points over a given timeline.

This blog entry covers a quick introduction to the Flex bitmap classes, BitmapData and Bitmap. Read more…
For this project I was tasked with displaying up to 1,000,000 physicians on a map. I chose to use the Google Maps API. To combat performance issues, we clustered results and created a server API that allowed us to filter data based on a latitude/longitude view port. The map project also utilized a custom JavaScript API to recieve events from other portlets on the page.

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…
This project was originally out-sourced to a consulting form prior to my employment at LeapFrogRx. I joined after most of the architectural decisions had been made and the project was already 6 months behind schedule. As a result, the application is a mixture of pure ActionScript and Flex due to the consulting firm’s relative inexperience working in Flex. Although the project has its flaws, it gave me the opportunity to gain experience working in a pure ActionScript environment. Line, Pie, and Bar charts were written completely in ActionScript using Flash fla assets while Data Grids and Tree Map charts were written in Flex and loaded at runtime as modules.
The business logic interprets raw CSV (comma-separated values) data in combination with meta data to display a series of charts. Features such as printing and power point export were painstakingly implemented despite the mixed architecture and redraw issues. The data for the charts is completely dynamic so careful attention was paid to word wrapping, font sizes, and column widths to ensure proper display of any data provided.

This project involved utilizing the Adobe Flex and the ILOG Elixir API to display survey results on a map of the United States. Physicians filled out a survey listing other physicians they contact for consultations. The survey results were compiled so we could display influences on the map by drawing lines between physicians who nominated one another. Results could be filtered based on influence type and geography allowing pharmaceutical sales representatives to target specific doctors in their region. Details about a doctor could be displayed including street address rendered using the Google Maps API.

Curved lines link physicians on a map.

Displaying details about a physician.
There are numerous reasons why you’d want to get access to the AIR application version. You may want to display it in an “about” dialog or perhaps you want to automatically check your website for updates. Read more…
Let’s say you have a Canvas containing several UI components. Depending on the screen size, some may be too large to display inside the canvas causing scroll bars to appear. Instead of having the user see scroll bars or a cropped version of your UI components, you can scale them so they fit perfectly. Here’s how I solved this problem. Read more…
While working on one of my mapping projects, I needed to draw some arrows between different points on the map. After searching the web I found something close to what I was looking for, but I wanted curved arrows for a slick look. Read more…