Building Flash-based websites using Adobe Flex - Lesson 7/10

Post on 05-Dec-2014

996 views 5 download

description

Building Flash-based websites using FlexLesson 7 – Introduction to Rich Internet Applicationby Alex goh, associate trainer @ LAB School ( http://lab.edu.sg/ ), Adobe Authorized Training Centre, Singapore

Transcript of Building Flash-based websites using Adobe Flex - Lesson 7/10

Building Flash-based websites using Flex

Lesson 7 – Customised Components

Alex Gohinfo@alekkus.com

Agenda

● Customised Flex components

● Value objects

● Flex includes a large library of components (both UI and non-UI) that can be readily used.

● In many cases, the visual and/or behaviour of these components are not sufficient.

● Customised component can be built by extending an existing Flex component.

Customised Flex Components

● Value objects (VO) are simply a class (or template) with predetermined properties.

● Main reason is to ease passing around an object within the application.

● Works very well when used in conjunction with customised component.

● VERY USEFUL concept especially for building mid to large scale application.

Value Objects

Value Objects

Same VO

To better understand what's VO about, let's work on some examples : )

Exercises