AIR App. HTML component ...

Hi there,
I'm using a HTML component in AIR with 'paintDefaultBackground="false" and backgroundAlpha="0.0" to let shine through a Logo. Unfortunatly a couple of the web site on display show themself sometimes with NO background - So just the witing of this site with NO formating !
I can get it right if I go up in the background Alpha ! but that is not the idea I would like to use it.
Any ideas ??? regards aktell2007

That was a waste of a couple hours.... The reason it was not redering is because I had a glow filter effect on a parent
displayobject in the app... Really weird, cause html stuff would load, but flash would not show up.

Similar Messages

  • AIR app (HTML) not responding after alert or confirm

    This issue won't occur when using adl for debugging, but after building the package and install, even an one-alert application will have this issue.
    I accidentally tested another app (3.1) I wrote a long time ago, and found the same thing...
    After showing an alert or confirm message, don't click OK or Cancel, after several seconds, click the application window, and it will become unresponsive and sometimes it will turn white.
    This issue happens on several PCs tested, could any one help?

    Thank you for the heads up.  Is this new behavior for the 3.6 release?  Do you know if it occurs on both Mac and Win?  Any particular operating systems?  If possible, I'd like to get a copy of one of your built applications to try this out.   Please open a new bug at bugbase.adobe.com and include a copy of your application and sample source code.  If you'd like to keep the code private, feel free to email it directly to [email protected]  Once the bug has been added, let me know the bug number and I'll follow up internally.
    Thanks,
    Chris

  • 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

  • AIR HTML component problem

    I am using the AIR HTML component to load various website
    directories with. However, any directory that gets loaded into the
    HTML control that uses CAPTCHA, only loads maybe 2 pixels high
    worth of the image. Is this a bug with the HTML control itself, or
    have I failed to instantiate something? To see what I mean, try
    loading this URL into AIR's HTML component.
    http://www.mygreencorner.com/submit.php

    I might add that this is flex 3 Retail version, not the beta.
    Seems to work in the flex 3 milestone 4 beta.

  • Viewing flash based website in HTML component of AIR APP

    Hello,  I've got an air app where I'm trying to use the Html component to load up a flash website.  Problem is that the website starts to load (I can see the preloader) and then the html component just goes blank.  I wrote the html page I'm trying to load so I went in and did some trimming of javascript stuff that I didn't really need that I thought might be causing the issue, but, no dice.  I'm also catch uncaughtScript errors from HTML, and there are none.  Anybody have any ideas?  The flash on the page that I'm loading only required flash player 8, so I'm thinking that shouldn't be an issue.  The page I'm trying to load is www.socialsaga.com/air_index.php
    Here is my little mxml file that won't properly display the site.
    <mx:Panel title="Video Storage" xmlns:mx="http://www.adobe.com/2006/mxml" enabled="true" visible="true" width="100%" height="650"> <mx:Script>      <![CDATA[           public function showDOM(ev:Event = null):void {                var indEv:Event = ev;           }                      public function uncaughtException(ev:Event = null):void {                var whatException:Event = ev;           }      ]]> </mx:Script>      <mx:HTML uncaughtScriptException="uncaughtException()" htmlDOMInitialize="showDOM()" width="100%" height="100%"  location="http://www.socialsaga.com/air_index.php" id="htmlOne"/> </mx:Panel>

    That was a waste of a couple hours.... The reason it was not redering is because I had a glow filter effect on a parent
    displayobject in the app... Really weird, cause html stuff would load, but flash would not show up.

  • Will Adobe AIR apps work on iOS (Javascript/HTML)?

    Hello,
    I haven't been able to find any definitive answer on whether Adobe AIR apps using Javascript and HTML can work on iOS.
    Anyone know for sure?
    And if so, what happens with the APIs available through these swfs that we currently include:
    networkInfoWrapper.swf
    servicemonitor.swf
    applicationupdater_ui.swf
    Many thanks
    Stephen

    The answer is no. Apps developed for AIR using HTML and JavaScript are not supported on iOS or other mobile platforms. The mobile platforms do include a StageWebView component that can be used to load and display HTML and JavaScript. However, it is entirely different than the HTMLLoader control used on the desktop platforms (for HTML-based AIR apps). You cannot, for example, call any AIR/Flash APIs from JavaScript running in a StageWebView. In general, very little communication is possible between your ActionScript application code and the JavaScript code running in the StageWebView object.

  • 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

  • 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 can you get selection info from air html component?

    In Air, I want to be able to have an html component that
    displays an htmltext string. When a button in pressed in the air
    app, I want to add highlight tags to the htmltext string around the
    text that has been selected by the user in the html component.
    The problem is, I have no idea how to get info about what
    text is selected in the html component. The way to get such info
    for other text display components is shown in
    http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_05.html#446003
    but that doesn't seem to work with html components.
    Can anyone point me to anything that shows how to get info
    from the htmlcomponent regarding the selected text?

    iCloud: Restore your iOS device from iCloud
    Note the iCloud backup does not included none iTunes purchases like music from CDs. Also, it does not include any photos synced to the iPod

  • AIR apps developed using HTML+Javascript

    Hi…
    I am working on Adobe AIR.
    And now I have 3 options to develop AIR applications 1)Flex
    2) Flash 3) HTML+javascript.
    But can you please explain me when do I exactly use Flex Or
    HTML+JS Or Flash.
    One of the reason I know is Flex used for Rich UI
    applications
    Is there any list of requirements for which one of the 3
    option is most suitable to use.
    And I have some more questions.
    1) Can AIR applications(developed using HTML+Js) invoke a web
    service running on a different server
    2) Can AIR application(developed using HTML+Js) detect the
    connectivity of USB drive (I have developed 1 application that can
    detect the Network connectivity and periodically reports the status
    I want the same in case of USB(plug & play) connectivity)
    3) I have one AIR application that has one HTML form on click
    of button I am posting the form Data to Java Servlet using
    “air.sendToURL()” as shown
    <script src="AIRAliases.js" />
    <script>
    function sendURL()
    var url = "
    http://localhost:8080/InvokingServlet/Registration";
    var variables = new air.URLVariables();
    variables.username = document.f1.username.value;
    variables.password = document.f1.password.value;
    var request = new air.URLRequest(url);
    request.data = variables;
    air.sendToURL(request);
    alert("Data has been added to Remote DB...");
    </script>
    The data goes to Servlet and then Servlet thru Jdbc
    Connectivity adds the data to database “MySQL” database
    named “user”
    If I read the data from database and print in Servlet it
    displays that to “tomcat server window(log)” But I want
    the data from Servlet to send back to HTML page where I can display
    it on the same HTML page where user entered his details. So even if
    I put the result into some Scope like session or request, but Can I
    read that it in HTML+Javascript page .
    [email protected]

    quote:
    Originally posted by:
    pravinpatil23
    But can you please explain me when do I exactly use Flex Or
    HTML+JS Or Flash.
    This question gets asked about once a week. You
    can find my latest answer
    here
    and a little searching will dig up more opinions.
    quote:
    Can AIR applications(developed using HTML+Js) invoke a web
    service running on a different server
    An AIR application isn't hosted on a server, so all web
    servers are "foreign" to your AIR application. An AIR app does get
    downloaded from a server, most of the time, but it doesn't maintain
    some kind of special connection to that server.
    Because of this, there are no cross-domain restrictions in
    AIR like you have in a regular web browser.
    quote:
    Can AIR application(developed using HTML+Js) detect the
    connectivity of USB drive
    AIR does not allow low-level system access, and has very
    little in the way of platform-specific capabilities. So, you'd have
    to use a high-level, platform-agnostic way of checking for the
    drive, such as by looking around to see what files are available.
    Things like USB insert notifications are way outside the scope of
    AIR.
    quote:
    I want the data from Servlet to send back to HTML page where
    I can display it on the same HTML page where user entered his
    details.
    That question isn't on-topic here. Ask on a forum dealing
    with JSP servlets.

  • Embedding swf into HTML+JS AIR app

    Hi
    I'm trying to embed swf into HTML+JS AIR app with no luck.
    First, I created flash library with this class in default package.
    package
         import mx.controls.Alert;
         public class Utilities
              public function Utilities()
                             //asdfasdf              
                   Alert.show("asdasd","");
    Then I compiled the project with Flash Builder and got library.swc as result. Then I extracted swf file.
    After this is added required code into my html:
    <html>
    <head>
        <script type="text/javascript" src="AIRAliases.js"></script>
        <script type="text/javascript" src="AIRIntrospector.js"></script>
        <script type="text/javascript" src="jquery-1.6.2.js"></script>
        <script src="library.swf" type="application/x-shockwave-flash"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                alert('loaded');
                air.Introspector.logError("aaa");
                var v = new runtime.Utilities();
        </script>
    </head>
    <body>
    </body>
    </html>
    Then after I run application, I get error that result of expression is not constructor, function etc.
    Could you help me please?  Thanks in advance.
    Here is sample code:
    http://depositfiles.com/files/jztpnlb3a

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Contents of HTML title Tag not rendering in my AIR HTML component

    I have an Air Application that uses a HTML Component. The HTML page that the component is rendering includes images with title tags. The tags render fine outside the Air Application, but when run in the AIR application, they do not render. Any help when this issue would be greatly appreciated.

    what html component?

  • Contents of HTML title Tag not rendering in AIR HTML component

    I have an Air Application that uses a HTML Component. The HTML page that the component is rendering includes images with title tags. The tags render fine outside the Air Application, but when run in the AIR application, they do not render. Any help when this issue would be greatly appreciated.

    what html component?

  • HTML-based AIR app with transparent UI, shadows, etc.?

    I'm debating on whether to use Flex or HTML/Ajax for a widget
    in a project. If I make an HTML-based widget, is it possible to
    have UI tricks like shadows and transparency, basically, NOT being
    confined to a standard OS "box" window? Is this possible?
    Thanks.

    Yes it is possible to do this with an HTML-based AIR app.
    However, since the visual elements will be HTML-elements, not
    display objects, you can't use the Flash APIs for shadows and
    transparency. Also, in a transparent window, SWF and PDF content in
    HTML cannot be displayed.

  • HTML window in AIR app can't open new window

    Hi, By allowing HTML content to be displayed inside our AIR app it's possible for our partner organization to write their own custom features hosted on HTML pages at their site, but for their content to appear integrated seamlessly within our AIR app's container so that it looks like it belongs there...
    We've successfully got an HTML window within our AIR app that navigates to content in a sub-folder on a web-hosted domain. Content displays correctly and hyperlinks function within the HTML window as we'd expect apart from three scenarios that appear to be manifestations of the same problem:
    A hyperlink on a page shown in-app with a link to a PDF stored on the web server has no action
    A hyperlink on a page shown in-app with a link to a video file stored on the web server has no action
    A hyperlink on a page shown in-app with a link to another site (target="_blank" parameter) has no action
    All three hyperlink scenarios work as we'd wish if we navigate to the page in a standard browser.
    How can we code the HTML so that we can display selected content in an HTML window inside the AIR app; but have selected hyperlinks invoke the user's standard web browser, or launch Adobe Reader, or play a video file etc?
    Note, we understand how to do those things within AIR itself, but can't figure out how to achieve this from inside the HTML window in the app.

    Hello,
    As to "_blank" links:
    this is long-standing lacking feature - as there is no introspection of event of such type - so it goes and could not be prevented. One could either handle all navigation with system browser (all links open in system external browser) or handle them in embedded browser - similar issue is bugging people using phoneGab with jQueryMobile - application eats all external links or none at all). There are solution for that including runtime introspection of DOM object to retrieve all anchor (a) tags in rendered document and attach custom click handler via host object like on complete:
    var document:Object = html.htmlLoader.window.document;
    if(!document && !document.hasOwnProperty("getElementsByTagName")) return;
    var linksArray:Object = document.getElementsByTagName("a");
    if(!linksArray) return;
    var a:Object = null;
    for(var i:Number = 0; i < linksArray.length; i++)
         a = linksArray[i];
         if(a)
              a.onclick = function(event:Object):Boolean
                   if(event.target.hasOwnProperty("href") && event.target.hasOwnProperty("target"))
                        if(event.target.target != "_blank") return true;
                        flash.net.navigateToURL(new URLRequest(event.target.href));
                   return false;
    but if you have control on what content is provided you could take care of handling links depending on runtime feature detection that way in javascript:
    <script type="text/javascript">
         function handleClick(a)
              if(!window.runtime) return true;
              if(a.hasAttribute("target") && a.getAttribute("target") == "_blank")
                   var href = a.getAttribute("href");
                   var req = new window.runtime.flash.net.URLRequest(href);
                   if(req) window.runtime.flash.net.navigateToURL(req);
              return false;
    </script>
    <a     href="http://www.bbc.co.uk/" target="_blank" onclick="handleClick(this);">BBC</a>
    <br />
    <a href="http://www.google.com/" onclick="handleClick(this);">Google</a>
    (above could be scripted globally with help of jQuery for example for all links without much coding).
    In 2.7 there is new event introduced to help with introspection so one could prevent event if link is internal and do whatever is expected in application:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    If you post some details on how PDF and video content is expected to be shown in html I'm sure someone would share some hints as well,
    regards,
    Peter Blazejewicz

Maybe you are looking for

  • Skip Level Dimensions

    Dear all We have a client with an interesting problem. I was wondering if the group could offer any feedback on this design question, where we think it involves a concept called 'skip levels'. The client is using Oracle 9.0.2 with their data mart cub

  • I can't sign in to my messages or FaceTime with mi apple ID.

    I can't sign in to my messages or FaceTime with mi apple ID. I keep getting this message: (Your Apple ID can't be used to set up FaceTime at this time. and it gives me this: Customer Code: 3400-5829-7815.) how do i fix? <Email Edited by Host>

  • Crystal Reports 2008 Version 12.2.6.567 Crashes with APPCRASH , opensql.dll

    Hello everyone, I have download and installed a trial license of BOBJ 3.1, i have installed an SAP INT Kit and have been trying to convert some sample CR from the SAP servers " iwdfvm..." to a local SAP Server on the network. I receive this error in

  • Disc won't eject....ext. harddrive and cf reader

    hi, im having an issue with periphs on my ibook. i got a mac compatible ext. drive and it works great. problem is it won't eject. no other apps running and it still won't eject. i figured out that i had a jpg in the trash that wouldn't delete and ren

  • Services of Object-KE52

    Hi All, I have to store the documents against the profit center but Services of Object is not available in KE52 like it is available in Cost center. Please advice how to activate in GOS in KE52 . Regards, Muzamil