Upload
michael-chaize
View
110
Download
2
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
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Innovation & the Adobe Flash PlatformMichaël Chaize | Flash Platform Evangelist
©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
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 3
�e origin of this session
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Menu du jour
4
Rich Internet Application
®
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
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 6
Rich User Experiences: Opportunities for internal users
®
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
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 8
NATO
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 9
NATO
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 10
NATO
From system-centric views, to user-centric applications.
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Flash Platform - A complete system for web innovation
97%Flash Player 10 (March 2010)
ADOBE FLEX 4
Local user-group: http://www.flex-labs.de/
Innovation“introducing something new”
1997
2010
INNOVATION FOR THE WEB
ADOBE FLASH PLAYER
2010
1997
Innovation“introducing something new”
INTRODUCING SOMETHING NEW
INNOVATION
- Printing Flash content is still a pain.- Keep a local copy of a transaction.
PDF AND PRINTING
INNOVATION
XFA
Hel
per
XML
XML
template
Adobe LiveCycle : server-side PDF generation
®
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>>...
®
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.
®
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” );
®
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 );
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 23
AIR & PDF generated on the �y
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 24
Flash and complex PDF generation
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 25
AIR = PDF and Flash
INTRODUCING SOMETHING NEW
INNOVATION
Out of the box with Adobe AIR
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 27
Saturated web browsers
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 28
Adobe AIR and system chromes
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 29
Expressive AIR applications
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 30
Innovative UI and UX
INTRODUCING SOMETHING NEW
INNOVATION
Flash and devices
•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
WEBCAM & MICROPHONE
DEVICES
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 34
External Devices communication
Binary socket serverC#, Java, etc.
010011
Flash PlayerBluetooth stack
®
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
®
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();
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 37
External Devices communication
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 38
Stella Artois
INTRODUCING SOMETHING NEW
INNOVATION
Flash and CPU emulation
®
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;}
®
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; } }}
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 42
Flash and emulation
Intel8080 Emulation with Space Invaders original rom executed
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 43
Flash and emulation
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 44
Flash and emulation
h�p://www.dotemu.com/en/sf2
INTRODUCING SOMETHING NEW
INNOVATION
Flash and Adobe labs
INTRODUCING SOMETHING NEW
INNOVATION
Alchemy and Pixel Bender
http://www.sideroller.com/wck/
http://demo.minko.in/2
INTRODUCING SOMETHING NEW
INNOVATION
Flash and multiple screens
97%Flash Player 10 (March 2010)
®
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
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 50
Technology Partners
Open Screen Project: more than 70 partners
Content Partners
10.1
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential. 52
Flash Player 10.1 API and testing
ADOBE AIR 2.0
Out of the browserUSB storage detectionO�ine/Online sync (salesForce)Invoke OS Native ProcessesEmbed your own Java librariesSoon on smartphones
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 54
Multi-touch, USB drive…
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 55
At the train station
INTRODUCING SOMETHING NEW
INNOVATION
Flash Player 10.1... even the hidden APIs are used !!!
©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con�dential.
Flash Platform - A complete system for web innovation
Innovation“introducing something new”
More to come... Flash Player 10.x, Flash Player 11...
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 59
Conclusion
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con�dential. 60
Flash driving Innovation & Innovation driving Flash
©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