Archive for the 'Flex' Category

Brisbane Adobe Special Event ( Catalyst, Flex4, FB 4, CF 9, Bolt )

Hot on the heels of WebDU, this Brisbane Adobe special event will be
the first Australian stop of Adobe’s massive User Group Tour
travelling throughout 199 cities around the world this summer.

Come learn about the newest features in the Flex 4 framework and SDK.
See product feature demos, and learn how the new Flex framework powers
both Flash Catalyst and Flex Builder to speed the development and
testing of rich Internet applications and content.

but wait, there’s more!

The Adobe ColdFusion team have been working hard on Centaur, the next
version of ColdFusion, as well as Bolt – code name for the highly
anticipated first ColdFusion IDE from Adobe. Learn about exciting new
features and discover how Centaur and Bolt will accelerate your
ColdFusion application development.

For further information and RSVP please goto

http://groups.adobe.com/posts/49bfc505f0

The event will be Sponsored by Adobe and supported by the Coldfusion, Flash Platform and the Tools usergroups here in Queensland.

Please RSVP as numbers are strictly limited to 140 people

We will also have some great giveaways.

Brisbane Flex 3 Pre-Launch Event with Danny Dura (U.S) in person

Danny Dura from Adobe U.S will be joining the usergroups in Person in Brisbane on the 30th of Jan 2008

For more details, and to register for this not to miss event. Visit http://qld.cfug.org.au/

All this excitement has got me motivated. Hopefully during the event I will get the chance to show of what I’ve been working on recently, as well as ask Danny Dura for some feedback and about the Future of Flex 3 and beyond.

I’ll see you at this not to miss event on the 30th.

FlashPlatform User Group to Hit Brisbane (QLD Australia)

The FlashPlatform User Group will cover a range of topics related to developing rich internet applications using the Flash Platform. Development topics most likely to be covered are.

  1. ActionScript Coding (Actionscript 3)
  2. Adobe Flex 2.0
  3. Adobe Apollo (Adobe’s desktop runtime environment)

If you are interested in attending, or want to find out more, go and sign up to the low traffic flashplatform queensland google group. Link below.

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

Details for the first meeting will be available soon on the FlashPlatform Google Group above.

I Look forward to seeing you there.

Cheers
GarethE

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.

Flex ing for Apollo

Apollo has inspired me to spend some of my spare time to work on a Internal Flex 2 project I have been meaning to get back to.

In the last couple of weeks I have been learning Cairngorm 2 and Flex 2 and piecing together my Flex 2 application, and along the way have been writing and designing for Apollo. Although Flex 2 applications should port directly to Apollo with little to no change, I have been designing the layout and workflow based on what I want from a desktop application.

Here is a screenshot of one of the screens from the time management part of the application I’m currently working on. The Flex widget from my previous post will also be included in the application, I will post a screen when this is operational.

Intranet Application

More to come.

Cheers
Gareth.

Flex Widget

A new home for the Widget I started work on for the Rocketboots Spacerace quite some time ago when Flex 2 was Beta 1 or 2?

http://www.kaffien.com/flex/myflex.html

I plan to continue work on this widget in the near future, for a Flex 2 / Coldfusion Project I’m working on.

More in 07.

Cheers
Gareth