SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Open Source Flash 101


  'G' Gaurav Narain Saxena
   Akron Linux User Group
       January 7, 2010
Outline
●   Flash
●   ActionScript
●   Open Source Adobe
●   Open Source Flash
●   Salasaga
●   mtasc
●   swfmill
●   Swftools
●   References
Flash
●   "Like television for internet users"
●   Written in C++
●   Allows you to:
        –   Annotate web page with:
                ●   Animation, adverts, other flash components
                ●   Navigation – RIA
                ●   Streams of video
●   Proprietary
Flash
●   Concepts
       –   Timeline
       –   Stage
       –   Objects
       –   Controls
       –   etc.
Flash
ActionScript
●   Javascript for HTML= ActionScript for Flash
●   Scripting language based on ECMAScript
●   Extension: .as
●   Main points:
         –   Cross platform
         –   Manifested in flash and flex – platforms
         –   Designed by Gary Grossman (1998)
         –   Versions: AS3, AS2
ActionScript
Example (AS2): HelloWorld.as
class HelloWorld extends MovieClip
{
public function HelloWorld() {}
public function onLoad:Void{
    var txtHello:TextField = this.createTextField(
        “txtHello”,0,0,0,100,100);
    txtHello.text = “Hello, World!”;
}// displays 100x100 box with “Hello, World!” in it.
Open Source Adobe
●   Flex SDK
        –    Cross platform framework; provides compilers,
              libraries, debugger
●   Adobe-Mozilla Tamarin
        –   Open engine for ActionScript 3
●   BladeDS
        –   Server based Java remoting and web
             messaging technology
●   Webkit
        –    Open source browser engine, OSX framework
              used on apple computers
Open Source Adobe
●   Text Layout Framework: Typography
Open Source Flash
●   "Like sourceforge.net for open source flash
    enthusiasts"
●   Collaboration
        –   list: http://osflash.org/mailman/listinfo/
        –   irc: irc://irc.freenode.org##swf
●   Hosts and links to projects related to open
    source flash development
Open Source Flash
●   History
       –   May, 2005: Aral Balkan, Sonke Rohde,
            Nicolas Cannasse (MTASC) “Eureka!”
       –   June, 2005: Number of projects: 10
       –   January, 2008: Number of projects: 120
       –   Today: has many more project, a handful of
            broken links – cool nonetheless
Open Source Flash
●   Source code used to be shared
           –   Binary .fla files
           –   ActionScript Classes
●   2004: MTASC2 [MotionTwin ActionScript Compiler]released,
           –   kicked off Flash IDE Dev Projects
●   Swfmill, Axdt, AMES, FlashDevelop etc.
●   Frameworks started appearing:
           –   Arp, Cairngorm, PureMVC
●   Developers:
           –   Started embracing these frameworks
           –   Worked in teams
           –   Build scalable solutions
           –   All this independent of Flash IDE or Flex
Open Source Flash
●   OSFlash.org incubates all these projects collected under
    one roof
●   Doesn't stop !
●   Exciting technologies for Flash Platform are created:
         –   Papervision 3D: 3D Library for Flash
         –   Red5: Open Source server to handle audio, video,
              and real-time shared objects
         –   SWX: Native data format for Flash platform
         –   Flex3, Flex SDK, Compilers
Open Source Flash
●   Integrated Development     ●   Utilities
    Environment Alternatives   ●   Flash Applications
●   Command line tools,        ●   Servers and Remoting
    compilers
                               ●   Logging Tools
●   Eclipse Plugins
                               ●   Debugging tools
●   ActionScript libraries
                               ●   Documentation Systems
●   Frameworks
                               ●   Flash Players
●   Tweening, Animation and
    Physics                    ●   SWF Readers
●   Unit testing
●   Open Source IDE for creating flash based
    eLearning (alpha software)
●   GPL, developed on Linux
●   What can you do:
       –   Create instructional videos
       –   Get a feel for timeline and other Concepts
●   Demo in Firefox (.swf) or here
mtasc
●   First ActionScript 2 Open Source Compiler
●   What you can do:
       –   Compile large .as classes in very short time
       –   Generate .swf without flash – the tool itself!
●   Superseded by haXe
mtasc
●   Example:
    class Hello

    {

        static var app : Hello;

        function Hello() {

            _root.createTextField("tf",0,0,0,800,600);     // creates a 'tf' TextField size 800x600 at pos 0,0

            _root.tf.text = "Hello world !";    // write some text into it

        }

