rss twitter

Some basic iOS Deploy tips for FDT5 (AIR 3.2)

I thought of sharing some of the latest stuff I stumbled upon while making a kinda “Papertoss” or “Flick Soccer” clone with FDT5 and iOS, based on Away3D and Adobe AIR 3.2. This is what I’ve got after two evenings now (I’ve got no idea why TwitVid rotated the video source by 90°). Don’t consider it as being finished or something. This is just a very rough proof of concept!

Setting up your ADL
I think it makes a lot sense to set your ADL resolution the same as your device. That means you have to set up a specific SWF size (via meta tags, e.g.) and set up the width&height in your app descriptor. Make sure you’re targeting the app-descriptor in your launch config (=> “Start” tab). Besides I’m used to set the -default-size compiler argument to fit my device size as well. Feels a bit safer to me. I really need to figure out these three params in connection with scaleMode and stuff one day.. However, setting all this makes your ADL pretty much look like the app on your device, so positioning and scaling your objects really become way more realistic while working.

Read the release notes!
They contain crucial stuff you need to know!
Flash Player 11.2 and AIR 3.2 Release Notes (PDF)

Use ipa-test-interpreter with ADL Wifi Debug
What that means is that your application gets packaged way faster than with the standard mode. In comparison: Standard debug packaging: 4min 49sec | Interpreted debug packaging: 13sec.
This allows you to quickly install the app on your device, connect the ADL via WiFi and debug it. However, the performance is awful. From 60fps to 10fps. But as I want to debug stuff it’s not that important. Are you interested more in this topic? Leave me a reply so I may upload a video tutorial on this.

You have to set the -swf-version to 15 in order to make use of AIR 3.2′s stage3D.

renderMode: direct
As with desktop or browser SWFs you now need to set the renderMode to direct for mobiles as well.

Though Away3D has currently a bug considering this, it is highly recommended to set the “depthAndStencil” param to true in your App-Descriptor when working with 3D objects. Besides:

For an AIR 3.2 or later application compiled with SWF version 15 or higher, if the renderMode element in the application descriptor file is direct, then the depthAndStencil element in the application descriptor file must have the same value as this argument.

Be friends and ask
One important thing I’ve realized is that without any help of others, it’s really hard to catch up with all this new stuff. There are just things you cannot know by heart as they’re nowhere documented. So, don’t shy to ask for help on Twitter! Most of us Flash developers are kind persons who are willing to reply :)

Report bugs!
As with every “new” stuff that’s happening.. the developers need your feedback. If you’re experiencing a bug with stage3D in general, go and tell Adobe! They’ve got a bugbase to track things and they need your input in order to fix it. The same for any engine you’re using. I’m familiar with Away3D and as it’s all shiny and new, many things don’t work as expected. Tell them so they can check&fix it: Away3D Issues on GitHub.

Hang on!
It’s all getting better. I’ve started more than a year ago with mobile development and Adobe AIR. More than 20 Sprites on stage was unthinkable these days ago. And see where we are today :)

48 Responses to “Some basic iOS Deploy tips for FDT5 (AIR 3.2)”

  1. Nice one, please keep this coming.
    I’ve been porting an App from AIR 2.6 to 3.2 and the performance is stunning, but debugging release (specially over Wifi) is really slow. (and I’ve spent some hours to find out about that)

  2. tomph says:

    Hey Marvin,

    Thanks for the info. I’m constantly bouncing between the air pre-release, starling and regular air forums looking for answers. I generally find it easier just to tweet instead!

    One thing to mention is that ‘depthAndStencil’ should only be enabled with 3D content (such as Away3D). 2D GPU accelerated engines (such as Starling) do not need it.

    I’m hoping that the IPA packager gets a bit quicker as it sometimes takes ages! Weirdly, if I use Nape with Starling, it takes about 10 minutes! :–[

  3. Marvin Blase says:

    True words from both of you. :) I’m gonna update the article above @depthAndStencil.

    @tomph: what air-prelease are you referring to?

  4. [...] Air 3.2 Fp11 p6 Release Notes Some Basic IOS Deploy Tips [...]

  5. tomph says:


    I was talking about the Pre-Release forums. If you’re not on there already, I would recommend you ask Thibault for an invite. You get to try out all the new stuff before anyone else :)

  6. Marvin Blase says:

    I’m in the prereleases and used the 3.2 beta for some months already.But as it’s now published as RC everyone can go for these awesome features :)

  7. [...] 来源页面: [...]

  8. [...] 来源页面: [...]

  9. Timbo says:

    Hi Marvin,

    Can you explain a bit more how to debug using wifi? Connect ADL via wifi?

    Thanks man!

  10. Marvin Blase says:

    as said (in a different article) I’m going to start a multipart-video-series soon which covers every step in detail. From setting up assets to debugging and pushing to stores. So stay tuned :)

  11. Timbo says:

    Great news! Just found out about monster debugger, works easy.

  12. james says:

    Thanks for this and your other post, they were a big help.

    I have a question regarding the ‘Setting up ADL’ comment. I’ve created a couple of apps in FB 4.6 and when you set up a run configuration the wizard looks similar to FDT. You have the ‘Main’ tab and you can select ‘On desktop’ to run ADL or ‘On device’ to create the ipa.

    In FB 4.6 if i select ‘On desktop’ then it just runs the ADL. But for me in FDT 5, if i select ‘On desktop’ i i get this error,

    DVFreeThread – CFMachPortCreateWithPort hack = 0x45ddc0, fPowerNotifyPort= 0x45d280
    DVFreeThread – CFMachPortCreateWithPort hack = 0x26793c0, fPowerNotifyPort= 0×2694500
    DVFreeThread – CFMachPortCreateWithPort hack = 0×184340, fPowerNotifyPort= 0x1810b0
    application descriptor not found

    The things is, there’s also no ‘Start’ tab in the wizard for an ‘FDT Mobile Application’? So i can’t actually select it? Do i need to set up a seperate ‘FDT SWF Application’ in order to test the app in the ADL?


  13. james says:

    ok, it appears to be caused by this issue,

  14. muscle meal says:

    I must say, as a great deal as I enjoyed reading what you had to say, I couldnt help but
    shed interest right after a even though. Its as in case you had a
    great grasp on the topic matter, but you forgot
    to consist of your readers. Maybe you ought to consider this from far
    more than 1 angle. Or perhaps you shouldnt generalise
    so considerably. Its far better in case you consider what others may
    have to say instead of just going for a gut reaction towards the topic.
    Think about adjusting your own believed procedure and giving others who may
    possibly read this the benefit of the doubt.

  15. First of all, you can still continue to use moisturizer.

    This looks like one of the most important breakthroughs in
    anti-aging supplements of our time, however the downside is that
    it is relatively expensive. H-EQ10 works in a synergistic way
    with natural vitamin E, another antioxidant.

  16. [...] Air 3.2 Fp11 p6 Release Notes Some Basic IOS Deploy Tips [...]

  17. Lanora says:

    Not only are the costs lower with blogs, but the results are much more successful.

    considering that I decimate Colorado with a bioengineered disease, it is a Christmas story.

  18. Kia says:

    This info is priceless. Whre can Ifind ouut more?

    Check out my blog … home remodeling safety tips (Kia)

  19. Julio says:

    Thiѕ is a topic that’s near to my heart… Thank ƴoս!
    Exɑctly where are your contact details thoսgh?

  20. spy gear inc says:

    Hey! This post could not be written any better!
    Reading through this post reminds me of my good old room mate!
    He always kept chatting about this. I will
    forward this post to him. Fairly certain he will have a good read.
    Many thanks for sharing!

  21. In the beginning, covert surveillance cameras were used
    by the agencies what have primary purpose around the world, similar to the character of
    James Bond scenarios. Additionally, many surveillance pinhole cameras (these units are very small) will advertise the number
    of the lines of horizontal definition as a way to assure
    a person considering getting one that they’re able to see very
    clearly. these cameras are used inside your home and outdoors.

  22. says:

    Thanks for the good writeup. It if truth be told was once a leisure account it.
    Look complex to far brought agreeable from you! By the way,
    how can we keep in touch?

  23. If you would like to obtain a great deal from this post then you have to
    apply such techniques to your won weblog.

  24. I got this web page from my friend who informed me concerning
    this web site and at the moment this time I am browsing this site and reading very informative articles at this place.

  25. reddit says:

    Can I simply say what a comfort to discover somebody that truly knows what they’re discussing over
    the internet. You definitely realize how to bring an issue to light and make it important.
    A lot more people ought to check this out and understand this side of
    your story. I was surprised that you are not more popular
    because you surely possess the gift.

  26. Corina says:

    Consequently, estimations performed at different establishments show that such standard deviations are essentially reachable under apparently inconceivable natural conditions, when due consideration is given to the estimation process.

    When it comes to finding the right transmission specialist,
    however, it might seem difficult to know if he or she is giving you a
    run for your money or not. You would like to make sure everyone, the
    patient and also the parents, have an excellent level of comfort
    with the entire staff and suggested treatment.

  27. regula rx says:

    Thank you for the good writeup. It in truth was a enjoyment account it.
    Glance complicated to far added agreeable from you! By the way, how could we

  28. Now I am going to do my breakfast, later than having my breakfast
    coming over again to read additional news.

  29. TEST says:

    I am genuinely grateful to the holder of this web site who has shared this impressive article
    at at this place.

  30. To be sure, it is still wise to get escort hiring services
    from escort girl agencies. If you intend to employ any escorts or escort agencies, you could take support of
    the escort directory site. Infidelity is definitely an emotional
    subject that’s best dealt with through communication.

  31. Hi there, this weekend is pleasant for me, because this occasion i am reading this wonderful educational post here at my home.

  32. says:

    Thanks for your marvelous posting! I truly enjoyed reading
    it, you’re a great author.I will remember to bookmark your blog
    and may come back someday. I want to encourage you to definitely continue your great
    posts, have a nice day!

  33. It’s an awesome paragraph for all the online viewers; they will get benefit from
    it I am sure.

  34. If you feel the person would be classified as a Walmart shopper” then chances are great it operates.
    Funny searching folks, crazy outfits, the creepiest
    of the creepy, and the ugliest of the ugly will do. Even so,
    we do not wish to poke fun at folks who, by means of no fault of their personal, are handicapped.

  35. I don’t know whether it’s just me or if perhaps everybody else encountering problems
    with your website. It looks like some of the written text on your content are running off the screen. Can someone else please provide feedback and let me know if this is
    happening to them as well? This might be a problem with my web
    browser because I’ve had this happen before. Thanks

    my weblog bussines cards

  36. The best thing with these hack tools is always that once you make use of them to hack a snapchat Leak account in order to download photos, the quality of the pictures on the account depends on the quality of the photos the user got or has been sent to an individual.
    The Secret To Capture His Heart Is By Becoming A Real Woman. Before announcing its plans to update the app, Snapchat stayed silent.

  37. There is still a long way for us to go and do not
    start real trading. We are trading based on math’ consider blackjack in a casino.

    The fundamental point associated with view, on the some other hand, implies that it is possible to apply entirely different methods like a
    long or short expression trader.

  38. Wow, that’s what I was searching for, what a stuff! present
    here at this webpage, thanks admin of this web site.

  39. Groff lives in the army, in my view, was always going
    to give the interesting consequences that follow are calibrated roughly to one of those with courage and humility.
    She remembers wistfully the days following the massacre of defenceless women and children. A decade after decade.

  40. program Diet says:

    Thiss iece of writinhg ցives clear
    idea in support of thе new
    ᥙsers oof blogging, tһɑt really Һow
    tto ɗо blogging.

    Silahkn Cek websiite Saya drmi mendapat Data lebih lengkap mengenai program Diet .


  41. Tremendous things һere. Ӏ am νery
    gkad tο seee ʏⲟur post. Thank ʏоu ѕо mch аnd ӏ’m
    taking а looik forward tо touch уοu.

    Will yօu ρlease dro mme а e-mail?

    Jangzn lupa untuk Kunjungi web Ane emi dapatkan Fakta lebih lengkap laagi mengenai data hongkong .
    Thanks ya

  42. Thanks on your marvelous posting! I certainly enjoyed reading it, you’re a great author.

    I will make certain to bookmark your blog and will often come back at some point.
    I want to encourage that you continue your great job, have a nice weekend!

  43. Thanks with regard to offering many of these awesome write-up

  44. You have got one of the best sites

  45. buy csgo says:

    Amazing internet site you’ve gotten right here

  46. If you are going for best contents like me, simply pay a visit
    this site all the time for the reason that it gives quality
    contents, thanks

  47. LexieNBrents says:

    Thanks for that marvelous posting! I genuinely enjoyed reading it, you
    might be a great author.I will ensure that you bookmark
    your blog and will often keep coming back
    from now on. I want to encourage anyone to continue your great
    job, possess a nice weekend!

    my web-site LexieNBrents

  48. Sinceramente, não tem como comparar quilate dos produtos do exterior com os produtos nacionais.

Leave a Reply

Powered by WordPress | Free T-Mobile Phones for Sale | Thanks to Palm Pre Blog, Video Game Music and Get Six Pack Abs