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

6
Building Flash-based websites using Flex Lesson 7 – Customised Components Alex Goh [email protected]

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

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

Building Flash-based websites using Flex

Lesson 7 – Customised Components

Alex [email protected]

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

Agenda

● Customised Flex components

● Value objects

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

● 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

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

● 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

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

Value Objects

Same VO

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

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

Exercises