Doug McCune - Using Open Source Flex and ActionScript Projects

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

3 comments

Comments 1 - 3 of 3 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

5 Favorites

Doug McCune - Using Open Source Flex and ActionScript Projects - Presentation Transcript

  1. Riding Coattails to the Top Using Open Source Flex/ActionScript Projects by Doug McCune at CFUnited 2009
  2. Hi, my name is Doug • I work for Universal Mind • I write code for SpatialKey • I co-authored Flex for Dummies • I used to blog a lot • I wrote many of the FlexLib components • I like cool shit
  3. I’ll be your curator today Image from Flickr by trayser http://www.flickr.com/photos/trayser/26078225/
  4. Outline • Overview and getting set up • What’s out there? • Deeper dive: • Adobe OSMF (demo) • Axiis (demo) • Mapping • Sound Vision (demo) • Computer • QA/Discussion
  5. Finding Projects • Google Code Hosting • http://code.google.com/hosting/ • Tour de Flex • http://www.adobe.com/devnet/flex/tourdeflex/ • RIAForge • http://www.riaforge.org • Blogs, Blogs, Blogs
  6. How Many? • How many projects are we talking about? • Tour de Flex: 55 open source samples • Google Code Hosting (aka “The Motherload”): Search Term # of Projects Feb 2008 August 2007 as3 1,562 240 88 actionscript 3 455 91 adobe flex 258 103 flex 2,640 258 141
  7. Q: What’s your favorite Eclipse plugin?
  8. Q: What’s your favorite Eclipse plugin? A: Subclipse!
  9. SVN in FlexBuilder • Install Subclipse • Add SVN repository • Checkout source as Flex Library Project • Build SWC • Add to your build path
  10. Open Source Licenses 101 • Disclaimer: This is my uninformed personal opinion • Good: MIT, New BSD, Apache • Bad: GPL • I don’t know: LGPL, BSD, Creative Commons
  11. What do you want? • APIs • Sound Processing • Components • Binary file loading • 3D • 2D Graphics • Physics • Mapping • Animation • Data visualization • Data processing • Application Frameworks
  12. AS3 or Flex? 3D Tweening File IO AS3 Physics Sound Image Processing Flex Components Frameworks Axiis Graphics Degrafa FlexLib Cairngorm Mate
  13. What’s the Hot Shit? • Computer vision • Dependency injection frameworks Facial Detection (Marilena, deface), Augmented Reality Mate, Swiz (FLARToolit) • 3D Physics • Sound generation/ JigLibFlash manipulation StandingWave 2, AudioPhile • Adobe’s Projects • Data visualization Open Source Media Framework (OSMF), Text Axiis Layout Engine (TLF)
  14. What am I demoing? • Computer vision • Dependency injection frameworks Facial Detection (Marilena, deface), Augmented Reality Mate, Swiz (FLARToolit) • 3D Physics • Sound generation/ JibLibFlash manipulation StandingWave 2, AudioPhile • Adobe’s Projects • Data visualization Open Source Media Framework (OSMF), Text Axiis Layout Engine (TLF)
  15. Adobe OS Projects • Open Source Media Framework (formerly Strobe) • http://opensource.adobe.com/wiki/display/osmf/Open+Source+Media+Framework • Text Layout Engine • http://labs.adobe.com/technologies/textlayout/ • Blaze DS • http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
  16. Open Source Media Framework • Adobe’s attempt to consolidate “media players” • Not just video players: can handle sound, images, any media • AS3 (no Flex required, but Flex samples) • You create “compositions” to define the playback • It’s 100% “trait-based” • This can be a bit of a mind fuck
  17. Trait-based Composition addTrait(MediaTraitType.VIEWABLE, viewableTrait); addTrait(MediaTraitType.SPATIAL, spatialTrait); addTrait(MediaTraitType.TEMPORAL, temporalTrait); addTrait(MediaTraitType.PLAYABLE, playable); addTrait(MediaTraitType.PAUSIBLE, pausible); addTrait(MediaTraitType.SEEKABLE, seekable);
  18. Trait-based Composition playable = new PlayableTrait(); playable.addEventListener(PlayingChangeEvent.PLAYING_CHANGE, playingChangeHandler); ... private function playingChangeHandler(event:PlayingChangeEvent):void { if (event.playing && pausible.paused) { pausible.resetPaused(); } if(event.playing) { if(temporalTrait.position == temporalTrait.duration) { temporalTrait.position = 0; } timerStartPosition = temporalTrait.position; timerStartTime = getTimer(); playTimer.start(); } else { playTimer.stop(); } }
  19. OSMF + flexlingo Example
  20. Axiis • Data visualization framework based on Degrafa • Flexible for custom chart types and renderings • www.axiis.org
  21. Axiis vs Flex Charts • Flex charting is based on item renderers (cloned unique UIComponent instances) • If you work with Flex Lists or DataGrids with item renderers then you understand this • tons of work done for you (sometimes too much) • Axiis is based on repeated recycled geometry renderers • This can be a bit of a mind fuck • You are in charge of all rendering
  22. Axiis + TwitPic Example • Axiis • http://axiis.org • Tweetr • http://code.google.com/p/tweetr/
  23. Mapping • Modest Maps • http://modestmaps.com/ • Mercator library • http://dev.dschini.org/mercator-swc/ • SHP file parser • http://code.google.com/p/vanrijkom-flashlibs/
  24. Sound • StandingWave2 • created by Joe Berkovitz, used by NoteFlight • http://code.google.com/p/standingwave/ • AudioPhile and AudioVision • created by Ben Stucki, used by AudioSpike • http://code.google.com/p/audiophile/
  25. Computer Vision • Facial tracking • Marilena (part of Spark project) • deface • Augmented Reality - FLARToolkit • Multitouch - NUIGroup Community Core Vision
  26. Safe Sexting Demo
  27. Keeping up is hard • This is an active, time consuming activity • Staying up to date means: • reading more blog posts than is healthy • using lots of broken/indecipherable code • often no documentation
  28. Why Bother? • You are forced to stay current in your industry • You exercise your brain and creativity • You can’t use the tools you don’t know about • Getting involved = making friends = getting favors
  29. Thanks! Q/A time! • Email: doug@dougmccune.com • Blog: http://www.dougmccune.com

+ dougmccunedougmccune, 3 months ago

custom

1829 views, 5 favs, 4 embeds more stats

Presentation given at CFUnited 2009

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1829
    • 447 on SlideShare
    • 1382 from embeds
  • Comments 3
  • Favorites 5
  • Downloads 14
Most viewed embeds
  • 1379 views on http://dougmccune.com
  • 1 views on http://translate.googleusercontent.com
  • 1 views on http://74.125.77.132
  • 1 views on applewebdata://786D92AD-FE3D-4185-A7F5-E53071199BB2

more

All embeds
  • 1379 views on http://dougmccune.com
  • 1 views on http://translate.googleusercontent.com
  • 1 views on http://74.125.77.132
  • 1 views on applewebdata://786D92AD-FE3D-4185-A7F5-E53071199BB2

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories