Using AIR,HTML,Flex

I apologize I might be a little lost as I had to put a
project down to work on another one (as often happens). I though
that you would be able to launch flash/flex from html within the
AIR application, I remember having this problem in early beta and
then saying it was now fixed but for some reason it still doesn't
seem to work ,
has anyone gotten this to work , is there a special way or
tag that is needed
let give you a quick overview,
I am using the AIR application as kind of like a viewer for
other applications that are written in flex this allows me to
launch multiple applications and to give a desktop option to our
clients. however using hte iframe to view them isnt working , is it
the iframe or just the ability to use html/flash
Ray

Hi,
Flash in HTML on AIR has some limitations. The runtime cannot
display SWF or PDF content in transparent windows.
Take a look at this
thread.

Similar Messages

  • Do i use Air or Flex for iPhone and Android app development

    Hi guys, whats the main difference between the 2 and does Air or Flex have everything Xcode does for iPhone/iPad development
    I'm hearing that Flex has Android and SDK for iPhone, if this is the case why learn Xcode ?
    Thanks

    Titanium is good for iOS, but apparently not so good for Android. Moreover, it's not so cheap!
    When one chooses a platform, one should also take into consideration the history and stability of the company which offers it.
    That is why I would not go to Appcelerator: who knows what's behind the corner?
    Sure, it is ironic that I say this after Adobe - a big company - has abandonded Flex...
    Some alternatives:
    - AMPChroma (Horrible name, but it has a solid company selling it: Antenna Software). This thing has the advantage that the content is not either native or web: the same content can be packaged for a web site AND for an app
         Pro's: Many big players are using it
         Con's: price list not very clear
    - Adobe Edge "Preview" + Adobe PhoneGap <--- Adobe says: you create animation for the web, you package it for an app. Not many people have tried it. But apparently it will work.
         Pro's: apparently, Edge is Adobe's instrument to finally go to HTML5.
         Con's: Edge "showcase" performs BADLY and SLOWLY in an iPhone (go think of a Samsung Mini)
    - Adobe Flash professional CS6 + Create JS <--- you create animations in Flash, then you export to HTML5 and js for browsers which don't have flash. You can also package with AIR for iOS and Droid.
         Pro's: Flash professional is easy, Action Script is powerful. You can have BOTH the power of Flash and the portability of html5/JS.
         Con's: for how long will Adobe support this Create JS hack? When will Adobe say "OK, now you've done enough automatic porting to JS, from next release on you move to Edge, or to - wait for it - a version of Flash which uses Javascript instead than ActionScript?"
    Me, I don't know what to do. I am keen on FlashBuilder/Flex because it's fast to build. Apps are really compatible both with iOS and Android. It has Salesforce.com connectivity. It's cool.
    However, there are two problems that get me stuck from continuing with FlashBuilder:
    - OK for native apps but... how do I use the Flash Builder/Flex content for the mobile WEB? Flash Builder does not have the CreateJS capability. I do a cool interface and I cannot reuse it on the mobile web if not with apps?
    - OK for HTML5 but... it's NOT as good as Flash now. Have you ever seen a Phonegap application with graphics? They're embarassing. Slow, imprecise. And non-compiled Edge stuff is not much better. Is it? any good example.
    Bottom line: at the moment, HTML5 support does not seem good. On the other hand, Flex is NOT compatible with mobile web. What IS performing and promises to be compatible with mobile web in addition to native apps?
    Flash Professional CS6.
    Again.
    I am happy if some-one belies me with good arguments.

  • Calling web services using AIR html/ajax

    i want to call a webservice and currently using Adobe air
    ajax/html.
    can anybody please guide with some sample code like how to do
    that in adobe air?

    Does it have to be a double-you-ess-star "WebService"? If so,
    why? The whole WS* abortion was cooked up by CORBA/DCOM types who
    didn't actually get why the web works so well. They went and turned
    it into something that requires a heavyweight programming
    environment just to get started.
    If your web service -- lowercase letters -- is RESTful, you
    can call it from Ajax naturally. This is how most of the mashups on
    the web work. It's pure XHR, no AIR/Flex involved.

  • How to update flex to use air 1.5.1

    How to update Flex to use air 1.5.1?
    The last Nightly Build (3.4.0.5042) release today has the
    "old" 1.5 version of air sdk.
    Thanks

    Currently, you have to overlay the AIR 1.5.1 SDK on top of
    your Flex SDK. There are instructions in the AIR 1.5.1 release
    notes:
    http://www.adobe.com/support/documentation/en/air/1_5_1/releasenotes_developers.html#sdk
    The AIR 1.5.1 SDK is available here:
    http://www.adobe.com/products/air/tools/sdk/

  • Using Facebook SDK in Air HTML environment

    Hi,
    I am building an AIR application using HTML/JS and I'm trying to work with Facebook Javascript SDK for some simple functionality.
    It seem however when running and an AIR environment I am not able to access the FB object.
    I have the SDK locally so I know its there but simple FB.init() and FB.login() are non-existent and without errors...
    I also tried using the FB AS3 library by incldeding it in <script> tags but this gives me an error
    TypeError new window.runtime.com.facebook.graph.Facebook() is not a constructor
    Don't know if its because my xml namespace is version 2.0 and not 1.5 (1.5 errors as well but it says some IFilePromise class is not found.
    Can the Javascript SDK be used in building Adobe AIR HTML apps?

    Annoyingly the SDK hasn't been updated in over three years. I've had a casual look via Visual Studio's object inspector to see if I can spot any new methods or properties that could be useful but if they are there then they are hidden well. Media Kind, for example, was introduced in iTunes 9, I think, but can't be read from code.
    I don't know what tasks you're hoping to automate, but you might find some of my scripts useful either in their own right or as food for thought.
    tt2

  • 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.

  • Disabling flash display in Air HTML Component

    Hi,
    in my AIR application, I use an HTML Component in its own
    sort of frame or container that has a viewing size that is smaller
    than the web page itself. Next to it is a panel with many controls
    in it. When a website with flash components (e.g. flash banners) is
    displayed, the flash components in the HTML Component overlap the
    control panel even though it's underneath in another container. Is
    there a way to disable showing Flash in an HTML Component or
    another way to make sure everything in an HTML Component stays on
    its own layer?
    Thanks for any help!

    Hi,
    I don't think the problem is because the URL is pointing to a
    JSP. I think the problem might be with the JavaScript which is
    trying to do operations which are not allowed. Please find more
    details at the URL below.
    http://livedocs.adobe.com/flex/3/html/dg_part_7_1.html
    Hope this helps.

  • Unicode/glyph/font advice needed for porting WinForms app to Macintosh using AIR

    I've written an application in WinForms/.NET that I'd like to port to the Macintosh platform. I have never developed for the Mac but it seems as though AIR might be a good choice. I'm totally new to AIR. Some advice and info would be much appreciated!
    Can an app be developed in AIR on a PC running Windows and then later be deployed transparently on a Macintosh? Or do I need to be developing on a Mac?
    The app is a search interface for use against text-bases comprised of texts composed in ancient European languages. I pre-index the text-base and store it in SQLite as a fully-normalized (1NF) set of relations:  TITLES, WORDS, WORDOCCURRENCES.  So the app is really nothing more than a (query-only) database application with some specialized glyph-rendering requirements.
    In the WinForms app, I used a custom third-party edit control with  extensive support for the RTF specification, in combination with some third-party fonts that contain the necessary glyphs for rendering the Unicode characters corresponding to RUNES and to some abbreviations found in medieval manuscripts. BTW, these special non-ASCII characters are represented in the database not as unicode codepoints but as entities that can be represented in standard ASCII (e.g. "&thorn;"   ); when rendered to screen, the correct glyph has to be substituted when the Unicode codepoint for the entity supplied -- in this example the codepoint would be [U+00DE] and a thorn glyph  ( Þ) should be rendered.
    Since it might not be possible to find a single omnibus Unicode font that contains a glyph for every codepoint I need to render (what are the most glyph-rich freeware Unicode fonts for Macintosh, btw?)  the text widget must let the programmer "wrap" a Unicode character or series of Unicode characters in whatever font may be required at that point in the text. Is there a rich-text widget for AIR that can do this?  A widget that can render HTML and supports CSS stylesheets would be ideal (inline-CSS-only would be OK too). If the widget had CSS stylesheet support, the string of Unicode codepoints could be wrapped with a <span class='rune'>.....</span> and  the font-name for the .rune class could be specified in the CSS stylesheet.
    Thanks very much if you've taken the time to read through this tedious stuff !

    Flash Professional started as an animation tool and was expanded with a programming language that became ActionScript (now ActionScript 3.0). Content creators began using Flash to develop applications rather than just animation, so a lot of developer-centric and application-centric functionality was added to Flash, including pre-built user interface components (written in ActionScript). All that functionality and those components are still available in Flash Pro today. However, many developers who came from a traditional programming background had trouble getting into Flash Pro because it is really an animation design tool -- so it uses a timeline, layers, visual drawing canvas, and it required some figuring out to learn how to structure an application in that type of tool.
    In response to this, Macromedia (now Adobe of course) created Flex. Flex uses ActionScript just like Flash Pro. Flex also includes numerous user interface controls, written in ActionScript. Flex also adds advanced, flexible layout control and many utilities for common programming tasks like loading data from or sending data to a server, formatting values, validating user input, and more. With Flex, you can define your user interface using an XML markup language (MXML); the compiler then turns the MXML into ActionScript code before turning it into your compiled application. As far as tooling, an eclipse-based IDE called Flex Builder was created that gives you a code editor, a workable but not designer-oriented design view, and other developer tools like debugging and profiling. (Note that Flex Builder has been renamed to Flash Builder for the next release, which is currently in public beta.)
    So to generalize, Flash Pro favors a more visual design and animation type of working style, whereas Flex favors a more text-based, code-centric working style. (But that's just a generalization -- many people, especially people who "grew up" with Flash before Flex, still prefer Flash Pro even though they're heavy coders.)
    Also, if you want to write everything in code with no pre-drawn visuals (i.e. Flash Pro) and without using MXML or Flex components, you can create your application entirely in ActionScript code. Flex Builder supports ActionScript-only projects for that purpose.
    Here are a few links for getting started with Flex, which I would personally recommend if you haven't used either one and you're building something that's more "application" focused rather than media or animation focused:
    Flex "Quick Starts" -- short articles focused on specific tasks in Flex
    Flex "Getting Started Experience" -- designed as a set of training courses, intended to take 12+ hours to complete (but you can skip around of course)
    "Flex in a week" video training -- a free 5-day video tutorial series on Flex
    Flex Developer Center "Learning Paths"
    As a side note, the link you included actually goes to the JavaScript version of the documentation, which is what you would want if you are going to use HTML/Ajax to build your app. However, if you're wanting to use Flex you would want to use the Flex version of the documentation:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/HTML.html
    http://livedocs.adobe.com/flex/3/langref/flash/html/HTMLLoader.html
    And if you're wanting to use Flash, you can use the Flash Pro version of the documentation:
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/html/HTMLLoader.html
    Yes, it's somewhat confusing and overwhelming. We're definitely working on improving things in that regard.

  • Air 2, Flex 4.1, embedding xstandard wysiwyg editor

    Hi,
    Has anyone had any experience with embedding the xstandard wysiwyg editor into a flex application using the Air HTML component?
    For those who don't know; it is an activeX control providing xhtml compliant code generation, drag, drop and upload functionality (in one move) etc and is far superior and easier to use than the freebee wysiwyg editors out there.
    The editor requirement:
    Easy table generation
    drag and drop of images onto the interface with upload and insert into content
    Paste of MS Word content into the editor. (automatic image upload and insert)
    Editor solution:
    xstandard ( http://www.xstandard.com )
    are there any others that provide this functionality?
    The problem at hand:
    I have developed an inhouse application which embeds a wysiwyg editor using the HTML component of AIR.
    The editor is embedded on a php page which take care of loading the data and the editor controls. With the appropriate parameters it works independantly outside of the Air/Flex application.
    Initially we were successfully using TinyMCE (pre editor requirements) however the less computer savvy users (most of them) were having issues using the table generator and the image uploaded. To difficult, inefficient and too many steps.
    xstandard integration:
    xstandard is working fine externally to the application, as it does with TinyMCE. When loading it into the Air/Flex application the controls don't show up instead the source editor is visible. It looks like it is partially loading the activex control.
    I have spoken with the xstandard developer, we have tried a few things, different test build etc however with little success.
    I thought it may have been the userAgent however I set the HTML parameter userAgent to "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" ut this did not work.
    Does AIR have restrictions applied to embedded objects?
    Any other suggestions?
    any help will be greatly appreciated.
    Damian Georgiou

    Hi Damian,
    ActiveX is only supported by IE on Windows. Also, I believe the HTML component in Adobe AIR only supports the flash plugin and pdf plugin.
    Best,
    Rob

  • Developing a secure desktop sharing application using AIR

    Hi all,
    I am developing a remote support tool like TeamViewer, using AIR.
    So far I managed to implement chat, file sharing etc. However, could not find any API in Adobe AIR to provide Screen Sharing or Remote Support. Can anyone suggest any techniques to achieve the same in Adobe AIR?
    Many thanks!

    I just came across an article discussing how to use Flash Media Server to create a basic IM application with Adobe AIR.  It then mentions audio/video streaming communication - it might be a possible route to take, I haven't really looked in to it at all.
    http://www.adobe.com/devnet/flashmediaserver/articles/first_im_app_05.html
    Looking at the capabilities of the Flash Media Server itself might shed more light on the issue.  I believe it would require the AIR app to be built using Flex though.

  • I'm trying to print  an Ancestry document from an iPad 2 using air print onto a Canon 5350 (one of the printers ok'd by Apple) I am unable to change the print orientation from portrait to landscape.  That is I change it in printer settings but no use.

    I'm trying to print an Ancestry document from an iPad 2 using air print.  The printer is a Canon MG5350 (on the Apple approved list) I have no difficulty printing but only in portrait format.  I've tried changing printer preferences from my computer but even though the Canon accepts the changes it will not print landscape - can anyone advise please?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Building a desktop app - use AIR or not?

    Hello, I'm guessing that the keyword "desktop" would make you recommend I use Adobe AIR if I'm building with Flex.  Basically, we're building a desktop application that will occasionally sync with the server where a separate but related application resides.  Most of the time, the desktop app needs to be able to function with or without network connectivity. 
    So far, we have begun by playing with Flex and running it in a browser on a local machine.  We could simply use XML files for local storage instead of a database, and it seems like we can get a fair amount of functionality implemented this way.  However, I'm wondering if we should definitely be using AIR instead. 
    I'm coming with a server-side Java background, so I'm also trying to figure out how people write the business layer in this world (the business logic tier in between the presentation and data/service layers).  A lot of places I'm finding online keeping talking about Flex being for presentation only, but with an Adobe AIR app, do people often write business objects that sit between the GUI components and the database?  In some of the AIR programming guides, I'm not seeing any mention of that.
    I'm trying to make a case for AIR, so I need a little bit of help from you...
    Thanks!

    I'm coming with a server-side Java background, so I'm also trying to
    figure out how people write the business layer in this world (the
    business logic tier in between the presentation and data/service
    layers).  A lot of places I'm finding online keeping talking about Flex
    being for presentation only, but with an Adobe AIR app, do people often
    write business objects that sit between the GUI components and the
    database?  In some of the AIR programming guides, I'm not seeing any
    mention of that.
    I'd like to add a "me too" to this.  I haven't done a lot of research into AIR yet and it's not immidiately obvious what's involved with getting offline functionality.  I think I basically have the same question as the OP; do I end up (re)writing a bunch of business logic in the Flex client (I don't want to).
    I'm still using Java EE on the server for a (business logic) data access layer.  Specifically, I'm using a DTO inheritance strategy and setting up to auto-generate (mirror) .as DTOs with (Maven) flexmojos (I think flexmojos uses GraniteDS, but I use BlazeDS - the code generation tool shouldn't matter AFAIK).  So far, I'm quite happy with how the whole setup works.  However, I'd love to hear what kind of Java + Flex + AIR development strategies others have been finding successful since a significant portion of the online resources and documentation I've found tend to be somewhat trivialized.
    I hope I'm not hi-jacking the OPs question here (if so, I apologize), but what I'd like to know is if AIR is capable of any 'for free' type offline capabilities (like the way BlazeDS and LCDS 'just work').
    Ryan

  • Bug in navigateToURL? (AIR HTML/JavaScript) window name parameter not working

    Hi,
    I have to popup the default browser from a HTML/JavaScript application.
    All links on the Air page should be opened in the same tab in the same browser window that was opened by the first click on a link.
    The code I use is
    var urlString = "http://www.adobe.com";
    var request = new air.URLRequest(urlString);
    air.navigateToURL(request, "myNewWindow");
    The myNewWindow parameter does not seem to be taken into account:  a new tab is opened on every click.
    I created a new Air application in Aptana and added the following straightforward code to it:
    <html>
        <head>
            <title>navigateToURLTest</title>
            <script type="text/javascript" src="lib/air/AIRAliases.js"></script>       
        </head>
        <body>   
    <a href="http://www.google.com"
                onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">New Tab</a>
            <br />
            <a href="http://www.adobe.com"
                onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">Same Tab</a>
        </body>
    </html>
    Same problem.
    Does anyone have any idea?
    Thanks

    Is there really nobody who can answer or at least try to reproduce this? 
    It's just creating a new Air HTML/Javascript application with one link with a named window target!

  • Will FB 4.5 use AIR 3.0?

    Does anyone know when/if Flash Builder 4.5 will get updated to use the latest AIR 3.0 sdk?
    I've seen tuts on doing this manually but prefer this being built into FB.
    Thanks

    Hi Don,
    I was able to glean the answer by reading the link John Hall posted, but also this one from Andrew Trice:
    http://www.tricedesigns.com/2011/09/21/flex-flash-builder-4-6/
    Since the new AIR captive runtime only comes with AIR 3.0, and since FB 4.6 includes the ability to use the captive runtime, FB 4.6 must use AIR 3.0.  No, no, I'm not related to Sherlock Holmes.
    I do wish Adobe Corp. & their evangelists/bloggers would be a little more obvious about this, but I keep reminding myself that they eat, drink and breathe the technical aspects of FB/AIR/Flash on a daily basis and probably are not the marketing people and just assume we devs can parse it out of the bigger picture.

  • 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?

Maybe you are looking for

  • How do I instruct my HP 3545e all in one printer to only print black and white?

    I print from my ipad. But can't seem to find a way to toggle between coloured and black/white. This question was solved. View Solution.

  • IPhone sync with MacBookPro-- problem with calendar snyc

    My iPhone will not sync calendar items from MacBookPro -- Other things seem to sync fine.  Can anyone help -- I'm missing appointments!!

  • Airplay sound not via iTunes

    hello, I am not an expert in all those Airplay devices. I appreciate your help. I want to buy below Soundlink System with Airplay (just came out so no help so far online) and connect it to iMac and mobile devices. iMac can play music from this speake

  • Unable to use warp in script - Photoshop CS2

    Hi, I could not warp the image using javascript from Adobe Extendscript interface. This is what I tried. 1) Created an action with warp, converted the action to jsx using xtools. 2) Used Scriptlistener to record ward and used the javascript. When the

  • MAC OSX Lion 10.7.1 Become Slow On Network

    Hi All, My MAC OS X 10.6.8 was slow on the network window server 2008 and after updating to MAC OS X Lion 10.7.1 still slow on the network and also MAC OS X Lion cannot seach on the netowrk. Kindly advise if somebody resolve this issue. Best regards,