Skinning a ToggleButtonBar to add vertical separator

April 26th, 2010 admin No comments

Sample application to add a vertical separator to a toggle button bar.

before:

after:

application | source

Categories: Flex, skins Tags:

Flex 4 Stickie Note

April 20th, 2010 admin No comments

Ive been playing around with flex 4 skins and built this slightly pointless app to demonstrate a skin for a mac osx style stickie note

source enabled as usual.. simply click on the canvas to add a note. Yeah it would be nice to edit and resize the not on the fly.. next time..

Categories: Flex, skins Tags:

Custom Titlewindow

April 16th, 2010 admin No comments

Sample custom title window with close button skin.

source

Categories: Flex, skins Tags:

Custom Alert based on PanelSkin

April 16th, 2010 admin No comments

Source enabled as usual

Categories: Flex, skins Tags:

Next/Prev Button Skins

April 15th, 2010 admin No comments

I like to keep some snippets of code handy, and these simple button skins ill prob use sometime/somewhere.

I’m going to keep adding to this project and probably convert these to flex 4 skins tonight.

Categories: Flex, skins Tags:

GST Component

April 14th, 2010 admin No comments

Creating a GST component, this is very much a work in progress. Need to come back and add some validation and handling for the length of the GST number. Source enabled.

Categories: Components, Flex Tags:

Simple Drawing Tool

April 13th, 2010 admin No comments

Ive been creating a simple drawing app to play around with the new flex 4 skins

nothing exciting, but a good little sample for learning, some code gleaned from the internet

source

Categories: Flex, skins Tags:

Sourcemate

April 12th, 2010 admin No comments

Ok, theres a lot of great functionality in ElementRivers Sourcemate but a few I have been using day to day are:

  • Enable and Disable trace() statements – I often add trace statements and forget to delete some of them, this nice little feature to run through your project (or selected projects ) and disable all comments
  • Show Templates – A nice snippets/template section
  • Insert Comments  - Generates ASDoc placeholders for you in your classes. Theres also a generate asdocs feature.
  • Enable TODO, FIXME, XXX markers – as above this also will run through your current project and add todo markers in your task list – fantastic.. (see pic)

Theres plenty more features, I just havent had time to explore it fully. Yet it appears I will be definitely purchasing it.

Categories: Flex Tags:

Swiz: Country Code Sample

April 12th, 2010 admin No comments

Another simple example reading some country code records from a database using amfphp

Application : Source

The login is false.. i.e. you can just press the submit button, and application doesn’t do real inserts into the table. But the records are read from the database.

Categories: Flex, Swiz Tags:

Learning Swiz

April 9th, 2010 admin No comments

Heres a few swiz project samples i have used for learning.. thanks to these blogs/sites for the great resources.

a) The max sample application from the following url: http://code.google.com/p/swizframework/downloads/list

b) http://www.benclinkinbeard.com/2009/05/swiz-example-application-with-presentation-model-pattern/
Ben Clinkinbeard’s example.

c) Joe Rinehart http://www.firemoss.com/index.cfm/2009/10/21/Swiz-in-20-minutes-video–byebye-boilerplate

d) the article based on IOC at http://www.adobe.com/devnet/flex/articles/ioc_frameworks_07.html written by Ed Eustace.

My First App

My first “hello world” is pretty much the same structure as Joe Rineharts, except I chose to use amfphp and a simple helloworld  class (see below ) instead of coldfusion, because I will be using it in an upcoming project. I will do a better sample with more data.

http://www.matthewtomich.com/hello/ContentSwiz.html

Yeah I know its boring, I’ll write something more complex soon. Sourceview is enabled so you can see the code.

nb: just learning, so improvements/suggestions always welcome :)

Simple helloworld class.

<?php

class HelloWorld {

  function sayHello()
  {
    return "Hello World!";
  }

}

?>
Categories: Flex, Swiz Tags: ,