Archive for May, 2006

Flex 1.5 - Embedbed image problem, when using multiple Flex SWFs

I have 2 Flex applications. The first application (swf1) loads the other application (swf2). “swf1″ has an embedded image inside it, when I try and access the embeded image in “swf2″ nothing happens.

The best way to explain it is with some sample code (source can be found here)

Continue Reading May 30th, 2006


RemoteObjectAMF0 update

Thanks to Xavi Beumaia’s post about his updates to his AMF0 Flex2B3 class I have been able to update the last part of the RemoteObjectAMF0 class.

I was missing the functionality to pass along the parameters to the function call, regardless of how many parameters where present. Before I just had hard coded it to 3. I have also updated some message handling on the Fault event.

I believe now its ready for some testing and real usage. If you end up using it in an application give me the heads up.

You can find the example and source code here.

12 comments May 18th, 2006

My Derby Submission: Flex Barcode Reader

I have finally submitted my Flex2 application into the Adobe Developer Derby contest. It was built with Flex2 Beta3 and is pretty cool, well at least I think so.

The Flex Barcode Reader

What is the Flex Barcode Reader Component?

The Flex Barcode Reader Component is a Flex2 component that can read barcodes through the use of a web cam and the flash player. The current implementation reads UPC/EAN (ie: CDs, Books, *DVDs) barcodes. The lookup for product information is geared for the US only and comes from Amazon.

Continue Reading 10 comments May 17th, 2006

Flex2 and ColdFusion with out “ColdFusion/Flex Connectivity”

In Flex 1.5 we would connect to ColdFusion by setting the amfgateway to “/flashservices/gateway”. In Flex2 things changed.

With Flex2 and AS3 the remoting gateway and other RPC services implementation changed quite drastically. There is a new AMF format and it is called AMF3, where Flex 1.5 and before all used AMF0. The default gateway for ColdFusion’s remoting gateway is “/flashservices/gateway”, with Flex2 you get to install an update to the ColdFusion server and configure the channel and destination of the gateways through a xml config file. This is all really good and will provide many nice features going forward.

ColdFusion/Flex Connectivity

My post here and work on a AMF0 custom RemoteObject component is not meant to compete with the progress of Flex2 and AS3, but it sure would be nice to have a migration path that was easier to swallow. The RemoteObjectAMF0 custom component I created is showcased in an example using AMFPHP and Cairngorm but it can be used with ColdFusion as well. You can find the RemoteObjectAMF0 code here

Please remember that the RemoteObject does not reflect the full features of Flex 1.5’s RemoteObject, but when implemented in the Cairngorm method it gives you all the functionality you need (hopefully, hehe).

Add comment May 13th, 2006

Flex2 custom RemoteObjectAMF0 component (AMFPHP 1.2 and Cairngorm 2 Login Example)

I created a custom RemoteObject that works with AMF0 (the old style of RemoteObject before Flex2’s changes) a couple months ago. The code was created with Flex 2 Beta 2 and Cairngorm 2. Today I updated the code base to work with Beta 3. (It works in Flex 2 release version now.)

You can find the example and source code here.

Here is my disclaimer on this code:

You have to keep in mind this is mimicing RemoteObject component functionality for AMF0, as AS3 and Flex2 have introduced a new AMF3 format. I do not recommend this code for production and am actually looking forward to to see how AMFPHP to AMF3 format will progress.

With that said, the code does work nicely to bridge the gap between making the jump to AS3 and using old code.

Also in the process of updating the code base I made a list of Beta 2 to Beta 3 changes. The changes need for this application are located here.

It works in Flex 2 release version now.

9 comments May 13th, 2006

New Monitors, Video Card, and oh no Power Ratings

I have some 5 year old CRTs and decided to make a jump into the LCD world. The two major factors that have kept me from buying LCD’s have been screen resolution and price. These are related because I have become accustomed to 1600×1200 or higher resolution for the past five years and didn’t think I could go lower….

Continue Reading 2 comments May 8th, 2006


About: I work as a Platform Evangelist for Adobe Systems Incorporated.

My Amazon.com Wish List

Calendar

May 2006
S M T W T F S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex