I hear the whispers around the town muttering about problems handling communications between Flex and ColdFusion via RemoteObjects. Mutterings such as, is there a more efficient method to handle error reporting, message queing, authentication failures, authorisation failures, server availability, custom user interactions? The answer is in WormHole!!!
Check this bad boy out, solution to your woes!
wormhole
Wormhole is a Messaging Manager which provides value added functionality on top of
Remote Object calls between a Flex client and a ColdFusion server.
Wormhole was written to encapsulate the management of Remote Object calls, in
particular, the handling of errors and user authentication into a simple to re-use library.
Posted in Coldfusion, Flex | No Comments »
Someone asked if I could build simple a RSS feed example in Flash and AS3 stipulating a MVC kinda framework, nothing fancy and quick (UI not important). They also wanted the proxy to pull in data from the fullasagoog feed and must be a singleton. Its was a quick example due to time but may be of some benefit so I am gonna stick it up here:
source
Posted in AS3, Flash, Frameworks | No Comments »
I had an error thrown in Flex recently which was Property type not found on '** A Class Object **' and there is no default value.. In a nut shell I had an ArrayCollection of Value Objects and amongst them was one particular Object I wanted removing from the ArrayCollection ready for storage. I have defined this Object above as '** A Class Object**', and this particular class was different to the rest as I had not defined a 'type' property.
The way to tackle this is highlight below. Essentially I loop through each Object in the ArrayCollection and use the Object.hasOwnProperty() method that returns a Boolean dependent on the presence of the property parameter on the Object.
Actionscript:
-
for each ( var initObj:Object in myArrayCollection )
-
{
-
if( !initObj.hasOwnProperty( 'type' ) )
-
{
-
Logger.info("The Object: " + initObj + " has no type parameter");
-
myArrayCollection.removeItemAt( myArrayCollection.getItemIndex( initObj ) );
-
}
-
}
Posted in AS3, Uncategorized | 5 Comments »
View the webcast from the bTween event discussing and presenting interactive ideas and methods for business development, there is also a live chat built by muchosmedia:
http://www.just-b.com/btween/pages/webcast
Posted in General | No Comments »
My latest tutorial for WebDesigner is out now and is an article on how to build an AIR contact manager (mac os x address book style) application utilising an SQLite database! Check stores near you
or online using the above link!

Posted in AIR, Flex | No Comments »
This looks interesting, I really like the sound of Mate and its built by some serious contributers in the Flash, Flex and ColdFusion world!
Mate is a tag-based, event-driven Flex framework.
Flex applications are event-driven. Mate framework has been created to make it easy to handle the events your Flex application creates. Mate allows you to define who is handling those events, whether data needs to be retrieved from the server, or other events need to be triggered.
I will defo be looking into this and will feedback initial thoughts
Posted in Flex, Frameworks | 2 Comments »
I have recently finally got round to working on a flex project using the all new 64 bit coldfusion beast on my mac. Had a slight problem with the ol' connectivity between Flex and CF though so I whipped out my standard test application and that didnt work either....? Now this got weird cos when I did the standard flex2gateway url check it worked fine, the only thing that was different here in my approach was the new Flex Project builder screen for ColdFusion. My error output showed trouble with http://localhost/QueryCFC/flex2gateway, hold on a minute?!? So a little google work and the solution was found here @ CFWTF, specifically this part:
...as far as I can tell, that magic url always needs to be http://yourdomain.com/flex2gateway, anything you put in this field will cause that call to fail, and in your flex app you'll get something like Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 405:
Ahhhhh, so the solution was to LEAVE THE CONTEXT ROOT FIELD BLANK!
Posted in Coldfusion, Flex | No Comments »
Cliff has just released a demo for the Multicore framework and PipeWorks utility. This is a fantastic demonstration of how to use PipeWorks and re-utilizes the AIR/Flex RSS Reader demo I built to now parse ATOM1.0, RSS1.0 and RSS2.0! Chiggy check it!
PureMVC AS3 MultiCore / Flex Demo - PipeWorks
Posted in AS3, Flex, PureMVC | No Comments »
** Due to the Voices blog's demise I rescued this tutorial for reference, V2 update out soon! **
I have blogged recently about how to build a simple flv player in flash and flex using PureMVC and thought I would extend the functionality to the player by adding the ability to retrieve a simple XML playlist. Please refer to the extensive PureMVC documentation Cliff provides for further explanation regarding the framework. Read the rest of this entry »
Posted in AS3, Flash, PureMVC, Tutorials, Video | No Comments »
With the new release of version 2.0.1 for the ActionScript 3 platform I have got to say I am buzzing. There are some nice changes to the framework which have already made my code cleaner and simpler. So, I thought it would be cool for people to list there likes for this version (not just the new changes made) and maybe an example of how they implement there highlighed likes. Lets get the ball rolling:
Like: facade.hasMediator
Example: I found this great for creating popups, using facade.hasMediator I can check to see if there is already a mediator already registered and prevent duplicate popups being instantiated.
Actionscript:
-
var pop_registered:Boolean = facade.hasMediator( PopMediator.NAME );
-
if( pop_registered == false )
-
{
-
PopManager.openPopUpWindow( MyPop, PopMediator, true );
-
}
Posted in AS3, PureMVC | 2 Comments »