Category: Flex
Flex 3 Remoting Error – Channel.Call.Failed
May 28th, 2008, 5 Comments
I was setting up a new Flex3 project on my Mac using ColdFusion 8 and Flash Remoting and ran into the following error when calling the remote object: [RPC Fault faultString="error" faultCode="Channel.Call.Failed" faultDetail="NetConnection.Call.Failed: HTTP: Failed"] The call and path to the CFCs was correct so I thought it might have something to do with server [...]
Build you own widgets with Sprouts!
March 26th, 2008, No Comments
I ran across this really cool Flex tool called Sprouts to build your own interactive, multimedia widgets that you can embed in websites. Very slick interface and the resulting widgets/mashup are really cool!
How to copy an ArrayCollection by value
March 21st, 2008, 4 Comments
I came across the requirement to copy an ArrayCollection by value instead of by reference. Here is the solutions I used: 1 2 3 4 5 private var myCollection:ArrayCollection = new ArrayCollection(); for (var k:Number = 0; k < myCurrentCollection.length; k++) { myCollection.addItem(mx.utils.ObjectUtil.copy(myCurrentCollection[k])); }
Microsoft Silverlight Review
October 20th, 2007, No Comments
InfoWorld has a really good review of Silverlight, the RIA competitor to Flash/Flex. I think Silverlight may make a big splash as most .NET developers are probably “graphically challenged” and Silverlight will allow them to create slick RIA’s in a familiar environment (Visual Studio) and language (C#, Visual Basic .Net, IronPython, and eventually IronRuby). Microsoft [...]
Adobe Flex Builder 3 Public Beta 2 – Available!
October 3rd, 2007, No Comments
At MAX Adobe announced the newest Flex Beta. Some of the new features added in beta 2 include: Data wizard support for .NET. Web Services introspection. Project import and export. Completed support for CSS in Design View. Major improvements to the Profiler (new visualizations and better accuracy). They have also refined and enhanced some features [...]
Calling ActionScript Function from JavaScript
June 28th, 2007, No Comments
I was working on a small project where I am integrating a new Flex component with an existing HTML site. I am gradually rewriting the application in Flex but want to keep some of it in HTML during the migration. I needed a way to have the HTML content access the Flash movie for the [...]
Offline SalesForce.com with Flex & Google Gears
June 7th, 2007, No Comments
I blogged just a few days ago about Google Gears and already there are Flex applications popping up utilizing the new API. Christophe Coenraets has an interesting blog post of an offline SalesForce.com application written in Flex (an Apollo version is also available) that uses the Google Gears Database API to save data to an [...]
Why Apollo?
April 11th, 2007, No Comments
Mike Chambers, Senior Product Manager for Developer Relations at Adobe, has a great post about Abobe’s newly released Apollo runtime. He goes into depth about what Apollo is and what its value proposition is.
Flex DataGrid Casting returning NULL object.
April 11th, 2007, No Comments
I began working today on a new Cairngorm application that I copied from an existing application. The main feature of the application was allowing the user to select a row from a DataGrid and update its values. 1 2 model.currentObj = evt.currentTarget.selectedItem; I had the remoting working fine with my Gateway and CFCs but [...]
Parsing a Date as a String in Flex
March 16th, 2007, No Comments
The DateField object in ActionScript has a static method called which: “Parses a String object that contains a date, and returns a Date object corresponding to the String. The inputFormat argument contains the pattern in which the valueString String is formatted. It can contain “M”,”D”,”Y”, and delimiter and punctuation characters. The function does not check [...]










