61
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Innovation & the Adobe Flash Platform Michaël Chaize | Flash Platform Evangelist

Innovation and the Adobe Flash Platform

Embed Size (px)

DESCRIPTION

Slides presented at the Webinale in Berlin to open your mind and your eyes on "What is Flash". Amazing projects developed by the Flash community. Innovation is in the DNA of Flash

Citation preview

Page 1: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.

Innovation & the Adobe Flash PlatformMichaël Chaize | Flash Platform Evangelist

Page 2: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.

Feel free to contact me

2

Michaël ChaizeFlash Platform Evangelist

My blog: www.RIAgora.com

@mchaize

Page 3: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 3

�e origin of this session

Page 4: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.

Menu du jour

4

Rich Internet Application

Page 5: Innovation and the Adobe Flash Platform

®

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 4

Applications in the Enterprise

MAINFRAME

REAC

H

Local

Global

RICHText UI Integrated media GUI

CLIENT/SERVER

WEB APPLICATIONS

2004

1992

1998

RICH INTERNETAPPLICATIONS

Page 6: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 6

Rich User Experiences: Opportunities for internal users

Page 7: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 7

Rich User Experiences: Opportunities for internal users

5 mins 20 secs

Increase productivity & improve decision making

Page 8: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 8

NATO

Page 9: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 9

NATO

Page 10: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 10

NATO

From system-centric views, to user-centric applications.

Page 11: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.

Flash Platform - A complete system for web innovation

Page 12: Innovation and the Adobe Flash Platform

97%Flash Player 10 (March 2010)

Page 13: Innovation and the Adobe Flash Platform

ADOBE FLEX 4

Local user-group: http://www.flex-labs.de/

Page 14: Innovation and the Adobe Flash Platform

Innovation“introducing something new”

Page 15: Innovation and the Adobe Flash Platform

1997

2010

INNOVATION FOR THE WEB

ADOBE FLASH PLAYER

2010

1997

Page 16: Innovation and the Adobe Flash Platform

Innovation“introducing something new”

Page 17: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

- Printing Flash content is still a pain.- Keep a local copy of a transaction.

Page 18: Innovation and the Adobe Flash Platform

PDF AND PRINTING

INNOVATION

XFA

Hel

per

XML

XML

template

Adobe LiveCycle : server-side PDF generation

Page 19: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 19

Flash and PDF for printing : client-side

%PDF−1.41 0 obj<< /Type /Catalog/Outlines 2 0 R/Pages 3 0 R>>endobj2 0 obj<< /Type Outlines/Count 0>>endobj3 0 obj<< /Type /Pages/Kids [4 0 R]/Count 1>>...

Page 20: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 20

Flash and PDF for printing

Why client side ?

You can generate PDF’s 100% client side since ActionScript 2

ActionScript 3 (ByteArray) allows us to generate richer PDF’s (images, sounds, SWF, etc.)

AlivePDF (alivepdf.bytearray.org) is an open-source (MIT licence) library which allows you to do that.

Page 21: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 21

Generate a PDF in 3 lines of code

import org.alivepdf.pdf.PDF;

//create a PDF object

var myPDF:PDF = new PDF();

// add a blank page

myPDF.addPage();

// save the PDF on user’s disk through a save-as dialog window

myFileReference.save ( myPDF.save ( Method.LOCAL ), “generated.pdf” );

Page 22: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 22

Flash and PDF for printing

var myPDF:PDF = new PDF();

myPDF.addPage();

myPDF.textStyle( new RGBColor(0x990000), 1 );

var uf:IFont = new CoreFont ( FontFamily.HELVETICA );

myPDF.setFont(uf, 9);

myPDF.writeFlashHtmlText(8, 'A long <font color="#CCCCCC">standard</font> <u>format that should wrap by the</u> time <b>I finish this</b>. Here <i>is some text</i> that I write very eeasily and lengthy And now for some text again just to check it\'s not buggy. And back to normal. Then a line break<br/>That\'s All.');

myPDF.addPage();

var r:Resize = new Resize ( Mode.NONE, Position.LEFT );

myPDF.addImage( this, r );

myPDF.addPage()

myPDF.addImage( myDisplayObject, null, 0, 0, 0, 0, 0, 1, false, ImageFormat.JPG, 80 );

Page 23: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 23

AIR & PDF generated on the �y

Page 24: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 24

