Cache-Control and Accept-Encoding support in Adobe AIR HTML Component

I am evaluating Adobe AIR's HTML component and trying to figure out what is supported.
I built the AIR app and had it point to www.google.com
I notice that the requests to fetch JS,CSS from Adobe AIR do not include Accept-Encoding: gzip header.
Does Adobe AIR's HTML Component support Accept-Encoding : gzip header ?
I also noticed that even though the content served with far futures expiry, i.e. has Cache-Control: maxage={value} subsequent requests are being made and content is not served from the browser's cache.
I observed this accross the app restarts.
Can someone please clarify support of the two above Http headers ?
Thank you.
-Prashant

You might also want to check out the useCache property to see if this helps.  See these links:
http://forums.adobe.com/thread/726573
http://forums.adobe.com/thread/490497
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/html/HTMLLoader.h tml

Similar Messages

  • Retina support for Adobe AIR HTML

    Hi,
    I was suprised to find there's no retina display support for Adobe AIR (3.9).
    Macs with retina displays have been around for quite some time now.
    This is a crucial feature as I will not be able to use my application on my retina display.
    A bug report has been opened here: https://bugbase.adobe.com/index.cfm?event=bug&id=3662094
    Thanks.

    Hi Jeffrey,
    This is indeed an issue with the HTML control, however the StageWebView(true) control does support retina devices.  Is it possible for you to use this instead?
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebVie w.html#StageWebView()
    Thanks,
    Chris

  • Webkit and safari supporting mathml -- when AIR HTML component supports MATHML

    latest version of Safari that uses webkit  supports MATHML.
    When can the AIR HTML component supports MATHML support for viewing the expressions.

    penugonda wrote:
    latest version of Safari that uses webkit  supports MATHML.
    Hmm. Don't know I'd go so far as to say that. Here's a more complete picture: "Webkit has an experimental MathML implementation which is enabled in Safari but the support is still limited and the rendering quality not very high. This implementation has not passed Google's security review and so is not integrated yet in Chrome."
    MathML support is far from complete in Safari and other Webkit browsers.

  • Adobe AIR HTML component ignores Google Maps GPolyline opacity

    I have a Google Maps mashup web site that I want to display
    in an
    Adobe AIR app using the AIR HTML component. My mashup shows a
    Google map with some semi-
    transparent polylines (drawn as circles) drawn with the
    Google Maps API . In Safari, everything looks
    as it should. In AIR, the polylines are opaque; the GPolyline
    opacity
    value is ignored. I've tried the AIR app on Linux and Windows
    XP.
    Has anyone else encountered this issue or have some
    suggestions?
    The web site:
    http://dstresearch.com/map.html
    The AIR code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" height="800" width="800">
    <mx:HTML id="html"
    width="100%"
    height="100%"
    location="
    http://dstresearch.com/map.html"
    />
    </mx:WindowedApplication>
    Thanks,
    Josh

    You might also want to check out the useCache property to see if this helps.  See these links:
    http://forums.adobe.com/thread/726573
    http://forums.adobe.com/thread/490497
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/html/HTMLLoader.h tml

  • Will there be future support from Adobe AIR for Desktop native Applications

    We have a desktop native application developed using Flex SDK 4.1 and running on Adobe AIR. Now as Adobe has donated Flex SDk to Apache we are concerned about the future of this application. If we rescale our application with new versions of Flex SDk released by Apache, in future will the new versions of Adobe AIR support it? As I have read in Adobe Forums that Adobe is more concentrated on providing HTML5 support in Adobe AIR, and not working for Flex support anymore, can we face any problems going forward with this combination?

    We have a desktop native application developed using Flex SDK 4.1 and running on Adobe AIR. Now as Adobe has donated Flex SDk to Apache we are concerned about the future of this application. If we rescale our application with new versions of Flex SDk released by Apache, in future will the new versions of Adobe AIR support it? As I have read in Adobe Forums that Adobe is more concentrated on providing HTML5 support in Adobe AIR, and not working for Flex support anymore, can we face any problems going forward with this combination?

  • Mobile support in Adobe AIR

    Is there any "Mobile support in Adobe AIR" ( ie : Can I run my AIR app in Mobile ?)
    And what is Flash lite? - is it supported in Adobe AIR ?
    Thanks & Regards,
    Pravin

    No yet, The Open Screen Project is working on taking AIR to cell phones.
    Flash Lite is smaller version of Flash with a reduce subset of 
    features that is installed in more than a billion cell phones worldwide.
    Sincerely,
    Michael
    El 11/05/2009, a las 6:52, pravinpatil23 <[email protected]> escribió:
    >
    Is there any "Mobile support in Adobe AIR" ( ie : Can I run my AIR 
    app in Mobile ?)
    And what is Flash lite? - is it supported in Adobe AIR ?
    >
    >
    Thanks & Regards,
    Pravin
    >

  • Adobe Air - HTML, Javascript and Threading

    Hello,
    I am developing an application using Adobe Air - HTML and
    Javascript. What I am trying to do is to implement threading in
    Javascript. I am using implementing threading in Javascript as per
    this Neil blog.
    Click
    Here. It clearly says that this threading works only in Firefox
    2.0 and I am trying to use this in with my Adobe Air, but when I
    try to refer a function , it gives me error saying "unable to find
    it".
    I was wondering if this is the best way to go for threading
    in Adobe Air HTML application or there is some other way also.
    Thanks,
    Jaikishan

    Hi jjalan,
    The yield and generator functionality is only available in
    Firefox's javascript execution engine. When you are executing
    javascript in AIR, it is done by the webkit and squirrelfish. Take
    a look at
    http://webkit.org/blog/189/announcing-squirrelfish/
    If you can find a javascript library that works on safari /
    webkit, chances are high that it may work in AIR.
    Also, you can always do pseudo-threading via the age old
    setTimeout()

  • Adobe air html/js - application act like a browser.

    I just started in Adobe air html/js . In the current application I want to do something like this .
    I want to open the urls/web pages in the application and application should act like a web-browser to them .
    But with that I want to modify the opened pages a little, like add some css/js to them.
    Something like when you open Web pages in Firefox and a plugin (example grease monkey scripts) modifies the displayed content .
    Is it possible ?
    I tried opening in iframe it works , but I cannot add my own  JavaScript to the page (is there any way in air to remove cross domain  strictness?).
    Note: Please don't suggest that I fetch the html content of the page  and add it to the app body.  My app should really act as browser. (Adobe  air is webkit based so I think it can be achieved)

    Hi,
    Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
    Regards,
    Catalin

  • Multi Touch not supported in Adobe Air for IOS?

    Hi, I've just started developing my first app for my iPhone which is an iPhone 3GS. I'm using CS5 to make these apps.
    I did a simple test game where there are two arrows on the screen and a fire button. The screen also has a ground and the player standing on it which can be controlled with left/right and fire. Now, if I press right, he moves right, if I press left, he moves left, if I press fire, he jumps... BUT no matter what I do I can't make dual touch work, ie: I press right AND fire, it only recognize just ONE touch point. So I did alot of researching and didn't find much.  I thought maybe adding a TouchEvent.TOUCH_TAP which I found a guide on on this page: http://openexhibits.org/support/gestures/1/one-finger-tap , but couldn't make it work, so I found this: http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html and it seems Adobe Air for iPhone only allows four different gestures, no TouchEvents. I found a code somewhere that when run it checks to see if the device it's running on supports TOUCH_TAP stuff and in CS5 I got the message that it is not supported, in Adobe Device Central I get it's supported, on the actual phone (yes, got dev license from Apple and all that and can run my apps from CS5 on my iphone) I get it IS supported, but it doesn't work when I try it for real.
    So, my question is: how can I make Adobe Air using CS5 to detect 2 finger presses at the same time in iPhone apps?  Like pressing right+fire at the same time, so it doesn't just detect ONE of them being pressed.
    Thanks a million for any reply.

    Before listening for TouchEvents like TOUCH_BEGIN, TOUCH_MOVE, TOUCH_END etc... you need to set the input mode of your device to TOUCH_POINT. By default it is set to GESTURE.
    This works fine on the iPAD:
    import flash.ui.Multitouch;
    import flash.ui.MultitouchInputMode;
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    stage.addEventListener(TouchEvent.TOUCH_BEGIN, touchBegin);
    stage.addEventListener(TouchEvent.TOUCH_MOVE, touchMove);
    stage.addEventListener(TouchEvent.TOUCH_END, touchEnd);
    private function touchBegin(te:TouchEvent):void {
        // your code here
    private function touchMove(te:TouchEvent):void {
        // your code here
    private function touchEnd(te:TouchEvent):void {
        // your code here
    Hope that helps.

  • Webcam and Whiteboard not working with Adobe AIR with Adobe Flash Builder

    Hi,
    I am trying to build a  simple chat service using Adobe Flash Builder target for desktop AIR( my final objective is to port it to android). My adobe AIR version is 2.5.0 and below is my source code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:rtc="http://ns.adobe.com/rtc">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <rtc:AdobeHSAuthenticator id="auth" userName="Yy" protocol="rtmfp"/>
    </fx:Declarations>
    <rtc:ConnectSessionContainer id="session" authenticator="{auth}" roomURL="https://collaboration.adobelivecycle.com/yytan1987/myfirstroom" width="100%" height="100%">
    <mx:HBox width="100%" height="100%">
    <mx:VBox width="25%" height="100%">
    <rtc:WebCamera width="100%" height="50%"/>
    <rtc:SimpleChat width="100%" height="50%"/>
    </mx:VBox>
    <rtc:SharedWhiteBoard width="75%" height="100%"/>
    </mx:HBox>
    </rtc:ConnectSessionContainer>
    </s:WindowedApplication>
    Basically when i debug it with AIR, the chat is working properly but the webcam and whiteboard just don't work....I really don't know what's wrong with it already...Appreciate it if anyone can help,thanks!!
    Regards

    Hi,
    My take is , is your autopromote tuned on for the room. I mean whats
    your user role when an user enters the room(who is not host), is it 10
    or 50. If its 10 i.e. viewer , then he cant use his own cam etc. You
    need to take a look at the logs when an user enters and if its 10 and
    you want to give him these permissions, turn autopromote on from the
    devconsole for the room to make his role 50 i.e. publisher.
    I just now downloaded 2.5.1 AIR and created a new project with your
    source and I am able to use everything.
    Thanks
    Hironmay Basu

  • Chinese and Japanese text gone in Adobe Air 4.0b and Android 4.4

    Flex 4.10/11 with Adobe Air 4.0Beta on Android 4.4 does not display Chinese / Japanese text anymore in basically all components (Label, Buttons, List etc.). I need this urgently fixed. Please let me know if there is a workaround.

    you can use fte to show text,i has solved it.
    http://forum.starling-framework.org/topic/feathers-tlf-text-renderer
    this is a tlf method based fte,too heavy,finally i use the textblockRenderer in feathers and add a html parser myself,this is url:
    https://github.com/joshtynjala/feathers/blob/master/source/feathers/controls/text/TextBloc kTextRenderer.as

  • Adobe AIR HTML/JS application and Windows Native Installer

    Hi,
    I am building an Adobe AIR application with HTML and Javascript and I would like to know how to make an Windows Native Installer.
    I am trying to build it with Flash Pro but it keeps returning the error 'Invalid SWF file'. At the application.xml file the <content> points to my index.html file. I don't use any SWF file. When I change this to point to the SWF it does build tha installer but the application loads the SWF.
    Is there any way to build a Windows Native Installer and the initial content be an HTML file?
    p.s. I tried to extract the files from the installer file and edit the application.xml there to point to the index.html. But I can't repackage the files to a valid air native installer.
    Thank you.

    Hi,
    Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
    Regards,
    Catalin

  • Trying to install a trial and all I get is Adobe Air agreement

    I am trying to install a trial version of Flash CS5.5 and when I click the download button it brings up the adobe air agreement. I click I agree and thats it. I dont get asked to sign in or anything. I have uninstalled and reinstalled the download assistant numerous times and nothing is still happening. I even tried a different trial and the same results. I downloaded a different trial just a couple days ago and had no issues. I noticed that the trial site was down earlier today, are there problems that could be being caused by whatever the issue was there? I am buying a suite on the first, but need this trial to get through the next two weeks of my flash class. Any help would be great. I have Windows 7.

    Genuine Verification failure downloading or installing
    Mylenium

  • IOS and Android Native Scroll in Adobe AIR

    I think it would be a great idea to implement the smooth scroll present in native iOS and Android applications for use in Adobe AIR projects.
    Currently, the only way to obtain smooth scrolling lists with images is using StageWebView to show the image list in HTML format, and then awkwardly implement some JavaScript / AS3 communication functionality so the list in the StageWebView is interactive and can communicate with the main program. This is excessively complicated and very error prone (I've found some inexplicable JavaScript errors that only happen in the iPad, not in Android, and not in the PC!).
    It would be way better to be able to skip all the StageWebView process altogether and being able to use a simple AS3 API to put any sprite/movieclip into a scrollable canvas which can be moved using the iOS native scroll.
    Using Flash animation to simulate the scroll in a list with images is too slow in the iPad and gives a bad user experience. iPad users expect the native iPad scroll, not some poor jerky simulation. A native scroll is the only way to go.
    And even though I talk about the iPad, this should be applicable to the native Android scroll, too.
    Scrolling is a VERY BASIC action in a tablet, so this should be implemented as soon as possible.
    Actually, I'm amazed we're already at AIR 3.0 beta, and still after all this time nobody thought of this. All sorts of fancy stuff is being added to AIR (hardware accelerated video, webcam and microphone access, etc...) but still something as basic and important as a smooth scroll, which every tablet user expects, is still not possible in Adobe AIR. We either have to implement some slow Flash animated scroll, or use the extremely complicated StageWebView with JavaScript/AS3 communication approach (I'm using a third party library called StageWebViewBridge for the JS/AS3 interoperations, which is great, but still, it's a far from ideal solution, since it's pretty fiddly and the JavaScript code doesn't always work properly in iOS).

    Hi again jackson@mja.
    I've given your scroll component a try just for some static texts, and I've found quite a few important bugs:
    1. If the referenced sprite/movieclip is shorter than the scrolling area, it starts bouncing infinitely in a quite funny way,
        which renders the component unusable. Sometimes it even happens when the content is not shorter.
    2. If your component is used inside another sprite/movieclip which is added dynamically from code ("addChild(mySprite);"),
        it doesn't work and stops with an error, because the EventListener for mouseDownHandler is being added to this.stage
        in the constructor, but a dynamic movieclip doesn't have access to the stage while in the constructor step (unless it is
        already in the stage added in the Flash IDE, such as in your FLA example). To fix this, I've added the following code
        to the ScrollArea() constructor:
    this.addEventListener(Event.ADDED_TO_STAGE, init);
    this.addEventListener(Event.REMOVED_FROM_STAGE, close);
        And then I've added the following listener functions:
    private function init(event:Event):void {
    this.removeEventListener(Event.ADDED_TO_STAGE, init);
    this.stage.addEventListener(MouseEvent.MOUSE_DOWN, this.mouseDownHandler);
    private function close(event:Event):void {
    this.stage.removeEventListener(MouseEvent.MOUSE_DOWN, this.mouseDownHandler);
    3. Also, the scrollbar is only correctly rendered if the scroll area is located at the up and left corner of the stage. To put text somewhere else, the component must be put inside a movieclip.
    4. This is not really important, but I've found the following variables are never user and so I've removed these lines:
    var xy:Point = this.localToGlobal(new Point(this.x, this.y));
    var wh:Point = this.localToGlobal(new Point(this.width, this.height));
    var sign:int = sign(obj[i]);
    I hope this can help you improve your classes.
    Best regards,
    OMA2k

  • Help Support in ADOBE AIR application.

    How to add context sensitive help for the ADOBE Air application.
    Is there any authoring tool to author help for any ADOBE AIR application.
    Thanks in advance
    Regards
    Penugonda

    Hi Jon,
    Thanks for bringing this to our attention, the AIR team is aware of this issue on Ubuntu. And we are looking into this.

Maybe you are looking for

  • How does the remote object connect to the correct host

    i have had a small doubt on how the remote reference manages to find the correct host to call the subsequent methods after a sucessful lookup. given a rebind or bind to the registry, the registry only stores the alias and the remote reference, now im

  • What replacement Airport Extreme Card do I need for Macbook Pro 8.2?

    It looks like my Airport Extreme Card has failed, although the Blue Tooth  is fine. I'm assuming that I need to buy a replacement but am struggling to find what I need. I have a Macbook Pro 15" early 2011 i7 2.2ghz so just need to know what cards are

  • How to capture the date and time of  a background job

    Hi experts, How to capture the date and time of  a background job? How to find whether it is runned succesfully or not? If it is not successful how to put error message? ASAP Thanx in advance, Sudha

  • Itunes quicktime error # -2093

    I cant use itunes because of this error... i've tried installing them separately but nothing works... can anyone help?

  • Premiere Pro CS6 and h.264, something is wrong?

    Hi there, I've had huge problems with h.264 and adobe premiere pro. Basically I record footage using the Logitech C920 webcam, which converts on the fly to h.264. The problem I am having is when I transfer this over to adobe premiere pro, there seems