Peter Elst

Flash Platform Consultant
  • Home
  • About me
  • Articles
  • Downloads
  • Contact me

Multimediacollege Afterhours

19 01 2008

I had a great time last night presenting a hands-on session on Adobe AIR API’s at Multimediacollege — thanks to Frederik and the rest of the team for having me over!

The presentation was likely still a bit rough round the edges but people seemed genuinely interested, got some good feedback and will present a more polished version at FITC in Amsterdam next month.

While playing around with the sample code I prepared, we came across some inconsistencies between Mac and PC and things that wouldn’t quite work (its still in beta so you can expect to run across those once in a while).

One of the things that we found is that flash.net.FileFilter on Mac works fine without using a wildcard character but you need it in there to work properly on PC.

var htmlFilter:FileFilter = new FileFilter(”HTML”, “html”);
var htmlFilter:FileFilter = new FileFilter("HTML", "*.html");

The other thing we found was that you can’t addChild Flex components to the stage property a NativeWindow instance (pure AS3, such as a new TextField() still works though). I remember I came across this issue in the previous beta but the solution completely slipped my mind. What you do is use the mx.core.Window class, make a Flex component that extends <mx:Window /> or simply instantiate it directly.

var myWin:Window = new Window();
myWin.type = NativeWindowType.UTILITY;
myWin.width = 400;
myWin.height = 400;
myWin.title = "Adobe AIR is amazing";
myWin.open();

Kristof Neirynck has a a little review of the event on his blog that prompted me to write this entry. I’ve been having a lot of fun playing around with the runtime so should have some more AIR related posts coming up in the next few weeks.

« Announcing Training Solutions FITC Amsterdam 2008 Schedule »



Actions

  • rss Comments rss
  • trackback Trackback

Informations

  • Date : 19 January 2008
  • Categories : AIR, Events, Flex

2 responses to “Multimediacollege Afterhours”

19 01 2008
bart chanet (multimediacollege) (15:43:58) :

Peter it was great to have you over, it was really nice session and everybody had very good reaction on the presentation! Thx a lot!

19 01 2008
AIR afterhours - Kristof Neirynck (20:56:26) :

[...] Peter has remembered how to use mx.core.Window as a a native [...]

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>





Conferences

Flash on the Beach Speaker

Training Partners

multimediacollege

SkillsMatter

  • Categories

    • AIR RSS category feed
    • Ajax RSS category feed
    • CSS RSS category feed
    • Eclipse RSS category feed
    • Events RSS category feed
    • Flash RSS category feed
    • Flash Lite RSS category feed
    • Flex RSS category feed
    • Gadgets RSS category feed
    • General RSS category feed
    • JSFL RSS category feed
    • Mac RSS category feed
    • Open Source RSS category feed
    • PHP RSS category feed
    • Podcasts RSS category feed
    • Publications RSS category feed
    • Rants RSS category feed
    • Reviews RSS category feed
    • Thought of the Day RSS category feed
    • Training RSS category feed
    • Twitter RSS category feed
    • Video RSS category feed
  • Resources

    • AndrĂ© Michelle
    • Burak Kalayci
    • Scott Barnes
    • Sas Jacobs
    • Rich Tretola
    • Robert M. Hall
    • Aral Balkan
    • Branden Hall
    • Stefan Richter
    • Jesse Warden
    • Stephen Downs
    • Keith Peters
    • Francis Bourre
    • Abdul Qabiz
    • Chafic Kazoun
    • LordAlex Leon
    • Jon Williams
    • Richard Leggett
    • Owen van Dijk
    • Simon Barber

     
     

    Adobe Community Expert

    See my profile on LinkedIn



    Harz Ferienwohnung Suchmaschinenoptimierung Geschenkideen Harz Ferienwohnung Pagerank Webkatalog Webhosting