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
5. Applications in the Enterprise
Global
2004
RICH INTERNET
WEB APPLICATIONS APPLICATIONS
REACH
1998
1992
Local
MAINFRAME CLIENT/SERVER
Text UI Integrated media GUI
RICH
®
4
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
6. Rich User Experiences: Opportunities for internal users
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 6
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. 7
8. NATO
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 8
9. NATO
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 9
10. NATO
From system-centric views, to user-centric applications.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 10
18. INNOVATION
PDF AND PRINTING
XML
XML
XFAHelper
template
Adobe LiveCycle : server-side PDF generation
19. Flash and PDF for printing : client-side
%PDF−1.4
1 0 obj
<< /Type /Catalog
/Outlines 2 0 R
/Pages 3 0 R
>>
endobj
2 0 obj
<< /Type Outlines
/Count 0
>>
endobj
3 0 obj
<< /Type /Pages
/Kids [4 0 R]
/Count 1
>>
...
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 19
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. 20
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. 21
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. 22
23. AIR & PDF generated on the y
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 23
24. Flash and complex PDF generation
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 24
25. AIR = PDF and Flash
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 25
34. External Devices communication
Binary socket server
C#, Java, etc.
010011
Bluetooth stack Flash Player
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 34
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. 35
36. External Devices communication
010011
Binary socket server
C#, Java, etc.
WiiFlash AS3 API
Flash Player
var wiimote: Wiimote = new Wiimote();
wiimote.addEventListener( Event.CONNECT, onWiimoteConnect );
wiimote.connect();
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 36
40. Emulating a CPU
ByteArray
switch(memory[PC++])
{
case OPCODE1:
opcode1();
MOV (B,C)
break;
case OPCODE2:
opcode2();
break; protected function SetB(inByte:int):void
.... {
case OPCODEn: B = inByte & 0xFF;
opcodeN(); BC = (B << 8) | C;
break; }
}
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 40
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. 41
42. Flash and emulation
Intel8080 Emulation with Space Invaders original rom executed
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 42
43. Flash and emulation
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 43
44. Flash and emulation
h p://www.dotemu.com/en/sf2
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 44
49. The Open Screen Project
Singular experience, Multiple devices
Enable consumers to engage with rich Internet experiences seamlessly across any device, anywhere.
®
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
50. Open Screen Project: more than 70 partners
Technology Partners Content Partners
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 50
53. Out of the browser
USB storage detection
O ine/Online sync (salesForce)
Invoke OS Native Processes
Embed your own Java libraries
Soon on smartphones
ADOBE AIR 2.0
54. Multi-touch, USB drive…
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 54
55. At the train station
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe con dential. 55
56. INNOVATION
INTRODUCING SOMETHING NEW
Flash Player 10.1... even the hidden APIs are used !!!