Link to API for air.swf

Hi, I've been searching the interwebs all morning and can't seem to find a link to documentation describing the properties, methods and events I can use from the air.swf file in conjunction with using AIR via a web browser.  I'm able to load the air.swf and see the framework status, but I don't know what other options I can use to perform actions via the API.  If anyone knows of a link to documentation I'd appreciate hearing about it.  Thanks!

Hi, thanks for the information but I already have the developer guide that contains this.  What I'm looking for is documentation on the class specifications for the browser API.  Two methods that are mentioned in the documentation I already have are getStatus() and getApplicationVersion(), but I haven't seen any other methods, properties or events documented elsewhere.
Ideally if there's something akin to the Flash help file documentation of the internal classes that would be great.  Thanks for your help! 

Similar Messages

  • Working with badge.swf and air.swf (browser api)

    I basically want to install and run my app through the
    browser so ive been testing but can't manage to figure out how the
    air.swf api works. i am stuck at loading air.swf. the page below
    has a tutorial but a downloadable sample code would be perfect, not
    sure where the little snippets of code from the "Loading the
    air.swf file", "Checking from a web page if an AIR application is
    installed", "installing an AIR application from the browser", and
    "Launching an installed AIR application from the browser" go in my
    own codebase. Also im a bit unclear on where i get appid or
    developer id. if someone has an example app or more in-depth
    explantion of incorporating the given code , i would much
    appreciate it.
    http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html

    quote:
    Originally posted by:
    cjm771
    can't manage to figure out how the air.swf api works
    The main thing you must understand about air.swf
    is that its most important functionality can only be called from
    within a UI event handler, such as for a button click. It's very
    picky about this. You can't, for example, use the button click
    event handler to begin the loading of air.swf, then in the "loaded"
    callback do the air.swf API call. air.swf has to be loaded and
    ready at the time the event handler is called. So, load it on app
    startup. I even go to the extent of disabling the buttons that call
    into air.swf until it's loaded.
    quote:
    im a bit unclear on where i get appid or developer id
    The appid is your application's unique ID, which
    you gave in setting up your project. Adobe recommends using
    something based on your web site's domain name, in reverse order as
    is done in Java and Objective C. If you're at foo.com, and call
    your program Qux, then com.foo.qux is a good appid. The use of
    domain-like names helps ensure that programs from different
    companies don't collide with each others' namespaces.
    By default, the pubid is a random number assigned by the IDE.
    I forgot how you find out what number it used, just that there's a
    way. Or, you can assign it yourself, in the project settings for
    the AIR app. Right-click the project, go to the Run/Debug Settings
    section, edit the launch configuration for your AIR app. You'll
    find a Publisher ID field there. The documentation for ADL may be
    helpful for picking your own pubid.
    quote:
    if someone has an example app or more in-depth explantion of
    incorporating the given code , i would much appreciate it.
    See my code in this thread:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=75&catid=697&threadid =1352505&highlight_key=y&keyword1=air%2Eswf

  • APIs for Project Events and Project Invoices

    Hi All,
    Can anyone tell me the APIs for creating project events and project invoices.
    any help will be greatly appreciated.
    Thanks
    gt1227

    Hi
    go through the below link, all API for projects API's are listed
    http://docs.oracle.com/cd/B12190_11/current/acrobat/115pjapi.pdf
    Thanks
    Krishna

  • AIR.SWF in-browser API is broken with FP 11.2

    The AIR.SWF in-browser API, as documented here:
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-1c6efe05128cca667e7-8000.html#WS5 b3ccc516d4fbf351e63e3d118666ade46-7cd2
    is no longer working. It reports that AIR isn't installed when it really is.
    I've filed a bug for this here:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3062591

    LocalConnection will only work between two applications running on the same machine.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/LocalConnecti on.html
    "LocalConnection objects can communicate only among files that are running on the same client computer, but they can be running in different applications — for example, a file running in a browser and a SWF file running in Adobe AIR."
    If you need to communicate between an app running on an iOS device and a swf in a browser on a computer look into the ServerSocket Class:
    http://help.adobe.com/en_US/air/reference/html/flash/net/ServerSocket.html
    Works a little differently than LocalConnection but will allow connections between two different physical devices (ie: 2 computers, a computer and a mobile device, 2 mobile devices, etc).  Since the iOS device uses the air runtime stuff it should have access to the ServerSocket Class while the browser swf can use a standard Socket to connect to the iOS device.

  • Java API for Adobe Flex(AIR and Browser)

    Hello Community,
    Sometime ago i started the project located at: : http://code.google.com/p/gwt4air/ , wich primary goal was to bring another approach on writing AIR application by providing a Java API for the AIR API. On top of that i added support for PDF and Excel generation using Java.
    I m glad to announce that  the project  will now add support for the Flex Framework
    I wrote a post about it on the main page.
    The Idea behind it is to give Java Developers a more simple way to write Flex Application by leaveraing a swing like API.
    I hope this project will be a good alternative to the MXML+ ActionScript approach and looking for people willing to join the project.
    Regards,
    Alain

    Good question, I'd like to know this myself. 4.5 has a huge number of changes since 4.0.

  • Air and spry (adding observer and addEventListener to spry regions links to open for a new window)

    I'm trying to add a region.addobserver and addEventListener to spry regions so the links; that come for a external feed, opens in a new(default browser) window when clicked. The on*  events in regions do not work in AIR so, is there a way to do this?
    I have read a lot of the documentation on spry regions, addObserver and the addEventlistener but the samples don't deal with anything about external xml feeds with links in a spry region for a AIR app.
    The closiest i saw was the gallery http://labs.adobe.com/technologies/spry/articles/air/photo_gallery.html,  but it doesn't deal with:
    links,
    in a external RSS feed,
    in the spry region,
    to a new default browser.
    Has anybody  tried this before? Can it be done?
    Ex:
              <div spry:region="rssDataNews" class="SpryHiddenRegion">
              <div spry:state="loading" id="notification2">Loading feeds, please wait ...<img src="assets/spinner.gif"></div>
              <div spry:state="error">Failed to load data! Please try again later</div>
                <table width="100%" spry:state="ready">
                  <tr spry:repeat="rssDataNews" class="{ds_EvenOddRow}" spry:select="mySelectClass">
                    <td class="cellPad">
                    <span style="font-weight:bold">{title}</span><br /><br />
                    {description}<br />
                     <a href="{link}" target="_blank">[Read full article]</a><br /><br />
                    </td>
                  </tr>
                </table>
          <div>
    The <a href > only opens the url in the native AIR window. I need it to open in a web browser.
    Message was edited by: dee12345654321

    About on* events
    They do work, but not as attribute on your HTML elements, you will need to use eventlisteners to attach them on the relevant nodes.
    How: http://labs.adobe.com/technologies/spry/samples/dom_utils/add_event_listener.html
    About links
    Currently in Adobe AIR, its not (easily) possible to open or execute other programs on the users PC. I have seen die hard hacker user Java to get around this limitation. But i suggest you check out the Adobe AIR forum to confirm that you cant open links in the users browser.
    But, Adobe AIR is basically a browser

  • [svn] 4235: Fix for - Links and type information missing for air.update. event events in @event listings

    Revision: 4235
    Author: [email protected]
    Date: 2008-12-04 13:02:39 -0800 (Thu, 04 Dec 2008)
    Log Message:
    Fix for - Links and type information missing for air.update.event events in @event listings
    Also adding support for multiple @event for a method.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18319
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18319
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Hi All,
    I have sorted out the problem and this is fixed now.
    Regards,
    Ajay Kunde

  • URLRequest cacheResponse solution for non AIR SWFs?

    I am needing to turn off caching for and URLRequest and cannot seem to find a solution for a plain flash SWF. I see that cacheResponse can be set to false for AIR apps, but I am working in plan ol' Flash Pro creating a SWF.
    Has anyone succesfully set cacheResponse on an URLRequest (using URLLoader) so it does not cache any of the responses and loads the files new every time?
    This is a restating of my post here: http://forums.adobe.com/message/4095632#4095632
    Thank you for any help.
    Doug

    if this is a web app, append a query string with a changing value.

  • Load AIR swf in browser

    Hi,
    Is it possible to load a AIR swf in browser
    without creating a new flex application that load that AIR swf?
    Best Regards,
    Mihai

    The only thing that really matters is whether important APIs are available in the runtime.  I can write a swf that draws a bunch of circles and it will run in both AIR and the browser.  But then it isn’t that useful for AIR, so I start using AIR APIs and then it won’t run in the browser because those APIs aren’t available in the browser players.
    You could design your AIR app as two pieces: an AIR shell that does AIR things, and a sub-SWF that doesn’t make any assumptions about AIR APIs.  That sub-SWF then has a better chance of running in the browser.

  • Local Javascript API and AIR

    I'm having a hard time describing this problem, but I'll try...
    Is there anything I can do to allow Adobe AIR to load a JavaScript API to interact with JW Player (longtailvideo.com)?  The API already exists, and I can port my AIR code over to an HTML page on my server and it works fine.   Longtail support boards say that the API will not load locally (either locally on a folder OR "locally" in an AIR app).  They said it is a restriction of Flash.  Is this correct?  I did put my HTML files on my desktop and the API did NOT load.  It only seems to load when I put it on my server and run it on a domain.
    I assume this is somehow related to security. JavaScipt cannot interact with Flash unless it is on a domain?  Is that correct?
    I can get the player to load and play video just fine in AIR.  However, the API never loads, so I cannot interact with it.
    This is the last piece of a very LONG project I have been working on, so any help would be greatly appreciated!    Is it possible to get AIR to "pretend" it is on a URL?  I tried referencing files with app:/, and that had no impact.

    I am getting close on this!  I'm hoping someone can help me figure out the last step.
    I am using an iframe and sandbox method to load the swf video player like this:
    <iframe id="playerFrame" src="player.html" sandboxRoot="http://localhost/air/" documentRoot="app:/"></iframe>
    So now the JavaScript API for the player actually works in player.html.   The BIG problem is that the videos are downloaded to the app-storage directory.  Well, based on AIR security, the iframe (non-application sandbox) content cannot access the application storage directory.  So now only videos that are in the app:/ location will load.  Unfortunately, this application downloads video from a central server and places them in the application storage directory.  Security also will not allow me to download to the app directory.  So I am in an endless circle!
    I can't use the API if I am in the application sandbox because there is no domain (sandboxRoot) available.
    The API works in the non-application sandbox, but I can't access the downloadable content.
    What am I missing here?  Surely, people have needed to interact with a SWF file using JavaScript and load dynamic content at the same time.

  • Adobe air swf file error in browser

    my fla file setting
    version: adobe air 1.0 actionscript 3.0
    i able to compile without problem and when i load the swf file in browser, if my actionscript included this line "import flash.filesystem.File". My flash just show up "blank" . no error in flashlog. if i removed this line, my swf file able to run. what is wrong?
    p/s: i embeded the air app as swf and open with browser

    You can't load SWFs published for AIR in a browser. The Flash plug-in does not recognize the extra AIR APIs like File.
    AIR SWFs can only be used as part of an AIR application.

  • Google Maps API for flash not working on real device iPad

    I use flash builder 4.5.1 to build app for Google Maps API for iOS (map_flex_1_20.swc), and it is working well even on the simulator on PC, but after I generate the IPA use FB4.5.1, and install on iPad , it not working at all, only show a while screen.(I used the TabbedViewNavigatorApplication, the botton Tabbar is working, I can switch the page, but on the maps page show nothing)
    I also try the code on Flash CS5.5  using map_1_20.swc , when on the PC debug, it works well,(swf files), but install the AIR ipa on the iPAD, show nothing only a white sceeen.
    anyone  met this problem?

    You can also use the MapQuest Mobile Flash Maps API.  It's supported by MapQuest and does not need any work-arounds in order to work with the Flash Platform.  It also takes advantage of the "build once, deploy anywhere" functionality in Flex 4.5+.  MapQuest provides a demo app for Android and iOS and has the source code available for download, too.

  • Problem passing arguments with air.swf

    I'm attempting to launch my AIR application using
    launchApplication() in air.swf. I'm having problems passing
    arguments to my application due to what appears to be some
    restriction in allowed characters. To get around this, I've even
    tried URL encoding and Base-64 encoding my arguments to make them
    more friendly, but it's still failing:
    Error: Invalid argument: PG5vIGlkZW50aWZpZXI+
    at AIR$/escapeArguments()
    at AIR/launchApplication()
    at
    adlm_launcher/onDownloadClick()[E:\adlm\launcher\src\adlm_launcher.mxml:181]
    It seems that any kind of punctuation is not allowed in
    arguments. URL encoding them doesn't work either because the % is
    rejected. Is there any other way around this?

    Yes; it's a security restriction. Browser invocation require
    process creation, and many process creation APIs giving special
    meanings to certain characters. Letting those characters through
    has in the past been a source of security vulnerabilities. While we
    also try to avoid using APIs with this behavior, extra layers of
    defense are also good.
    I think + and / may actually be safe choices; you make a good
    point that they're useful for Base64. If you could submit a feature
    request at www.adobe.com/go/wish, we'll definitely consider it.
    Another option, btw, is to use the LocalConnection API to
    pass data between the web page and your application once your app
    is launched. LocalConnection has fewer restrictions on the data
    passed.

  • Air.swf getApplicationVersion()  not returning

    Hi,
    I am using air.swf api to detect installed applications... but this doesn't written any call backs...
    any idea ?
    Regards,
    Brijesh

    Hi Chris,
    Thanks for the reply...
    I have 2 air applications... From one application, I need to detect if other air application is installed or not.. Fo this I am using the air.swf file..
    and air.getApplicationVersion() method of air.swf...
    But sometimes it doesn't invoke the callback method..
    Also, I was looking to if this feature can be used in offline mode.. As air.swf needs to be downloaded always.. can this be used for offline mode...
    Regards,
    Brijesh

  • I need API for Narrator in Ease of Access

    Hi,
    I need to see if Narrator accessibility is on/off. (Only on WP 8.1)
    How can it be done? Is there any API for this?
    I was googling for a long time and can't see anything.

    While I recognize the potential for abuse, an API for determining whether or not Narrator is running would be very useful for developing accessible apps that work across devices.
    In my limited experience developing the test application for a Cordova accessibility plugin on Windows Phone 8.1, I can provide a couple good reasons for providing a way to detect if Narrator is running.
    Aria live regions simply don’t appear to work on Windows Phone 8.1. If you test any web pages that use live regions, Narrator on Windows Phone fails to announce changes to the live region. 
    Live regions seem to work on the desktop, but are harder to work with for providing text to speech for complex interactions than the Windows.Media.SpeechSynthesis API. For example:
    It’s difficult to stop speaking a live region update. Once, a screen reader starts speaking a string from a live region, removing the text node or replacing it with an empty string will not stop speaking that string.
    I’ve implemented "speak" and "stop" methods to speak or stop speaking a string of text in my Cordova accessibility plugin for Windows, but without knowing whether or not Narrator is on or off, the methods will work all the
    time, even when Narrator is off, which is not desirable.
    Cordova apps are often developed to use gestures for navigation. The pointer event listeners that respond to these gestures may not be accessible when Narrator is active, in which case is important to provide an alternate mode of navigation. Windows
    Phone already provides an example of this; if you scroll to the bottom of the start screen, there is a button that navigates to the application list, which may be there for accessibility, because the two-finger swipe gesture to access the application
    list may not be easily discoverable to someone using Narrator.
    Here are links to the test application and mobile accessibility plugin for reference:
        Test App: https://github.com/majornista/phonegap-mobile-accessibility-test
        Plugin: https://github.com/majornista/phonegap-mobile-accessibility-test

Maybe you are looking for

  • MacBook Pro won't boot up

    Earlier today I was using my computer and everything was fine until it froze up on Firefox and I couldn't manually force it to close. So I manually shut off my Mac. Since then when I try to turn it on, it will get to the apple logo screen and the ind

  • Says Error is 'Bad Image' Error 7 (Windows 193)

    When I try to get into iTunes this error message pops up. I've reinstalled iTunes, as well as tried every solution in the Troubleshooting section. I've had iTunes on my computer for quite sometime and it's only started doing this today. Any suggestio

  • Hide variant button in menu toolbar

    Hi experts I would hide the variant button in the menu toolbar for the transaction vl10g Link:[http://img104.imageshack.us/img104/5439/vl10g.png] somebody can help me?? thanks Marco

  • Dashed Line Setting Not Working

    I have a graph (I've ungrouped it, it is no longer a graph as far as AI is concerned) that I'm trying to get a dashed line:  it doesn't work.  I'm uploading screenshots to show I'm not completly crazy.

  • Patch upload problem

    Hello everybody,   After installing IDES, i had done the creating logical system, it create a request. after that i  have update the SPAM,  when i am trying to upload other patches then following message is displayed. Phase RUN_SPAU_?: Infomrmation o