In a recent project we built a DataGrid that showed paginated data from a web service. That itself was pretty straight-forward. It eventually required sorting. And of course the sorting feature with DataGrid would only sort the data within a single page when we wanted the sorting to be applied to the entire data set. [...]
Read full blog post: Paginated DataGrid with SortingArchive for the ‘ActionScript’ Category
Paginated DataGrid with Sorting
Saturday, April 4th, 2009
Setting Parameters With The Same Name Using URLVariables
Friday, March 20th, 2009
The ability to set and send form parameters with the same name is available with URLVariables though it’s not quite documented very well (at all?). Below are 4 examples of setting 2 values with same parameter name. The first example results in 1 parameter. The rest result in 2 parameters as expected. // results [...]
Read full blog post: Setting Parameters With The Same Name Using URLVariables
The ability to set and send form parameters with the same name is available with URLVariables though it’s not quite documented very well (at all?). Below are 4 examples of setting 2 values with same parameter name. The first example results in 1 parameter. The rest result in 2 parameters as expected. // results [...]
Read full blog post: Setting Parameters With The Same Name Using URLVariablesBuilding a Facebook application with Ribbit and Flash
Wednesday, February 18th, 2009
For me, Facebook (free-access social networking website) is a guilty pleasure. I’ve spent more time on this site than I care to admit. When the chance came, I set out to use my mighty morphic skills to build a Facebook application. My goal was to create an application that makes phone calls from within Facebook. [...]
Read full blog post: Building a Facebook application with Ribbit and Flash
For me, Facebook (free-access social networking website) is a guilty pleasure. I’ve spent more time on this site than I care to admit. When the chance came, I set out to use my mighty morphic skills to build a Facebook application. My goal was to create an application that makes phone calls from within Facebook. [...]
Read full blog post: Building a Facebook application with Ribbit and FlashFABridge Error: “You are trying to call recursively into the Flash Player which is not allowed…”
Saturday, February 14th, 2009
Like many people, I’ve been using the FABridge a lot and loving the simplicity it provides. Also like many people I’ve run into the following JavaScript error thrown by the FABridge: You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used [...]
Read full blog post: FABridge Error: “You are trying to call recursively into the Flash Player which is not allowed…”
Like many people, I’ve been using the FABridge a lot and loving the simplicity it provides. Also like many people I’ve run into the following JavaScript error thrown by the FABridge: You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used [...]
Read full blog post: FABridge Error: “You are trying to call recursively into the Flash Player which is not allowed…”Mysterious Default XML Namespace Issue
Monday, February 9th, 2009
I’ve been working with a RESTful service layer a lot recently that uses XML with a default namespace. In an ActionScript library project I have some delegate and model classes that natually use the default xml namespace directive. Once in a while I ran into a mysterious issue where the namespace doesn’t seem to be [...]
Read full blog post: Mysterious Default XML Namespace Issue
I’ve been working with a RESTful service layer a lot recently that uses XML with a default namespace. In an ActionScript library project I have some delegate and model classes that natually use the default xml namespace directive. Once in a while I ran into a mysterious issue where the namespace doesn’t seem to be [...]
Read full blog post: Mysterious Default XML Namespace IssueSlider Track Click And Drag
Wednesday, January 7th, 2009
The default Flex Slider component allows you to click the track to update the thumb position but does not begin the dragging of the thumb. I wanted that drag behavior but didn’t want to write my own Slider from scratch. I love to read code so I looked at the mx source and found a [...]
Read full blog post: Slider Track Click And Drag
The default Flex Slider component allows you to click the track to update the thumb position but does not begin the dragging of the thumb. I wanted that drag behavior but didn’t want to write my own Slider from scratch. I love to read code so I looked at the mx source and found a [...]
Read full blog post: Slider Track Click And DragDeconstruction and reconstruction of a ByteArray
Tuesday, December 2nd, 2008
Many times you may come up with tasks that seem pretty straight forward but involve a bit of researching. In a recent project, I needed to find a way pass a dynamically generated image from one flex application (swf) to another. My senior developer suggested that I pass the ByteArray data of the image via [...]
Read full blog post: Deconstruction and reconstruction of a ByteArray
Many times you may come up with tasks that seem pretty straight forward but involve a bit of researching. In a recent project, I needed to find a way pass a dynamically generated image from one flex application (swf) to another. My senior developer suggested that I pass the ByteArray data of the image via [...]
Read full blog post: Deconstruction and reconstruction of a ByteArrayArchitecting Flex Applications Presentation
Saturday, October 11th, 2008
For those attending the user group meetings where I present on the topic of Architecting Flex Applications you may have interest in downloading the code for the sample application. The sample application is from Programming Flex 3, where you can find more detailed information and explanations about the application itself. However, the code is fairly [...]
Read full blog post: Architecting Flex Applications Presentation
For those attending the user group meetings where I present on the topic of Architecting Flex Applications you may have interest in downloading the code for the sample application. The sample application is from Programming Flex 3, where you can find more detailed information and explanations about the application itself. However, the code is fairly [...]
Read full blog post: Architecting Flex Applications PresentationDynamically Getting JavaScript Properties
Wednesday, July 23rd, 2008
Jumping off of Joey’s post about anonymous functions from externalinterface, here’s a quick and perhaps obvious method of dynamically getting JavaScript properties: package examples { import flash.external.ExternalInterface; public class JavaScript { public static function getProperty(name:String):Object { var property:Object; if (ExternalInterface.available) { property = ExternalInterface.call(“function() { return ” + name +”; }”); } else { property [...]
Read full blog post: Dynamically Getting JavaScript Properties
Jumping off of Joey’s post about anonymous functions from externalinterface, here’s a quick and perhaps obvious method of dynamically getting JavaScript properties: package examples { import flash.external.ExternalInterface; public class JavaScript { public static function getProperty(name:String):Object { var property:Object; if (ExternalInterface.available) { property = ExternalInterface.call(“function() { return ” + name +”; }”); } else { property [...]
Read full blog post: Dynamically Getting JavaScript Properties