        static function main(mc) {       // entry point

            app = new Hello();

        }

    }
mtasc
●   $ mtasc -swf hello.swf -main -header
    800:600:20 hello.as
swfmill
●   Xml2swf swf2xml processor (can import)
●   Generates asset libs for MTASC or haXe
●   Built around xslt
●   What you can do:
        –   Import images, fonts
        –   Add components
        –   Create movieclips
        –   Place clips on the stage
        –   Create text fields
swfmill
●   Example.xml:
    <?xml version="1.0" encoding="iso-8859-1" ?>
    <movie width="320" height="240" framerate="12">
      <background color="#ffffff"/>
      <frame>
        <library>
           <clip id="foo" import="library/foo.jpg"/>
        </library>
     </frame>
    </movie>
swfmill
●   $ swfmill simple example.xml example.swf
swftools
●   Collection of utilities to work with .swf's
●   Mostly on command line
●   Loves to have:
        –   Freetype libraries from freetype.org
        –   Jpeg libraries from ijg.org
swftools
●   What you can do:        ●   What you can do:
       –   Pdf2swf                 –   Wav2swf
       –   Swfcombine              –   Avi2swf
       –   Swfstrings              –   Font2swf
       –   Swfdump                 –   Swfbbox
       –   Jpeg2swf                –   Swfc
       –   Png2swf                 –   Swfextract
       –   gif2swf                 –   as3compile
swftools




