HTML AIR apps.. use XHTML and Doctypes?

I was just wondering, as I'm looking through the documentation on how to create an AIR application using HTML, and the example shows html without a doctype declaration or xhtml syntax.
I'm just curious if xhtml and doctype should be used or if it even makes a difference.
I'm assuming that either way, once I get the layout to look the way I want it to, that visually after it's compiled it won't change since the runtime is the same on all operating systems?

Updated my os
Brand new Mac ... what exactly needed updating?
Which OS X is installed?
Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
The version is noted there.

Similar Messages

  • I have created an iPhone app using xCode and am now ready to publish it. Do I have to sign up to the $99/yr program in order to get a certificate?

    I have created an iPhone app using xCode and am now ready to publish it. Do I have to sign up to the $99/yr program in order to get a certificate? I keep getting the error message: CodeSign Error: code signing is required...although the app tests fine on the simulator. Does this mean that I need to pay the $99 to create the app or do you only need to pay if you want it published on iTunes?
    Any advice will be gratefully received.

    App Store Resource Center - Apple Developer

  • Kind Chef mobile app, used Starling and Adobe AIR

    Hi everyone,
    Recently we were busily working on an idea called "KindChef" which is a system that helps restaurants and we as customers.
    We have started a campaign for it on Indiegogo site, which is a crowdfunding site backed by Google as some of you may have heard about it, so that we can find the ones who are interested in the idea and can back us and contribute to it to help us make it happen...
    here is the campaign link: http://igg.me/at/kindchef/x/5769968
    We have developed a MVP (Minimum viable product) mobile app for it, using Starling and Adobe AIR. But it's not the end product and is not so optimized yet. It's just a sample app to show how the system works, but yet so many other features will be added to it's release version as we have discussed on the campaign page.
    We're also going to develop a control panel for restaurants too to manage their restaurant better. we're also going to develop a desktop app for them using Adobe AIR.
    Honestly, there are two reasons why I am talking about it here:
    1) the  Web developer’s perks, which provides AS3 programmers with many useful designs and OOP code snippets that we have used while developing the project and can help you a lot on your projects.
    Also we are giving away all of the Adobe AIR Native Extensions that have been used inside of the project.
    2) the second reason is to spread the word. Because sharing a campaign is a really important thing as Indiegogo counts this as a positive point for the campaigns, so if you just share it you have helped us a lot in our way,  or you may also contribute to it
    Please visit the link above and find more information about it for yourself.
    The most important way that you can help us, is by sharing the campaign link with your friends.
    Please feel free to ask any questions about the whole idea and system or the app.
    Best,
    MyFlashlab team.

    http://www.google.com/tv/spotlight-gallery.html

  • Android Air App using AdMob "NULL Object" Error?!?

    Hi,
    I am currently developing an app using adobe air flashbuilder and I have incorporated AdMob type html adverts into it. The Adverts do come up nicely however if I run the app in debug mode I get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at model::AdMob/createAd()[C:\Users\Jack\Documents\Dropbox\Projects\App\App Final\src\model\AdMob.as:37]
    The Ads do still work regardless of this however this is then affecting other elements within the app so I would like to get rid of the error that is happening. Below is my code in the "AdMob.as" file where I believe the issue to be occuring, can someone please help me with this?
    package model
        import flash.display.Stage;
        import flash.events.Event;
        import flash.events.LocationChangeEvent;
        import flash.events.MouseEvent;
        import flash.geom.Rectangle;
        import flash.media.StageWebView;
        import flash.net.URLRequest;
        import flash.net.navigateToURL;
        public class AdMob
            // setup variables
            private var _stageWebView:StageWebView;
            private var myAdvertURL:String = "http://www.test.co.uk/AdMob/test.html";
            //private var myAdvertURL:String;
            private var adWidth:Number=480;
            private var adHeight:Number=85;
            private var stage:Stage;
            public function AdMob(adURL:String,_stage:Stage)
                myAdvertURL=adURL;
                stage=_stage;
                createAd();
            public function createAd():void {
                // check that _stageWebView doersn't exist
                if (! _stageWebView) {
                    _stageWebView = new StageWebView () ;
                    // set the size of the html 'window'
                    _stageWebView.viewPort = new Rectangle(0,stage.stageHeight-adHeight, 800, adHeight);
                    //_stageWebView.viewPort = new Rectangle((stage.stageWidth-adWidth)/2,stage.stageHeight-adHeight,adWidth,adHeight);
                    // add a listener for when the content of the StageWebView changes
                    _stageWebView.addEventListener(LocationChangeEvent.LOCATION_CHANGE,onLocationChange);
                    //add a listener for when the ad is loaded
                    _stageWebView.addEventListener(Event.COMPLETE,onComplete);
                    // start loading the URL;
                    _stageWebView.loadURL(myAdvertURL);
                // show the ad by setting it's stage property;
                //showAd();
            public function destroyAd():void {
                // check that the instace of StageWebView exists
                if (_stageWebView) {
                    trace("removing advert");
                    // destroys the ad
                    _stageWebView.stage = null;
                    _stageWebView = null;
            public function toggleAd():void {
                trace("toggling advert",_stageWebView);
                // check that StageWebView instance exists
                if (_stageWebView) {
                    trace("_stageWebView.stage:"+_stageWebView.stage);
                    if (_stageWebView.stage == null) {
                        //show the ad by setting the stage parameter
                        _stageWebView.stage = stage;
                    } else {
                        // hide the ad by nulling the stage parameter
                        _stageWebView.stage = null;
                } else {
                    // ad StageWebView doesn't exist - show create it
                    createAd();
            public function onLocationChange(event:LocationChangeEvent):void {
                // check that it's not our ad URL loading
                if (_stageWebView.location != myAdvertURL) {
                    // destroy the ad as the user has kindly clicked on my ad
                    destroyAd();
                    // Launch a normal browser window with the captured  URL;
                    navigateToURL( new URLRequest( event.location ) );
            public function onComplete(event:Event):void{
                //add the ad when it is loaded. If not it will apear a white rectangle until the load is complete.
                showAd();
            public function updateAd(adURL:String=null):void{
                if (adURL!=null){
                    myAdvertURL = adURL;
                destroyAd();
                createAd();
            public function showAd():void{
                if (_stageWebView)
                    _stageWebView.stage = stage;
            public function hideAd():void{
                if (_stageWebView)
                    _stageWebView.stage = null;

    @zhenya1919 - since you're currently going through this, could you please open a new bug report on this over at https://bugbase.adobe.com?  When adding the bug, please include some sample code or a sample application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others effected can add their comments and votes.
    Thanks,
    Chris

  • Show an ico file in an HTML Air app

    Hi,
    I have an air app, of the HTML variety, and I'd like to be
    able to show .ico files in it.
    In Safari/Webkit you can do this:
    <img src="
    http://somedomain.com/favicon.ico"
    width="16" height="16" />
    But it doesn't work in Air.
    I've seen this Flex app that can render ico files:
    http://flexlib.googlecode.com/svn/trunk/examples/IconLoader/IconLoader_Sample.swf
    Using the IconLoader custom Flex Component:
    http://code.google.com/p/flexlib/wiki/ComponentList
    Is there a similar workaround that anyone knows?
    Thanks in advance

    The icon loading code you reference is ActionScript, so you
    could convert it into a utility for turning icons into png files --
    along with a PNG encoder, of course -- which is also available in
    an AS library on Google code. (You can load a SWF utility into a
    page using the script tag.) You could then load the converted png
    file for display.
    ASFAIK, the only way to bridge the image gap between
    ActionScript and JavaScript is through the HTML clipboard, and that
    requires a user-generated paste event before you can access
    it.

  • How to read http cookies from adobe desktop Air app using flex/flash builder in AS 3.0 ??

    Im developing Adobe desktop air app where i need to read the session id from the cookie of a http request.
    I have found a property called URLRequest.manageCookies supported by AIR so i Hope there should be a way to read the cookies as well. Im Using Flash Builder 4.5
    Please provide any reference code or guide me for this research;
    searched a lot regarding on this web.
    Most results lead to local shared object or reading cookies fr a webpage using javascript and ExternalInterface.
    I want to read http cookies not Local shared Object and in a desktop AIR application.
    Im using Flash builder 4.5
    Thanks
    Hari

    Sorry, but you are at the wrong forum; this one is only for discussions on the forums themselves. The Air forums are here:
    http://forums.adobe.com/community/air

  • AIR apps using Stratus - protecting developer key

    How do we deploy an AIR app that uses Stratus and protect our developer key, since AIR is not encrypted?

    Except that the "somehow" is really not going to happen, because the code can be decompiled, and Adobe has not provided any way to keep some protected data on the client side OR even uniquely identify a particular instance of an AIR app. Unless I am wrong and someone can explain how...

  • Installing Adobe AIR Apps using Microsoft SMS

    I am a developer working on an AIR application which will be
    pushed out using Microsoft's SMS. According to Adobe's "AIR Admin
    Guide" documentation, it is possible to "Silently install the Adobe
    AIR runtime using tools such as Microsoft SMS, IBM Tivoli, or any
    deployment tool that allows silent installations that use a
    bootstrapper". The IT admin overseeing the installation says that
    he has examined SMS 2003 and SES 2007 and there are only options
    for MSI’s and EXE. How can .AIR applications be pushed out
    for installation through SMS?
    Thanks!

    Via an .exe that we provide when you sign for a
    redistribution license. (The license is free but required for this
    scenario.) See
    http://www.adobe.com/products/air/runtime_distribution1.html

  • Font licensing for Air apps for iOS and Android

    Hi all,
    I'm trying to shift into the app design world after leaving academia and I'm currently working on a couple of 'portfolio' apps for some friends of mine. One thing I'm completely confused upon is Font Licensing and I'm really hoping someone can clear this up for me. From what I've seen on the net, it seems that a lot of people just use fonts and don't bother with any licensing. I've always thought that if the font is there to choose from in Flash/Photoshop etc then you can use it for whatever you want without concern - but I've never released anything to the 'public'. This doesn't seem to be the case though and from what I've seen, Font sellers expect thousands per year to use their fonts. Do all of those developers of free or low cost apps on the app store really pay tens of thousands of dollars each year for font licenses? How can they afford to?
    I just want to use some nice looking fonts for some things and as a newbie to the app development world, I can't afford to pay crazy amounts for fonts. How should I limit my font choice and how do I know which fonts I can use? Also, I got an email recently about 'Adobe Typekit' soon being included in my Adobe CC subscription with access to thousands of fonts. What does this mean? There are loads of fonts on the Typekit website, does my CC subscription mean I can use any of those fonts to my heart's content or is it just some syncing thing?
    I'd really appreciate some info on this as I'm completely confused and any discussions I've found about font licenses seem to be by people who either don't give a crap and use whatever fonts they find without paying a dime or people that have been using paid fonts for decades and 'just know' how everything works and so don't talk about it.

    you can use any legally obtained adobe fonts for your commercial apps and you do not need a royalty or licensing fee.
    with typekit fonts, you are restricted to using them only while your subscription continues.

  • HT201301 Hi , I want to acces the documents of one of my apps using Itunes, and when I plug in the Ipad , it proposes me to initialize my Ipad ?

    Hi , I want to acces the documents of one of my apps using Itunes.
    I maintain several Ipas and usualy I have acces to the documents.
    This time, with this Ipad, I have a scrren offering me to re-install the Ipad or create a new one .
    I only want to access documents.........I do not want to reinitialize the Ipad.
    can someone help me ?
    Regards,

    I don't recommend you switch to manual management as it is more work for a worse outcome. Play counts and ratings will no longer sync in both directions for example, and should you need to restore the device you will need to work out what has to be synced to it again. The whole point is that if you are syncing the device with selected playlists all management of what does and does not go on to the device can be done in iTunes, whether the device is connected at the time or not. Edit the playlists that you sync to the device, connect it, sync, and you're done. Since you have no need to micro-manage the content directly on the device when it is in sync mode, iTunes doesn't let you.
    tt2

  • Macbook air apps are damage and cant use

    i bought my macbook air last monday july 14 2014 and i updated my os successfully but the apps are not working it says "iMovie is damage download it from the purchase page" "delete it and download it again" i tried it many times but it wont work this is my first apple laptop and im disappointed apple.

    Updated my os
    Brand new Mac ... what exactly needed updating?
    Which OS X is installed?
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.

  • CS6 new HTML 5 document uses XHTML DTD - WTF?

    We are suffering some serious weirdness.
    I am on Win7 with CS6 and my colleague is on OSX with CS6.
    We both do file, new, blank page, none, doctype html5
    I get a correct basic html5 page, he gets the XHTML DTD & extra stuff.
    We both have fresh installs, WTF is going on?

    I'm thinking a bad install or maybe bad permissions prevented some files from being installed. You could try re-creating the configuration folder: http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html# main_user_config .  Another thing to consider is if you are using the same version of DW.  Just because you both have CS6 does not mean you are using the same version and the difference could be causing the error or an unknown bug.  The two versions out there are the traditional boxed/download license where you own the product and can buy upgrades and the other is the Cloud license which is operating on a different version.

  • Flash-Air-App for iOS and Apples new App Store guideline (XCode 5)

    Hi Forum,
    i'm using Flash CC for the development of an iOS App (AIR).
    Now Apple will soon update the iOS to 7.1 and Apple says, that from 1st of Feb. 2014 you can only publish iOS-Apps created in XCode 5 in App Store.
    Or how do I have to read this statment from Apple: "Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK."
    How does this fact affect my Project?
    Will it still be possible to publish an FLash-Air-iOS-App through App Store?
    Thank you in advance
    Ralf Kopp

    Adobe fixed this internally. Just update your adobe air sdk to latest from labs.adobe.com

  • How to inspect web app using safari and ipad and USB cable?

    On my mac I have
    OSX 10.10.2 (14C109)
    Safari Version 8.0.3 (10600.3.18)
    On my Ipad 2 (MC769X/A) i have
    OS 8.1.3 (12B466)
    Safari Web Inspector "on"
    Javascript "on"
    There are no "privacy" or "private mode" settings that I can see.
    I physically connected my iPad to my Mac and chose that I trust this computer. Confirmed that it's connected by looking in iTunes (and quit iTunes afterwards).
    I opened a web app on my iPad that's running on my local server, and then opened safari on the mac.
    I then opened the Develop menu and can see the ipad. The menu does not contain any other entries other than "Use for development..."
    My mac also shows "No inspectable applications", whatever that means.
    If I choose "Use for development" under the iPad menu, nothing at all happens and the menu item disappears.
    To get the iPad sub-menu back again I have to quit Safari and then re-open it.

    I'm sorry I don't buy this as an answer because:
    it's for a question that is 2 years old and for older devices. My devices are all the latest version
    I have XCode and I'm a member of the develop program already.
    XCode does not offer a way to create a project or other pairing between safari on the mac and on the ipad, since that is a built in feature of Safari
    It works with IOS Simulator, but not with the actual device even when all correct steps have been followed to pair / connect them
    The problem I'm trying to resolve works in IOS Simulator but does not work on an actual device.

  • How do I set up my MacBook Air to use Sparrow and Reeder's multitouch gestures?

    Just set up my 11" air for the first time, and I just can't seem to get these apps multitouch fanciness to work without holding down the ALT key. I have them working flawlessly on my iMac with Magic Trackpad. The settings all seem to be the same between the two computers too.

    Ok, in this case your iMac will be performing as an application server. As such, it will need to be "reachable" from the Internet. This is typically done in one of two ways: 1) It is assigned a static Public IP address, or 2) It is assigned a static Private IP address.
    In the first method, your iMac will be like any other publically available server (Web, E-Mail, etc.) To accomplish this, you would need for your ISP to provide you with a static Public IP. You can then configure the AirPort Extreme to allow remote clients to access this server by creating a DMZ for the server. This would fully expose your iMac to the Internet.
    In the second method, you would assign the iMac a static Private IP address that is just outside of the default range of the AirPort's DHCP service. You would then configure the AirPort for port mapping. Which ports that will be needed to be mapped will depend on what your application's support tells you.

Maybe you are looking for

  • Problems opening a pdf in Chrome since I upgraded to acrobat reader dc

    I have been unable to open a file using Chrome since I upgraded from Reader XI to Reader DC. Instead of opening the file in Chrome, it wants me to save the file onto my hard drive, from where I can then open it using reader dc. This is true for both

  • The song palying and the album are not the same.

    When I'm playing my music on my iphine, the song and the album are not the same. Sometimes they are not even close to the same thing.

  • ATV2 sound issues

    Have ATV2 connected to A/V receiver via optical audio cable. When playing movie trailers I get sound from both TV and A/V speakers. When playing a movie I only get sound from A/V speakers. Doesn't make sense.

  • Error trying to connnect to the itunes store

    in the process of trying to download a song itunes disconnected saying there was an error. i've tried reconnecting and it is saying there is was an error in the itunes store, there is a problem in the itunes store. unknown error msg (-50). does or is

  • Due Date in new posting period

    Hi All, Posting date range in new financial period (new posting period) is one in which my JEs should posted and they will be having impact in financial system. Which is logical. What is the need of Due Date? Is it useful in any practical situation?