Flash and complex PDF generation

Page 25: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 25

AIR = PDF and Flash

Page 26: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Out of the box with Adobe AIR

Page 27: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 27

Saturated web browsers

Page 28: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 28

Adobe AIR and system chromes

Page 29: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 29

Expressive AIR applications

Page 30: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 30

Innovative UI and UX

Page 31: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Flash and devices

Page 32: Innovation and the Adobe Flash Platform

•Motion Detection

•Navigation

•Security, Alerts…

•Gaming

• Shape Recognition

•Face recognition for automatic log-in

•eCommerce

•Augmented Reality

•Immersive experiences

•eCommerce, gaming…

WEBCAM & MICROPHONE

DEVICES

https://www.prioritymail.com/simulator.asp

Page 33: Innovation and the Adobe Flash Platform

WEBCAM & MICROPHONE

DEVICES

Page 34: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 34

External Devices communication

Binary socket serverC#, Java, etc.

010011

Flash PlayerBluetooth stack

Page 35: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 35

External Devices communication

WiiFlash

Open Source (MIT licence) AS3 library to connect any Wii device to the Flash Player

Website : wii�ash.bytearray.org

Page 36: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 36

External Devices communication

Binary socket serverC#, Java, etc.

010011

Flash PlayerWiiFlash AS3 API

var wiimote: Wiimote = new Wiimote();wiimote.addEventListener( Event.CONNECT, onWiimoteConnect );wiimote.connect();

Page 37: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 37

External Devices communication

Page 38: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 38

Stella Artois

Page 39: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Flash and CPU emulation

Page 40: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 40

Emulating a CPU

switch(memory[PC++]){case OPCODE1: opcode1(); break;case OPCODE2: opcode2(); break; ....case OPCODEn: opcodeN(); break;}

ByteArray

MOV (B,C)

protected function SetB(inByte:int):void{ B = inByte & 0xFF; BC = (B << 8) | C;}

Page 41: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 41

Painting the pixels

for (var j:int = 0; j< height; j++){ src = 0x2400 + (j << 5); k = 0; for (var i:int = 0; i< 32; i++) { vram = processor.memory[src]; src += 1; for (var b:int = 0; b<8; b++) { color = 0; if ( vram&1 ) color = 0xFFFF6500; setPixel(k, j, color); k++; vram = vram >> 1; } }}

Page 42: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 42

Flash and emulation

Intel8080 Emulation with Space Invaders original rom executed

Page 43: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 43

Flash and emulation

Page 44: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 44

Flash and emulation

h�p://www.dotemu.com/en/sf2

Page 45: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Flash and Adobe labs

Page 46: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Alchemy and Pixel Bender

http://www.sideroller.com/wck/

http://demo.minko.in/2

Page 47: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Flash and multiple screens

Page 48: Innovation and the Adobe Flash Platform

97%Flash Player 10 (March 2010)

Page 49: Innovation and the Adobe Flash Platform

®

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

Singular experience, Multiple devicesEnable consumers to engage with rich Internet experiences seamlessly across any device, anywhere.

The Open Screen Project

Page 50: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 50

Technology Partners

Open Screen Project: more than 70 partners

Content Partners

Page 51: Innovation and the Adobe Flash Platform

10.1

Page 52: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential. 52

Flash Player 10.1 API and testing

Page 53: Innovation and the Adobe Flash Platform

ADOBE AIR 2.0

Out of the browserUSB storage detectionO�ine/Online sync (salesForce)Invoke OS Native ProcessesEmbed your own Java librariesSoon on smartphones

Page 54: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 54

Multi-touch, USB drive…

Page 55: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 55

At the train station

Page 56: Innovation and the Adobe Flash Platform

INTRODUCING SOMETHING NEW

INNOVATION

Flash Player 10.1... even the hidden APIs are used !!!

Page 57: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.

Flash Platform - A complete system for web innovation

Page 58: Innovation and the Adobe Flash Platform

Innovation“introducing something new”

More to come... Flash Player 10.x, Flash Player 11...

Page 59: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 59

Conclusion

Page 60: Innovation and the Adobe Flash Platform

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 60

Flash driving Innovation & Innovation driving Flash

Page 61: Innovation and the Adobe Flash Platform

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.

Feel free to contact me

61

Michaël ChaizeFlash Platform Evangelist

My blog: www.RIAgora.com

@mchaize