           Pdf2swf
           example
Take Home
●   Flash has 99.99% market share
        –   (nah, just kidding)
●   Tools exist that facilitate usage of the flash
    platform which you can adopt for your
    application domain:
        –   Sciences
        –   Programming
        –   Sysadmin? (atleast the command line ones)
Questions?
References
●   osflash.org
●   Adobe flash
●   Open Source Adobe
●   salasaga.org
●   swfmill.org
●   mtasc.org
●   swftools.org
●   ActionScript Wiki
●   ActionScript 2 Language Reference

Mais conteúdo relacionado

Mais procurados

Js engine performance
Js engine performanceJs engine performance
Js engine performancepaullfc
 
Salt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientSalt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientMayflower GmbH
 
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
HTML, CSS & Javascript Architecture (extended version) - Jan KrausHTML, CSS & Javascript Architecture (extended version) - Jan Kraus
HTML, CSS & Javascript Architecture (extended version) - Jan KrausWomen in Technology Poland
 
3 Things Everyone Knows About Node JS That You Don't
3 Things Everyone Knows About Node JS That You Don't3 Things Everyone Knows About Node JS That You Don't
3 Things Everyone Knows About Node JS That You Don'tF5 Buddy
 
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...Ortus Solutions, Corp
 
Internet Archive at Open Video Conference 2009
Internet Archive at Open Video Conference 2009Internet Archive at Open Video Conference 2009
Internet Archive at Open Video Conference 2009tracey jaquith
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Pierre Joye
 
Mongodb - drupal dev days
Mongodb - drupal dev daysMongodb - drupal dev days
Mongodb - drupal dev daysPierre Joye
 
Introducing haXe
Introducing haXeIntroducing haXe
Introducing haXeAndy Li
 
Introduction to rails
Introduction to railsIntroduction to rails
Introduction to railsGo Asgard
 
Fixing Gaps. Strengthening the Chromium platform for content blocking
Fixing Gaps. Strengthening the Chromium platform for content blockingFixing Gaps. Strengthening the Chromium platform for content blocking
Fixing Gaps. Strengthening the Chromium platform for content blockingIgalia
 
Develop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGapDevelop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGapGiorgio Natili
 
DanNotes 2013: OpenNTF Domino API
DanNotes 2013: OpenNTF Domino APIDanNotes 2013: OpenNTF Domino API
DanNotes 2013: OpenNTF Domino APIPaul Withers
 

Mais procurados (20)

Let's server your Data
Let's server your DataLet's server your Data
Let's server your Data
 
Js engine performance
Js engine performanceJs engine performance
Js engine performance
 
Salt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native ClientSalt and pepper — native code in the browser Browser using Google native Client
Salt and pepper — native code in the browser Browser using Google native Client
 
Armbian linux
Armbian linuxArmbian linux
Armbian linux
 
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
HTML, CSS & Javascript Architecture (extended version) - Jan KrausHTML, CSS & Javascript Architecture (extended version) - Jan Kraus
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
 
3 Things Everyone Knows About Node JS That You Don't
3 Things Everyone Knows About Node JS That You Don't3 Things Everyone Knows About Node JS That You Don't
3 Things Everyone Knows About Node JS That You Don't
 
Open source and .net
Open source and .netOpen source and .net
Open source and .net
 
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...
 
Internet Archive at Open Video Conference 2009
Internet Archive at Open Video Conference 2009Internet Archive at Open Video Conference 2009
Internet Archive at Open Video Conference 2009
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
 
Mongodb - drupal dev days
Mongodb - drupal dev daysMongodb - drupal dev days
Mongodb - drupal dev days
 
Introducing haXe
Introducing haXeIntroducing haXe
Introducing haXe
 
Introduction to rails
Introduction to railsIntroduction to rails
Introduction to rails
 
Composer Helpdesk
Composer HelpdeskComposer Helpdesk
Composer Helpdesk
 
Fixing Gaps. Strengthening the Chromium platform for content blocking
Fixing Gaps. Strengthening the Chromium platform for content blockingFixing Gaps. Strengthening the Chromium platform for content blocking
Fixing Gaps. Strengthening the Chromium platform for content blocking
 
Develop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGapDevelop, test and debug cross platforms apps with PhoneGap
Develop, test and debug cross platforms apps with PhoneGap
 
Modern web technologies
Modern web technologiesModern web technologies
Modern web technologies
 
Intro to vagrant
Intro to vagrantIntro to vagrant
Intro to vagrant
 
DanNotes 2013: OpenNTF Domino API
DanNotes 2013: OpenNTF Domino APIDanNotes 2013: OpenNTF Domino API
DanNotes 2013: OpenNTF Domino API
 
Node js for beginners
Node js for beginnersNode js for beginners
Node js for beginners
 

Destaque

Modul 10 pembelajaran
Modul 10 pembelajaranModul 10 pembelajaran
Modul 10 pembelajaranHadiw
 
The Metropolitan Museum of Art
The Metropolitan Museum of ArtThe Metropolitan Museum of Art
The Metropolitan Museum of ArtSteven Cantler
 
Red Rock Canyon National Conservation Area (Revisited) - Las Vegas Nevada
Red Rock Canyon National Conservation Area (Revisited) - Las Vegas NevadaRed Rock Canyon National Conservation Area (Revisited) - Las Vegas Nevada
Red Rock Canyon National Conservation Area (Revisited) - Las Vegas NevadaSteven Cantler
 
The Strip - Las Vegas Nevada
The Strip - Las Vegas NevadaThe Strip - Las Vegas Nevada
The Strip - Las Vegas NevadaSteven Cantler
 
Open Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and Design
Open Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and DesignOpen Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and Design
Open Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and DesignGaurav Saxena
 
Ghosts In The Machine Today's Invisible Threats Oct 2009
Ghosts In The Machine Today's Invisible Threats Oct 2009Ghosts In The Machine Today's Invisible Threats Oct 2009
Ghosts In The Machine Today's Invisible Threats Oct 2009Trend Micro
 
Ambergris Caye, Belize
Ambergris Caye, BelizeAmbergris Caye, Belize
Ambergris Caye, BelizeSteven Cantler
 
Grace Cathedral - San Francisco California
Grace Cathedral  - San Francisco CaliforniaGrace Cathedral  - San Francisco California
Grace Cathedral - San Francisco CaliforniaSteven Cantler
 
Hoover Dam - Arizona & Nevada
Hoover Dam - Arizona & NevadaHoover Dam - Arizona & Nevada
Hoover Dam - Arizona & NevadaSteven Cantler
 
Tate Modern Art Museum
Tate Modern Art MuseumTate Modern Art Museum
Tate Modern Art MuseumSteven Cantler
 

Destaque (14)

Amazing Photos
Amazing PhotosAmazing Photos
Amazing Photos
 
Modul 10 pembelajaran
Modul 10 pembelajaranModul 10 pembelajaran
Modul 10 pembelajaran
 
The Metropolitan Museum of Art
The Metropolitan Museum of ArtThe Metropolitan Museum of Art
The Metropolitan Museum of Art
 
Red Rock Canyon National Conservation Area (Revisited) - Las Vegas Nevada
Red Rock Canyon National Conservation Area (Revisited) - Las Vegas NevadaRed Rock Canyon National Conservation Area (Revisited) - Las Vegas Nevada
Red Rock Canyon National Conservation Area (Revisited) - Las Vegas Nevada
 
The Strip - Las Vegas Nevada
The Strip - Las Vegas NevadaThe Strip - Las Vegas Nevada
The Strip - Las Vegas Nevada
 
Xunantunich, Belize
Xunantunich, BelizeXunantunich, Belize
Xunantunich, Belize
 
Open Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and Design
Open Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and DesignOpen Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and Design
Open Source Flash101 Gaurav Saxena For Virginia Marti College of Arts and Design
 
Ghosts In The Machine Today's Invisible Threats Oct 2009
Ghosts In The Machine Today's Invisible Threats Oct 2009Ghosts In The Machine Today's Invisible Threats Oct 2009
Ghosts In The Machine Today's Invisible Threats Oct 2009
 
bash
bashbash
bash
 
Tower of London
Tower of LondonTower of London
Tower of London
 
Ambergris Caye, Belize
Ambergris Caye, BelizeAmbergris Caye, Belize
Ambergris Caye, Belize
 
Grace Cathedral - San Francisco California
Grace Cathedral  - San Francisco CaliforniaGrace Cathedral  - San Francisco California
Grace Cathedral - San Francisco California
 
Hoover Dam - Arizona & Nevada
Hoover Dam - Arizona & NevadaHoover Dam - Arizona & Nevada
Hoover Dam - Arizona & Nevada
 
Tate Modern Art Museum
Tate Modern Art MuseumTate Modern Art Museum
Tate Modern Art Museum
 

Semelhante a Open Source Flash 2010

Apache Flex and the imperfect Web
Apache Flex and the imperfect WebApache Flex and the imperfect Web
Apache Flex and the imperfect Webmasuland
 
IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishBruno Cornec
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...NCCOMMS
 
Django, What is it, Why is it cool?
Django, What is it, Why is it cool?Django, What is it, Why is it cool?
Django, What is it, Why is it cool?Tom Brander
 
Use open source software to develop ideas at work
Use open source software to develop ideas at workUse open source software to develop ideas at work
Use open source software to develop ideas at workSammy Fung
 
A Tour of Open Source on the Mainframe
A Tour of Open Source on the MainframeA Tour of Open Source on the Mainframe
A Tour of Open Source on the MainframeAll Things Open
 
Developing and Testing Cross Compatible Modules with PowerShell Core
Developing and Testing Cross Compatible Modules with PowerShell CoreDeveloping and Testing Cross Compatible Modules with PowerShell Core
Developing and Testing Cross Compatible Modules with PowerShell CoreMark Wragg
 
Screw HTML5, make cool shit with AIR
Screw HTML5, make cool shit with AIRScrew HTML5, make cool shit with AIR
Screw HTML5, make cool shit with AIREric Fickes
 
Minko - Scripting 3D apps with Lua and C++
Minko - Scripting 3D apps with Lua and C++Minko - Scripting 3D apps with Lua and C++
Minko - Scripting 3D apps with Lua and C++Minko3D
 
Once upon a time, there were css, js and server-side rendering
Once upon a time, there were css, js and server-side renderingOnce upon a time, there were css, js and server-side rendering
Once upon a time, there were css, js and server-side renderingAndrea Giannantonio
 
MWLUG - Universal Java
MWLUG  -  Universal JavaMWLUG  -  Universal Java
MWLUG - Universal JavaPhilippe Riand
 
Suse Studio: "How to create a live openSUSE image with OpenFOAM® and CFD tools"
Suse Studio: "How to create a live openSUSE image with  OpenFOAM® and CFD tools"Suse Studio: "How to create a live openSUSE image with  OpenFOAM® and CFD tools"
Suse Studio: "How to create a live openSUSE image with OpenFOAM® and CFD tools"Baltasar Ortega
 
Haxe Toolkit for cross-platform applications development
Haxe Toolkit for cross-platform applications developmentHaxe Toolkit for cross-platform applications development
Haxe Toolkit for cross-platform applications developmentRomuald Halasz
 
Voxxed days Vilnius 2015 - Android Reverse Engineering Lab
Voxxed days Vilnius 2015 - Android Reverse Engineering LabVoxxed days Vilnius 2015 - Android Reverse Engineering Lab
Voxxed days Vilnius 2015 - Android Reverse Engineering LabRon Munitz
 
A Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexA Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexChad Udell
 

Semelhante a Open Source Flash 2010 (20)

Apache Flex and the imperfect Web
Apache Flex and the imperfect WebApache Flex and the imperfect Web
Apache Flex and the imperfect Web
 
IPMI is dead, Long live Redfish
IPMI is dead, Long live RedfishIPMI is dead, Long live Redfish
IPMI is dead, Long live Redfish
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
 
Django, What is it, Why is it cool?
Django, What is it, Why is it cool?Django, What is it, Why is it cool?
Django, What is it, Why is it cool?
 
2016 03 15_biological_databases_part4
2016 03 15_biological_databases_part42016 03 15_biological_databases_part4
2016 03 15_biological_databases_part4
 
Bootstrap4 x pages
Bootstrap4 x pagesBootstrap4 x pages
Bootstrap4 x pages
 
Use open source software to develop ideas at work
Use open source software to develop ideas at workUse open source software to develop ideas at work
Use open source software to develop ideas at work
 
A Tour of Open Source on the Mainframe
A Tour of Open Source on the MainframeA Tour of Open Source on the Mainframe
A Tour of Open Source on the Mainframe
 
Developing and Testing Cross Compatible Modules with PowerShell Core
Developing and Testing Cross Compatible Modules with PowerShell CoreDeveloping and Testing Cross Compatible Modules with PowerShell Core
Developing and Testing Cross Compatible Modules with PowerShell Core
 
Screw HTML5, make cool shit with AIR
Screw HTML5, make cool shit with AIRScrew HTML5, make cool shit with AIR
Screw HTML5, make cool shit with AIR
 
Minko - Scripting 3D apps with Lua and C++
Minko - Scripting 3D apps with Lua and C++Minko - Scripting 3D apps with Lua and C++
Minko - Scripting 3D apps with Lua and C++
 
Echo HTML5
Echo HTML5Echo HTML5
Echo HTML5
 
Once upon a time, there were css, js and server-side rendering
Once upon a time, there were css, js and server-side renderingOnce upon a time, there were css, js and server-side rendering
Once upon a time, there were css, js and server-side rendering
 
MWLUG - Universal Java
MWLUG  -  Universal JavaMWLUG  -  Universal Java
MWLUG - Universal Java
 
Node.js an Exectutive View
Node.js an Exectutive ViewNode.js an Exectutive View
Node.js an Exectutive View
 
Suse Studio: "How to create a live openSUSE image with OpenFOAM® and CFD tools"
Suse Studio: "How to create a live openSUSE image with  OpenFOAM® and CFD tools"Suse Studio: "How to create a live openSUSE image with  OpenFOAM® and CFD tools"
Suse Studio: "How to create a live openSUSE image with OpenFOAM® and CFD tools"
 
Haxe Toolkit for cross-platform applications development
Haxe Toolkit for cross-platform applications developmentHaxe Toolkit for cross-platform applications development
Haxe Toolkit for cross-platform applications development
 
Voxxed days Vilnius 2015 - Android Reverse Engineering Lab
Voxxed days Vilnius 2015 - Android Reverse Engineering LabVoxxed days Vilnius 2015 - Android Reverse Engineering Lab
Voxxed days Vilnius 2015 - Android Reverse Engineering Lab
 
Apache Cordova
Apache CordovaApache Cordova
Apache Cordova
 
A Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexA Brief Intro to Adobe Flex
A Brief Intro to Adobe Flex
 

Último

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

Open Source Flash 2010

