by Christian Cantrell

 Comments (17)

Created

August 10, 2011

The AIR 3 runtime has been out in beta for some time, and now the AIR 3 SDK is available, as well. If you’re interested in checking it out, you can find it over on Adobe Labs.

If you’ve downloaded the SDK and want to give it a try, you’ll need to know how to set it up. There are really only two things you need to know:

  1. How to overlay the SDK. Although these instructions are a little old, I just reviewed them, and they’re still valid. Of course, SDK versions are different now, but in general, the instructions are still accurate.
  2. How to access the new AIR 3 APIs. Once you have the AIR 3 SDK properly overlaid, you’ll need to make one simple change in Flash Builder in order to be able to access the new APIs. Once you’ve created a new project and selected the correct SDK (the one you just created), you need to go to "Project Properties," then "Flex Compiler." In the "Additional compiler arguments" box, add "-swf-version=13". 13 is the SWF version that corresponds to AIR 3, so you need to tell the runtime what version of the APIs you want to use.

That’s about all you need to do to get started building AIR 3 (beta) applications.

COMMENTS

  • By jkafkaris - 2:42 AM on August 11, 2011   Reply

    Hi Christian – I’ve followed all the steps but not seeing any instances of StageVideo when building a Desktop app… should I be?

    • By Christian Cantrell - 3:44 AM on August 11, 2011   Reply

      StageVideo is mobile and AIR for TV only.

      • By jkafkaris - 5:14 AM on August 11, 2011   Reply

        Will it ever make it to desktop?

        • By Christian Cantrell - 5:19 PM on August 11, 2011   Reply

          A desktop implementation of StageVideo is something we’re looking at very carefully. I think we all want to see it happen.

  • By Jon - 4:04 PM on August 12, 2011   Reply

    Christian,

    any pointers on how to use the native extensions? I’ve read the old Adobe TV .pdf, but can’t quite figure out how the ANE packaging works…

    Cheers, – Jon -

  • By criss - 4:05 PM on August 12, 2011   Reply

    post beta documentation zip

  • By Gabe - 6:31 AM on August 17, 2011   Reply

    Do you have instructions for how to use the Air 3 Beta SDK with Flash Professional?

    • By Alex Yamane - 1:01 PM on September 19, 2011   Reply

      hi Gabe, did you ever figure this out? Is it just like how to overlay Air 2.7 SDK into a /AIR26 folder under CS55? (and update those files in the /player dir to “13″ instead of “12″?) thanks in advance,
      Alex

  • By theguaz - 6:12 PM on August 23, 2011   Reply

    I’ve tried to make an exampe of stageVideo on iOS, based on a functional example i did and it’s working on web (http://www.theguaz.com/stage-video/bin/) and when i run it on my Ipad it crashes.

    no clue on what could be happening there.?

    - theguaz -

  • By Magnus Morris - 7:00 AM on August 27, 2011   Reply

    thanks Christian.
    a note: if you have other additional parameters then place a space at the end of those and then paste “-swf-version=13″ after the space.

  • By theguaz - 9:24 PM on September 13, 2011   Reply

    @all
    Finally a success!
    With the new beta release candidate i finally could do a decent demo.

    usage: http://vimeo.com/29010840

    source: http://www.theguaz.com/stage-video/source.zip

    thank’s adobe.

  • By Arthy - 9:37 AM on September 17, 2011   Reply

    Hello,
    I configured my eclipse + fdt4 to target the latest AIR3 RC1 sdk and flex sdk 4.5.1, i can trace that the runtime on ipad2+android tablet is 3.0.0.3380 but the stagevideo is still unavailable….

    I don’t know where to dig, everything seems ok (target-player = 11, swf-version=13, app-xml decsriptor is 3.0…)

    As i said, i can compile, trace and check that runtime is the AIR3 beta, so where did i miss something ?

  • By Arthy - 8:56 AM on September 20, 2011   Reply

    Ok, i managed in displaying my video in stagevideo (rendermode=direct, playing video in accelerated mode), but performance are very bad (only video + 3 transparent clips for debug -> fps drops down to 18/31 and video is not fluent). Maybe my video encoding is not good (even if followed adobe recommendations on article http://www.adobe.com/devnet/devices/articles/video_content_tv.html.

    Do someone has a decent result to show are share ?

  • By MSFX - 11:50 AM on November 11, 2011   Reply

    What about using AIR3.1 – does the swf version need to be changed again?

  • By Alex - 5:19 PM on November 11, 2011   Reply

    is it possible to use “swf-version=13″ parameter with flex 3.6 SDK?
    I am getting command line: Error: unknown configuration variable ‘swf-version’

  • By john - 11:07 AM on November 27, 2011   Reply

    I have EXACTLY the same problem as Alex says.
    I want to try to use the “swf-version=13″ parameter for my old Flex 3.6.0 project (I have changed the playergobals.swc). I get the same “Error: unknown configuration variable ‘swf-version’”, I hope i dont have to change the SDK to 4.5.1 in order to be able to load swfs created using molehill…My company cant invest money and time to port our HUGE project for 4.5.1 SDK, please any ideas??

  • By theguaz - 6:06 PM on November 28, 2011   Reply

    the stageVideo class is only for iOS and TV right ?
    Does it work on Android devices??

ADD A COMMENT