Flash app converted to AIR/desktop app: actionscript not running

Hi there,
I have a flash app that runs on a browser useing actionscript and webservices for getting data, converted to a AIR desktop app. It access a local database for data. I have opened the .fla file and changed the publishing setting to AIR and set the document class to the Main.as. Also, I have added the following .swc files - framework.swc and rpc.swc. While trying to debug it is showing that "Your swf does not have action script to debug". While running it, I am getting a blank screen. Could you guys please help me out in what I am missing or doing wrong ????????
HELP PLEASE!!!

Hi there,
I have a flash app that runs on a browser useing actionscript and webservices for getting data, converted to a AIR desktop app. It access a local database for data. I have opened the .fla file and changed the publishing setting to AIR and set the document class to the Main.as. Also, I have added the following .swc files - framework.swc and rpc.swc. While trying to debug it is showing that "Your swf does not have action script to debug". While running it, I am getting a blank screen. Could you guys please help me out in what I am missing or doing wrong ????????
HELP PLEASE!!!

Similar Messages

  • How to launch an Air desktop app from a second Air desktop app?

    Hi,
    Is there a way to launch an Air desktop app from a second Air desktop app?
    I'm using Air 4 with Flash CS 6 on Windows.
    Thanks

    According to Adobe documentation, AIR doesn't allow you to launch one application using another on desktop. The best bet that I could find at the moment would be to use the File.openWithDefaultAppilcation() function and open a file(like a .doc or .txt file) that has an AIR app set as the default application to use for X filetype. Unfortunately, launching app(.exe, .app, etc) files directly is not allowed. Probably for safety/security reasons. You might be able to get around that with a Native Extension though. Below is a link to the File.openWithDefaultApplication() method which includes a table of all the filetypes not allowed. Tried messing around with some ways around it, but the best I could do was open a new Finder window(testing on a Mac) and highlight the file. The code below assumes that both AIR apps are installed in the same app directory. Not sure how it would work on Windows but the result might be the same. For Mac, no special characters or anything was needed even though the app I was trying to open had spaces in the filename.
    var filePath:String = "file://" + File.applicationDirectory.nativePath + "/App to highlight.app";
    navigateToURL(new URLRequest(filePath));
    File - Adobe ActionScript® 3 (AS3 ) API Reference

  • Include Air ( desktop app ) inside Mobile app permited by Apple / Android?

    Include Air ( desktop app ) inside Mobile app permited by apple / android?
    This is my question....:
    I need a "viewer" app run in a desktop machine... via p2p... ( done and working )
    I will like to include it in my iOS / Android Release, an then by example move it to the documents folder.
    Run iTunes and then copy the file from the shared document folder.
    Is this permited by apple / android / adobe ?
    Thanks....

    just tracing some kind of tests I'm doing.
    A couple of hours ago I left working 2 instances of my Application, leaving alone this computer: one instance is the Mac desktop version and the other one is the Web version. In this case both versions were running on the same computer (an iMac with OS X Mavericks):
    1) the AIR/Mac version have been recompiled yesterday with the new AIR4(.0.0.1619 - AIR 3.8 is used to fall in a equivalent way - no changes)
    2) the Web version have been compiled targeting FP 11.8 and it is running on Chrome browser with PepperFlash NOT disabled (which reports version MAC 13.0.0.80, the latest)
    I left working both the Mac and the Web versions of the Application opened on the pc screen (= not minimized) but kept totally behind some Terminal/ssh windows (= not on OS focus and the system is not asked to update any screen area of the app for sure).
    I came back after about 2 hours and I got the browser version connected&running (but it is not a rule) and I also found the AIR-based Mac version disconnected (uau, usually I found the app disconnected but with the screen freezed at last user look ->) which rapidly reconnects upon my click on the Apple dock icon (bring to front).
    Why these different behaviours? I ask to myself.
    The two versions of the software are TOTALLY the SAME application: except for the first Flash file (a 24kb swf file for the Web version and a 170kb dmg file for the Mac version), basically a platform-dependent loader, both versions loads the same remote swf modules. Of course t is AIR (or my first Flash file?).
    I attach the source code of the Mac version of the [first file] AIR-based application at the following url:
    http://92.63.230.100/others/others/wtstarter_mac.as.txt
    _Adobe_, is it a bug? isn't it?
    mc

  • How do I get Adobe Air Desktop App to notify user that a URL text file has been updated?

    How do I get an Adobe Air Desktop App to notify user that a URLRequest ".txt" file has been updated? via blinking system tray icon or something.
    New to Air and need someone to point me in the right direction. I have been searching web for hours and probably not asking the question right.
    I have a very simple Desktop App that just loads a text file from a web location into a dynamic text field at a set timer. it just repeats this action on the timer. right now every 5 minutes
    What would the actionscript be to tell the Air App to look at the date or time stamp of the ".txt" file and notify user if its new?
    Thanks

    Try to follow below steps
    Click on Finder and then hold Command + Shift + G keys on your keypad
    It will open Go to folder window, type  exactly ~/Library and click on Go
    Then open Application Support > Adobe folders
    Trash AAMUpdater and OOBE folders.
    Now click on finder and hold Command + Shift + G keys on your keypad.
    This time type /Library and click on Go.
    Make sure to remove ~ symbol.
    Then open Application Support > Adobe folders.
    Trash AAMUpdater, Adobe Application manager, OOBE folders.
    Now Click on Finder and then hold Command + Shift + U keys on your keypad.
    It will open utilities folder.
    Trash Adobe Creative Cloud and Adobe Application Manager folders
    Download and Run CC cleaner tool from below link
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems/_jcr_conte nt/main-pars/accordion_container_1/accordion-par/accordion-item-1/accordion-item-par/proc e dure/proc_par/step_3/step_par/download/file.res/AdobeCreativeCloudCleanerTool.zip
    Accept the license agreement and click on Adobe Application Manager
    Then click on clean up selected
    Close the window
    Download and install Creative Cloud App from below link
    Free Creative Cloud | Download Adobe Creative Cloud free trial

  • Pass parameter to new view in air desktop app

    Hi Guys,
    Have developed a mobile app that uses this code .....
    public function generalList_ChangeHandler(event:IndexChangeEvent):void
    navigator.pushView(Detail, list.selectedItem);
    .... to pass data from a list item that the user clicks to a new view called Detail. 
    This is a very common requirement. ie  Scroll a list, and then click on an item to go to a new view where the
    details about the item selected are rendered.
    ..but, I cannot see how to do this in a classic air desktop app.
    It must be pretty simple but it is not im Tour de Flex and I can't find a solution on the web.
    What would the equivalent code for an air app please?
    Thanks,
    Richard

    Oh, I see.
    Your right if I remember correctly you implemented your own version of a ViewNavigator for your AIR application.
    If you want to use the mobile components in your AIR application you need to add the swc to your project 'mobilecomponents.swc'.
    You do this right click project->propertie, then select Flex Build Path and focus on the Library Path tab. Then click "Add SWC" and browse to 'C:\Program Files (x86)\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\frameworks\libs\mobile' and select the mobilecomponents.swc.
    That should allow you to leverage the ViewNavigator in your AIR application. However, as your AIR app is not a MoblieApplication you will have to instanciate your own instance of ViewNavigator to use and push views to.
    Hope that helps.
    Greg

  • Publishing air desktop app error creating files

    Hello I am using flash cc pro to try and publish my flash document  as a windows desktop app. I keep running into an error
    Error creating files. The AIR version set in Publish Settings of the initial content SWF exceeds that allowed for the descriptor namespace.
    I am trying to publish using Air 14.0.0.178. here is my descriptor file.
    <application xmlns="http://ns.adobe.com/air/application/3.1">
      <id>project18</id>
      <versionNumber>1.0</versionNumber>
      <filename>project18</filename>
      <description/>
      <name>project18</name>
      <copyright/>
      <initialWindow>
        <content>project18.swf</content>
        <systemChrome>standard</systemChrome>
        <transparent>false</transparent>
        <visible>true</visible>
        <fullScreen>false</fullScreen>
        <aspectRatio>portrait</aspectRatio>
        <renderMode>auto</renderMode>
      </initialWindow>
      <icon/>
      <customUpdateUI>false</customUpdateUI>
      <allowBrowserInvocation>false</allowBrowserInvocation>
    </application>
    thanks.

    Hi,
    Can you please share your file for us to investigate this issue?
    Thanks!
    Mohan

  • AIR desktop app installation prob

    Gidday
    I'm having trouble getting my AIR desktop app (AIR2.5 with a self-signed certificate) to do auto updates.  I've had it updating fine in the past, but now get the following message:
    "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    Here's my method when I test the installation:
    - publish a new AIR file using the SAME version number as the currently released app eg 1.017
    - install it on my local machine
    - publish a new AIR file with an incremented version number, in this case 1.018
    - set my text file that the app checks online for updates to contain 1.018
    - upload 1.018 AIR file to my site
    - run the desktop app (version 1.017).  It successfully detects there's a new version, and downloads it.
    - it starts to install, and then I get the error
    I've researched this all afternoon, and have found articles mainly talking about expired certificates.  So I created a new certificate, and the problem still occurs.
    Also, I've tried uninstalling my app from my local machine, but I still get the installation error.
    Any ideas how to rectify this, so that I can continue using auto updating rather than force people to uninstall and download the new version for installation?
    Thanks for your help.

    Nevermind - the txt file that contains the version number and the url for the updater has the url for my live site, not my test one, so I changed it , and it installed fine.

  • My adobe air desktop app keeps trying to update unsuccessfully

    my free adobe air desktop app keeps trying to update unsuccessfully
    whatever shall i do?
    thanks
    system
    Hardware Overview:
      Model Name: Mac Pro
      Model Identifier: MacPro3,1
      Processor Name: Quad-Core Intel Xeon
      Processor Speed: 2.8 GHz
      Number Of Processors: 2
      Total Number Of Cores: 8
      L2 Cache (per processor): 12 MB
      Memory: 10 GB

    Hello,
    I'm sorry you're having trouble. I'm fairly certain this problem is occurring on the Air side and not on the Acrobat.com side of things. Please try reposting your question in the Air forums.
    Good luck!
    Michelle

  • Adobe AIR desktop app with an embedded runtime

    Hi,
    Does an Adobe AIR desktop app with an embedded runtime (standalone/portable)  that got published on Windows work on a Mac too?
    Thanks

    No, you need to compile a "bundle" with ADT on each platform. On Windows it creates a directory with an .exe and the AIR runtime. On OS X it creates a .app file.

  • Using FlexNativeMenu in AIR desktop app

    Hello, I am having trouble using the FlexNativeMenu component in an AIR desktop app...
    It seems the syntax has changed since previous versions of Flex, so I'm not sure how to get this to work.
    I have my menu items / data provider as:
    [Bindable]
    private var menubarXML:XMLList =
    <>
    <menuitem label="File" data="top">
    <menuitem label="Exit" data="QUIT"/>
      </menuitem>
      <menuitem label="View" data="top">
    <menuitem label="MenuItem1" data="mi1"/>
    </menuitem>
      <menuitem label="Help" data="top">
    <menuitem label="Overview" type="check" data="OVERVIEW"  />
      </menuitem>
    </>;
    And then I tried to set the menu as such in the MXML:
    <mx:Menu>
    <mx:FlexNativeMenu id="rrMenu" showRoot="false"
       labelField="@label" dataProvider="{menubarXML}"
       itemClick="menuHandler(event);" />
    </mx:Menu>
    This didn't give an error, but shows nothing when I run the program.
    So I tried just FlexNativeMenu by itself, but this tells me that it must be placed in Declarations instead of the main stage. So I moved it to Declarations, but it still shows no menu bar...

    Hello,
    You didn't mention which version of Flex you're using, but I suspect it might be 4.5.  If so, please see if this helps:
    Creating an application or window menu
    Thanks,
    Chris

  • Extend supported icon sizes for AIR Desktop Apps

    Currently AIR Desktop Apps seem to only support a limited set of icon sizes (16x16, 32x32, 48x48, 128x128px).
    It would be great to see bigger icon sizes (like 256x256 and 512x512px) being supported as well. For example, Windows7 does not display 128x128px icon size so the maximum icon size for AIR apps on Windows is currently 48x48px (which actually is pretty small and results in pixelated icons).
    Can you please consider the option of extending supported icon sizes?

    Feature request for this issue: Bug#3844899 - Adobe AIR does not support 256x256 desktop icons on Windows Vista, 7 or 8.x

  • Apps Tab in CC Desktop App giving Download Error Screen

    Ever since the udate to Mavericks on my Mac, I have had this issue.  I cannot view apps to install or install apps through the CC Desktop App.  I have deleted the AAMUpdater Folder, I've renamed the opm.db file like in other posts and it still doesn't fix it.  I've also, uninstalled and reinstalled the Creative Cloud Desktop App with the previously mentioned files deleted/renamed and that doesn't work either.  Creative Cloud Desktop App needs to be fixed.

    Internet connection is fine.  Even turned off any firewalls running and it still doesn't work.  All tabs work except for the Apps Tab.  All I get is this screen:

  • Cannot download any apps through the CC desktop app, it just hooks up. We have a team subscription and a member of the team can download apps perfectly. What do I need to do?

    Cannot download any apps through the CC desktop app, it just hooks up. We have a team subscription and a member of the team can download apps perfectly. What do I need to do?

    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -try some steps such as changing browsers and turning off your firewall
    -also flush your browser cache so you are starting with a fresh browser
    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip/
    http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • What are the ways to integrate PayPal (or other monetizing service) into an Adobe AIR desktop app?

    Hey all
    I just finished publishing my AIR mobile app for iOS and Android, both featuring freemium style in-app purchasing/billing, for a single purpose only - opening the app to be full featured.
    Now the client wants a desktop version of the app. I need a way to monetize the same way: the user wants all the features - they click a button in the app, pay the 2 dollars, and now all the features are accessible.
    I think going out to PayPal, paying there and returning to the app would be best, but I cannot get the files I found here to work.
    Do you have any suggestions of a workflow with examples, or a service with AS3 support?
    thanx

    http://www.as3gamegears.com/monetization/as3-paypal-api/

  • How to change OS resize settings to exclude AIR desktop app

    Hey guys. I'm creating an app that is a little strip across the bottom of the desktop screen. I want alwaysInFront=true but I also don't want it cover up other maximized apps. I want maximized apps to only be resizable to the screen height minus the app height. (kinda like the way the Mac Dock works).
    Can AIR (or an extension) do this or am I trippin'?

    Just found this post: http://stackoverflow.com/questions/9601041/crop-screen-maximized-resolution. Not possible within AIR but could be done with extension.
    Anyone know OSX code to do this?

Maybe you are looking for