  • 1. Open Source Flash 101 'G' Gaurav Narain Saxena Akron Linux User Group January 7, 2010
  • 2. Outline ● Flash ● ActionScript ● Open Source Adobe ● Open Source Flash ● Salasaga ● mtasc ● swfmill ● Swftools ● References
  • 3. Flash ● "Like television for internet users" ● Written in C++ ● Allows you to: – Annotate web page with: ● Animation, adverts, other flash components ● Navigation – RIA ● Streams of video ● Proprietary
  • 4. Flash ● Concepts – Timeline – Stage – Objects – Controls – etc.
  • 6. ActionScript ● Javascript for HTML= ActionScript for Flash ● Scripting language based on ECMAScript ● Extension: .as ● Main points: – Cross platform – Manifested in flash and flex – platforms – Designed by Gary Grossman (1998) – Versions: AS3, AS2
  • 7. ActionScript Example (AS2): HelloWorld.as class HelloWorld extends MovieClip { public function HelloWorld() {} public function onLoad:Void{ var txtHello:TextField = this.createTextField( “txtHello”,0,0,0,100,100); txtHello.text = “Hello, World!”; }// displays 100x100 box with “Hello, World!” in it.
  • 8. Open Source Adobe ● Flex SDK – Cross platform framework; provides compilers, libraries, debugger ● Adobe-Mozilla Tamarin – Open engine for ActionScript 3 ● BladeDS – Server based Java remoting and web messaging technology ● Webkit – Open source browser engine, OSX framework used on apple computers
  • 9. Open Source Adobe ● Text Layout Framework: Typography
  • 10. Open Source Flash ● "Like sourceforge.net for open source flash enthusiasts" ● Collaboration – list: http://osflash.org/mailman/listinfo/ – irc: irc://irc.freenode.org##swf ● Hosts and links to projects related to open source flash development
  • 11. Open Source Flash ● History – May, 2005: Aral Balkan, Sonke Rohde, Nicolas Cannasse (MTASC) “Eureka!” – June, 2005: Number of projects: 10 – January, 2008: Number of projects: 120 – Today: has many more project, a handful of broken links – cool nonetheless
  • 12. Open Source Flash ● Source code used to be shared – Binary .fla files – ActionScript Classes ● 2004: MTASC2 [MotionTwin ActionScript Compiler]released, – kicked off Flash IDE Dev Projects ● Swfmill, Axdt, AMES, FlashDevelop etc. ● Frameworks started appearing: – Arp, Cairngorm, PureMVC ● Developers: – Started embracing these frameworks – Worked in teams – Build scalable solutions – All this independent of Flash IDE or Flex
  • 13. Open Source Flash ● OSFlash.org incubates all these projects collected under one roof ● Doesn't stop ! ● Exciting technologies for Flash Platform are created: – Papervision 3D: 3D Library for Flash – Red5: Open Source server to handle audio, video, and real-time shared objects – SWX: Native data format for Flash platform – Flex3, Flex SDK, Compilers
  • 14. Open Source Flash ● Integrated Development ● Utilities Environment Alternatives ● Flash Applications ● Command line tools, ● Servers and Remoting compilers ● Logging Tools ● Eclipse Plugins ● Debugging tools ● ActionScript libraries ● Documentation Systems ● Frameworks ● Flash Players ● Tweening, Animation and Physics ● SWF Readers ● Unit testing
  • 15. Open Source IDE for creating flash based eLearning (alpha software) ● GPL, developed on Linux ● What can you do: – Create instructional videos – Get a feel for timeline and other Concepts
  • 16. Demo in Firefox (.swf) or here
  • 17. mtasc ● First ActionScript 2 Open Source Compiler ● What you can do: – Compile large .as classes in very short time – Generate .swf without flash – the tool itself! ● Superseded by haXe
  • 18. mtasc ● Example: class Hello { static var app : Hello; function Hello() { _root.createTextField("tf",0,0,0,800,600); // creates a 'tf' TextField size 800x600 at pos 0,0 _root.tf.text = "Hello world !"; // write some text into it } static function main(mc) { // entry point app = new Hello(); } }
  • 19. mtasc ● $ mtasc -swf hello.swf -main -header 800:600:20 hello.as
  • 20. swfmill ● Xml2swf swf2xml processor (can import) ● Generates asset libs for MTASC or haXe ● Built around xslt ● What you can do: – Import images, fonts – Add components – Create movieclips – Place clips on the stage – Create text fields
  • 21. swfmill ● Example.xml: <?xml version="1.0" encoding="iso-8859-1" ?> <movie width="320" height="240" framerate="12"> <background color="#ffffff"/> <frame> <library> <clip id="foo" import="library/foo.jpg"/> </library> </frame> </movie>
  • 22. swfmill ● $ swfmill simple example.xml example.swf
  • 23. swftools ● Collection of utilities to work with .swf's ● Mostly on command line ● Loves to have: – Freetype libraries from freetype.org – Jpeg libraries from ijg.org
  • 24. swftools ● What you can do: ● What you can do: – Pdf2swf – Wav2swf – Swfcombine – Avi2swf – Swfstrings – Font2swf – Swfdump – Swfbbox – Jpeg2swf – Swfc – Png2swf – Swfextract – gif2swf – as3compile
  • 25. swftools Pdf2swf example
  • 26. Take Home ● Flash has 99.99% market share – (nah, just kidding) ● Tools exist that facilitate usage of the flash platform which you can adopt for your application domain: – Sciences – Programming – Sysadmin? (atleast the command line ones)
  • 28. References ● osflash.org ● Adobe flash ● Open Source Adobe ● salasaga.org ● swfmill.org ● mtasc.org ● swftools.org ● ActionScript Wiki ● ActionScript 2 Language Reference