Monthly Archive for January, 2007

Apollo at CFUG Queensland Australia

CFUG Queensland, Australia is holding a special event on Wednesday the 31st of January 2007 @ 6:30PM. We will introduce and give an overview of the Adobe Apollo Runtime as well as what Apollo means for Coldfusion Developers.

If you would like to attend, please register at the Queensland CFUG Google Group.

http://groups.google.com/group/qldcfug/

Once registered, please reply to the Google Group meeting announcement to indicate that you wish to attend.

Cheers
Gareth.

Apollo Application workflow

How can Apollo benefit your workflow? If you haven’t started looking at what Apollo can do for your company, my advice is start now. Apollo allows for Cross platform, Rapid Desktop Application Development that can help your business increase cross application workflow.

I’ve spending some of my spare time working on an In House Flex application (which I plan to port to Apollo) that will merge 3 seperate products and create a better workflow for the team of which I’m a part of.

Are you waiting for Apollo to start prototyping? why wait? get started with Flex now. Think of your current workflow and what you can do to improve it with Flex, PDF, HTML and Apollo.

More soon.

Cheers
Gareth.

Digital Editions Beta 2 on Labs

http://labs.adobe.com/technologies/digitaleditions/

Not sure, but I think if you already have digital editions installed you may have to un-install it for the digital editions labs site to allow you to install the new beta.

What is Adobe Digital Editions?
Basically Adobe Digital Editions is an extended version of the Flash Player, which allows for the Flash Player to read PDF and XHTML based digital publication content.

Quote from the Labs site below:

Adobe Digital Editions is a completely new way to read and manage eBooks and other digital publications. Digital Editions is built from the ground up as a lightweight, rich Internet application (RIA). Digital Editions works online and offline, and supports both PDF and XHTML-based content.

What’s new in Adobe Digital Editions Beta 2?
Some of the new things in the Beta 2 are…

  1. A Macintosh version is now available for intel and PowerPC OSX 10.3 and 10.4
  2. Printing
  3. Copy to Clipboard
  4. Mouse scroll wheel and short cut keys support
  5. Bug Fixes

My Suggestion is, check it out. http://labs.adobe.com/technologies/digitaleditions/

Cheers

Gareth.

Flex 2 Binding Tip

This is something I must have overlooked, and hence thought other people may have also overlooked it. It’s quite simple really.

During the initial creation of my Inhouse application I had been using the Combobox with a function within the same mxml file to allow me to use a selectedValue. Something like….

<mx:ComboBox
    id="mycombo"
    width="269"
    tabIndex="5"
    dataProvider="{mycodes}"
    selectedIndex="{getSelectedIndex(mycode,mycodes)}"
    styleName="topcombobox"
/>

So, rather than write my own custom component decided it was time to utilize the fantastic resources available. After a quick search to some areas where I had seen this demonstrated before I came across an article written by the one and only Ben Forta on ComboBox and Selected Values. Link Below.

http://www.forta.com/blog/index.cfm/2006/11/22/Flex-ComboBox-With-selectedValue-Support

So, this is where my problems began, not really sure why I haven’t come across this before, infact I think I have, but my brain has been so off track with the holidays and all, its time to get back on track.

So if you view ben’s article the magic function causing the problem for me was

override public function set dataProvider(o:Object):void

Why a problem you ask? because the object being passed to the function is the value that helps us notify the custom component that there are records waiting to be searched ie.

if (o!=null && o.length)
            {
   // Got it, set flag
               bDataProviderSet = true;
            }

The value that I was getting was an empty ArrayCollection, although it seemed that it couldn’t be true because the values were appearing in the ComboBox’s list. The cause of this is that the set method is fired when the collection is created or set in the model. When records are then added, removed or updated within this collection another function is called “collectionChangeHandler”. The combobox was being updated, but the custom component wasn’t working. In my program the ArrayCollection being created had some additional processing logic.

Not sure if I’m following best practices, but in the situation where you are manually building the ArrayCollection for what ever the reason maybe. For the bindings to work as you would like them to, create a temporary Array and then re create the ArrayCollection like so.

mymodel.mycodes = new ArrayCollection(tempArray);

Once I had done this, the custom control worked perfectly. Hopefully I didn’t get to off track with this post, and hopefully it helps at least one person that may have had this confuse them.

Cheers
Gareth.

Inhouse Flex Application on Flickr Flex Applications

When you can check out http://www.flickr.com/photos/flexapps/ for screenshots of private and public Flex Applications.

Ted Patrick has created a Professional Flickr account that is full of inspirational Flex Application Screenshots. The Flex Application I have been working on is there, so check it out. Ted has even used one of my screenshots for his new look blog. Check it out at http://www.onflex.org/ted/

Ted OnFlex

More Soon

Cheers
Gareth.

Flex is Coming

Days to go until……

Check out Ted’s Blog for more info.