Visual Experience 360 Flex

32
360 Flex 08 14 2007 Creating a Visual Experience Theory + Strategy

description

These slides are from a presentation given at 360|Flex covering ways of customizing your Adobe Flex application. For more information on the topic, check out the book at http://www.cveflex.com

Transcript of Visual Experience 360 Flex

Page 1: Visual Experience 360 Flex

360 Flex 08 14 2007

Creating a Visual ExperienceTheory + Strategy

Page 2: Visual Experience 360 Flex

360 Flex 08 14 2007

Juan Sanchez Interface Designer

www.atomiccurve.com

modern brand architecture

www.scalenine.com

skins and themes for Flex™ and AIR™

www.degrafa.com

declarative graphics framework

Page 3: Visual Experience 360 Flex

360 Flex 08 14 2007

Andy McIntosh Experience Architect

www.e!ectiveui.com

experience innovation

www.andymcintosh.com

rants, raves, thoughts, etc.

www.degrafa.com

declarative graphics framework

Page 4: Visual Experience 360 Flex

Text

Why?

Brands your applicationCreate visual cues and connectionsFluid, more engaging interactionUsers will remember itIncreased Usability

Page 5: Visual Experience 360 Flex

Text

Example ScrapBlog

Page 6: Visual Experience 360 Flex

Text

Example ScrapBlog

Page 7: Visual Experience 360 Flex

Text

Example picnik

Page 8: Visual Experience 360 Flex

Text

Example picnik

Page 9: Visual Experience 360 Flex

Text

When and how to use:stylinggraphical and programmatic skinningembedded fontsicons, indicators and cursorsbitmap "lterse!ects and transitions

Overview

Page 10: Visual Experience 360 Flex

Text

Styling

Styling is customizing the appearance of a component by modifying a subset of its attributes

fonts

text formattingcolors

icons

indicators

cursors

skins

padding

alignment

relative positioning

size

absolute positioning

states

e!ects

event handlers

component properties

Page 11: Visual Experience 360 Flex

Text

Applying Styles

Where and how:within MXML Style tags <Style> </Style>

in CSS "les <Style source=”main.css”>

with ActionScript setStyle();

as MXML tag-attributes <Button color=”#FF0000” />

declarations can be packaged SWFs and loaded/

replaced at runtime

Page 12: Visual Experience 360 Flex

Text

Applying Styles

Levels:to all components (global)

per component-type (type-selector)

per instance (class-selector)

as individual attributes

Page 13: Visual Experience 360 Flex

Text

Style Precedence

Page 14: Visual Experience 360 Flex

Text

Skinning Overview

Skinning is customizing the appearance of a component by modifying or replacing its visual elements. Skinning is the key to creating truly unique looking applications.

Skinnable elements:States for controls (upSkin, overSkin)Borders for containers (borderSkin)Various indicators (sortArrowSkin, headerSeparatorSkin)

Types:graphical (bitmap or vector)programmatic

Page 15: Visual Experience 360 Flex

Text

Graphical Skinning

Graphical skins are embedded external assets, i.e., bitmap or vector artwork.

Bitmap assets:PNG, GIF, or JPEG formatsubject to pixelation

Vector assets:SWF format (Flash and Illustrator)less impact on total "le sizecan contain many skins in one "le

Page 16: Visual Experience 360 Flex

Text

Using Scale-9

Scale-9 allows graphical skins to scale without distortion by specifying nine sections that scale independently

De!ne scale-9 grid:specify scaleGridTop/Left/Bottom/Right in the embed statementuse visual guides in Flash or Illustrator

Page 17: Visual Experience 360 Flex

Text

Programmatic Skinning

Programmatic skins are classes that de!ne dynamic visuals using the Drawing API methods

Creating a programmatic skin:extend a class from the mx.skins packagein updateDisplayList draw based on size and stylesoptionally de"ne borderMetrics property

Page 18: Visual Experience 360 Flex

Text

Graphical or Programmatic?

Page 19: Visual Experience 360 Flex

Text

Icons, Indicators & Cursors

provide additional guidance and visual cues.promote usability and discoverability.

Page 20: Visual Experience 360 Flex

Text

Embedded Fonts

Embedded fonts:display the same on all systems can be rotated or semi-transparentare easier to read and smoother with e!ectsmay be less legible at smaller sizescan signi"cantly increase SWF "le size

Fonts can be embedded by referencing:A font installed on your systemA font "leA SWF "le with an embedded font

Page 21: Visual Experience 360 Flex

Text

Embedding Fonts with Flash

don’t have to be TrueType

easily specify character ranges

OTF TTF+ + ?

vs

Page 22: Visual Experience 360 Flex

Text

Bitmap Filters

achieve additional depth in appearancecan be processor intensivenot bindable, must replace and redraw

blur bevel shadow glow more...

Page 23: Visual Experience 360 Flex

Text

E!ects & Transitions

An e!ect is a change to a components appearance over time.Compound e!ects can be applied to a component and executed sequentially or in parallelE!ects are triggered by events

Transitions are grouped e"ects that allow for smooth visual changes between states

Can help a user maintain context so they know where they came from and what to expect when they go back

Achieve additional depth in appearance.

Page 24: Visual Experience 360 Flex

Text

Summary

stylinggraphical and programmatic skinningembedded fontsicons, indicators and cursorsbitmap "lterse!ects and transitions

Page 25: Visual Experience 360 Flex

Text

What else is there?

Custom ComponentsFlex Component Kit for Flash CS3Flex 3CS3 IntegrationAdobe MAX Conference

Page 26: Visual Experience 360 Flex

Text

Resources : Styling & Skinning

Repeating Image ComponentCreate repeating backgrounds

Building an Advanced UIGraphical and Programmatic Skinning

Understand Runtime CSSImplement runtime CSS

Flex Interface CustomizationUsing themes, styles and skins

Creating Flex 2 SkinsCreating skins with Flash, Photoshop,Illustrator and Fireworks

Graphical Skinning : LiveDocsHow to use and create graphical skins

Skinning & StylingPresentation on Skinning and Styling

Programmatic SkinningProgrammatic Skinning on Live Docs

ScaleNineSkins, Themes, Resources & User Interface Showcase

VecteezyFree vector artwork

Page 27: Visual Experience 360 Flex

Text

Resources : Cool Stu!

Flex 2 Style ExplorerCreate styles for your Flex applications

Style Explorer : Kuler ImportUse Kuler with the Style Explorer

Transitions & E!ects ExplorerExperiment with Transitions & E!ects

Component ExplorerFind the right component for the job

Primitive ExplorerDynamically Drawn Shapes

Filters ExplorerPreview di!erent "lters for Flex

KulerColor inspiration for your apps

Custom Easing ExplorerCreate custom easing functions

Flex.org ShowcaseFlex Application Showcase

Page 29: Visual Experience 360 Flex

Text

Files & Resources

www.andymcintosh.com/360Flex/www.andymcintosh.com/360Flex/

Page 30: Visual Experience 360 Flex

360 Flex 08 14 2007

Creating a Visual ExperienceHands-on

Page 31: Visual Experience 360 Flex

Text

Before & After

Page 32: Visual Experience 360 Flex

Text

Nine Step Program

1. Set some application-wide styles2. Stylize the TitleWindow3. Graphically skin the close button4. Graphically skin the TextInputs5. Programmatically skin the Buttons6. Add an icon to the Sign In button7. Embed the font8. Add hide/show e"ect9. Create a transition