Converting Air Project to Web Project in Flash Builder 4

I have an Air project that I need to convert to a web project to post online.  I've looked online with no luck so far, but perhaps someone can point me in the right direction.
The closest thing I see to being what I want is if I go to Properties > Run/Debug Settings.  In there I tried going to New > Web Application but when I browse for Project it comes up empty, and so is the "Application file" dropdown.  I tried screwing around int he Source tab in the same window but it doesn't seem to help much.
Other things that look close to what I want but don't work are when I right click my project, there's a "Add/Change project type" but all options are greyed out and I don't see anything web related in the options anyway.
Also there's Properties > Targeted Runtimes, but there's nothing there I can do.
Then in Properties > Flex Compiler I have "Generate accessible SWF file" checked.  But when I try to use that file it won't work in the browser flash player.
So... is there an easy way to convert an Air project to a Web project?
Thanks!

I'm glad (but at the same time sad) someone has had the exact same problem I had.
I've tried a few things (though none successful).
- creating a flash pro project from the fb project
- creating an AS3 project from the as3 mobile project (which runs on air). now this one I thought would work, and it does in Flash Player, however, when I try to run it with the generated html file, all I get is a string of errors.
Here is something that does work.
If you create an AIR project in Flash Pro (I've only tried this in CS5.5), when you publish the project, it will generate the swf and html files and the html file works and the swf runs great. Unfortunately you have to start that way (which sucks for programmers that want the benefits of Flash Builder). I haven't found anything to properly convert it yet.
I hope this is some insight, even a year later.

Similar Messages

  • AIR for Apple iOS Support in Flash Builder is not installed.

    I've written an application in Flash Builder and I'm now attempting to get it running on an iPad.
    I am running on a Mac (OSX 10.6.7)
    I have FB 4.5 installed and downloaded the separate 4.5.1 update file successfully updated FB to 4.5.1.
    I have downloaded and installed AIR 2.7.
    I have downloaded and installed the AIR sdk.
    I have an iOS developer account and have created my developer certificatn p12 file, created an Apple Id for my application and a provisioning profile.
    I created a new "ActionScript Mobile Project" for my application and enabled the Apple iOS platform.
    I have entered my certificate and provisioning information into FB.
    I created a "Debug Configuration" for my project.
    When I run my debug configuration, I am prompted for my Certificate Password (which I enter).
    I then receive a pop-up message with the following error:
    "AIR for Apple iOS Support in Flash Builder is not installed. To enable packaging support for Apple iOS follow these instructions."
    The link for the instructions links to the following knowledge base article:
    http://kb2.adobe.com/cps/899/cpsid_89938.html
    I have Flash Builder as a part of the CS5.5 Web Premium (on DVD), which does not appear to have a "AIR for Apple iOS Support" option during the FB installation.
    So I followed the manual installation steps provided (although copying the described folders to my sdks/4.5.1 folder (rather than the sdks/4.5 folder).
    However, doing the above did not resolve the issue. I still get the same error message as before.
    Has anyone else encountered this issue, or have any suggestions on how to resolve it?
    Thanks in advance.

    In case anyone else runs into this issue:
    This problem was solved in this other thread in the Adobe AIR Installation Issues forums:
    http://forums.adobe.com/thread/867868?tstart=0
    Craig.

  • Flex iPad Application : Run code before application enters background  Application Type: Flex Mobile Application Target Platform: iPad AIR Version: 4.0 Development Environment: Flash builder 4.6  I want to run some code just before iphone application goes

    Application Type: Flex Mobile Application
    Target Platform: iPad
    AIR Version: 4.0
    Development Environment: Flash builder 4.6
    I want to run some code just before iphone application goes into background. I need function similar to didEnterBackground
    of native xcode app
    (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegat e_Protocol/Reference/Reference.h
    tml#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidEnterBackground:)
    I tried using devactivated function of flash.display.STAGE.
    I used following addEventListener:
    STAGE = this.parent.stage;
    STAGE.addEventListener(Event.DEACTIVATE, onAppDeactivated);
    It worked for me but only when device is connected to development environment in debug mode. When I create my release build
    it is not working.
    So how can I make sure that my code runs before application goes into background.

    Even I am facing almost same issue
    Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6

  • Netbeans - Enterprise project vs Web project

    This may seem like a kind of lame question, but having stuck with Vim for many months, Netbeans is my first venture into a proper IDE, and I want to make sure I become very familiar with it.
    Basically I was just wondering if someone could give me a more insightful breakdown of the differences between starting an Enterprise project within Netbeans, and starting a Web project. My understanding of an Enterprise project is that it is very much business-oriented, ie. relates to customer management, supply information, that sort of thing. But I really don't see the benefit in distinguishing such types of programs from general programs... in my eyes, it's like highlighting one particular category out of all the possible categories of software, for no apparent reason.

    This may seem like a kind of lame question, but
    having stuck with Vim for many months, Netbeans is my
    first venture into a proper IDE, and I want to make
    sure I become very familiar with it.More important than sticking with Vim is using the command shell, javac, java, and having a thorough understanding of how CLASSPATH works. Very good.
    There are others besides NetBeans, of course. Eclipse is free and not too bad. I prefer IntelliJ to both, in spite of the price.
    Basically I was just wondering if someone could give
    me a more insightful breakdown of the differences
    between starting an Enterprise project within
    Netbeans, and starting a Web project. What do you mean by "enterprise"? Is that one that uses EJBs?
    My
    understanding of an Enterprise project is that it is
    very much business-oriented, ie. relates to customer
    management, supply information, that sort of thing.No, you can do all those things using web apps without using EJBs. Does that make them less "enterprise"? I say no.
    But I really don't see the benefit in distinguishing
    such types of programs from general programs... in my
    eyes, it's like highlighting one particular category
    out of all the possible categories of software, for
    no apparent reason.I'll have to wait to hear your definition of "enterprise" before responding, but applications with and without EJBs are different. They certainly deploy differently - with EJBs use EAR files, without EJBs can get by with a WAR file. With EJEs required a Java EE container like Sun ONE, JBoss, Weblogic or Websphere. You can deploy a web app to all of those, or you can stick with a servlet/JSP engine like Tomcat.
    %

  • AIR 2.0 SDK installed but Flash Builder still giving error "NetworkInterface could not be found."

    Hi there,
    I am trying to retrieve the users MAC address to implement an authorization process on a AIR application. I have read that this is possible with the latest version of the AIR SDK (2.0).
    I am developing in Flash Builder and have discovered that it does not ship with the latest AIR SDK. Therefore I have tried two seperate solutions:
    1) Following these instructions for overlaying the latest AIR SDK onto the current Flex SDK.
    http://kb2.adobe.com/cps/495/cpsid_49532.html
    2) Downloading the latest Flex SDK (4.1) and using that.
    In both of these cases Flash Builder then recognises the NetworkInterface and NetworkInfo classes implying that the overlaying of the AIR SDK has been successfully. However when I then run the app the debugger throws an error on the following line:
    LINE:
    var results:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
    Note: I have imported both classes as well.
    ERROR:
    VerifyError: Error #1014: Class flash.net::NetworkInterface could not be found.
    Whilst it throws the above error it also traces the following text to the console:
    outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ Main$]
                           [Main[O] *[A]] {} ()
      0:debugfile "E:\Projects\ABETA\ABETA-AIRapp\flash-air\code;;Main.as"
                           [Main[O] *[A]] {} ()
      2:debugline 73
                           [Main[O] *[A]] {} ()
      4:getlocal0
                           [Main[O] *[A]] {} (Main[O])
      5:pushscope
                           [Main[O] *[A]] {Main[O]} ()
      6:debug
                           [Main[O] *[A]] {Main[O]} ()
      11:debugline 76
                           [Main[O] *[A]] {Main[O]} ()
      13:findpropstrict flash.net::NetworkInfo
                           [Main[O] *[A]] {Main[O]} (Object[A])
      15:getproperty flash.net::NetworkInfo
                           [Main[O] *[A]] {Main[O]} (*[A])
      17:getproperty networkInfo
                           [Main[O] *[A]] {Main[O]} (*[A])
      19:callproperty findInterfaces 0
                           [Main[O] *[A]] {Main[O]} (*[A])
      22:coerce __AS3__.vec::Vector
    I am not sure what steps to take next. I haven't found much about this online. The following adobe forum page is high on the google search results but when you click through it says I am unauthorized despite being logged in:
    http://forums.adobe.com/thread/528538?tstart=0
    I would greatly appreciate any advice.
    Many thanks,
    Gareth

    Be sure to check the namespace in your application.xml descriptor file.  It needs to support "http://ns.adobe.com/air/application/2.0" in order to access AIR 2 APIs at runtime.
    Hope that helps,
    Frank
    AIR Engineering

  • AIR 2.6 SDK incompatible with Flash Builder 4?

    I just installed the new AIR 2.6 SDK but FB4 complains that every swc file in the libs folder is "incompatible with this SDK" when I switch to design view. The application compiles and runs fine, I just can't see it in design view in FB4.
    Is anyone else experiencing this issue? I tried deleting my Flash Builder 4 folder from C:\Users\<username>\ and restarting FB4 in case it was a dodgy profile, but it made no difference.
    Any help would be appreciated. Thanks in advance.

    from http://blogs.adobe.com/cantrell/archives/2011/03/how-to-use-air-2-6-with-flash-builder-4.h tml:
    Right-click on your project and choose "Properties".
    Select the "Flex Compiler" section.
    In the "Additional compiler arguments" field, add -target-player=11.
    Click "OK".

  • CS5 Web Premium without Flash Builder Premium?

    So after spending an arm and a leg, you do not get a Flash Builder Premium with CS5 Web Premium but only Standard? This surprises me as I thought Adobe's greed is not as big as long term goals, promotion of Flash platform, being nice to users, especially as we all know Flash is a bit thin on some platforms and on the web at the moment. Obviously I was wrong and the greed surpasses all imaginable levels.
    I frankly don't get the calculation where for the same price I get a State Of The Art Hardware - Mac, plus all the Apple dev tools for FREE. That's a computer, yes a laptop, the best out there, brand new, PLUS the software. On the other hand Adobe (with whose products you can't build and sell as good apps as with Apple's), is selling you Web **Premium** at a very high price, and YET you have to pay even more to actually get FB **Premium**.
    Is FB considered like a useless add-on into the Web Premium bundle? Did they think, heck nobody will need it but let's give the basic version there to promote it a bit. Sort of like when you buy Windows, they give you a trial of some Antivirus software. Or is anybody thinking that FB is something I will use 80% out of Web Premium bundle? Or should it be packed with Video bundle? I really don;t get it.
    So it's like this for the same money
    Apple = Mac + Great Dev Tools + Tons of other apps
    Adobe = CS5 Web Premium minus- FB Premium
    To be fair, I did hear a rumor that if you complain to Adobe Customer Care, that they give you a license for free, which is the only fair thing. However, I'm waiting for quite some time now as my support case is on hold. What do you guys think about it and do you have any experience with it?

    Gritty_d it appears that Flash Builder 4.6 is only included with Production Premium and Master Collecton CS6 - http://www.adobe.com/products/creativesuite.html.  It is not included currently with the Creative Cloud.
    Did you purchase the upgrade to Web Premium or were you given a free upgrade to Creative Suite 6?

  • Air debug luncher dont lunch in flash builder 4.6

    hi
    i am using adobe flahs builder 4.6 for create air aplication,There are a few days adobe flash builder dont run adl , but adl added to proccess and dont view compiled application,please help to solve this problem
    i'm Sorry for weak English syntax

    DONE!!!
    OK. I followed the instructions on this page:
    http://help.adobe.com/en_US/flex/mobileapps/WSa8161994b114d624-33657d5912b7ab2d73b-7fdf.ht ml#WSa8161994b114d624-33657d5912b7ab2d73b-7fdc
    Especially this part:
    Important: If Windows is still unable to recognize your device, you need to install the appropriate USB driver from your device manufacturer. See OEM USB drivers for links to the websites of several device manufacturers from where you can download the appropriate USB driver for your device.
    Which took me to:
    http://developer.android.com/tools/extras/oem-usb.html
    That means that:
    You have to install the USB driver for connecting the tablet. As Sony didn't release it, you have to use the generic Android USB driver. Follow the instructions to do so, then restart the computer, and voilà.
    Hope that helps

  • How does one control the appearance of a web browser using Flash Builder?

    Using Flash Builder I wish to record the existing appearance of a web browser (e.g. position, size, menubar, caption bar, status bar) and change it to full screen, no caption, no menubar, no status bar, etc.  In this mode I will load a full screen graphic and other content in the browser and I want the user to not realize that everything is being displayed in a browser.  Later I need to return it to the initial appearance using the recorded settings.  Any guidance is appreciated.

    It appears that one must launch a new a new browser using JavaScript from Flash Builder whereby many, but not all of the properties I detailed, can be set.  Many browsers disable or can be configured to disable JavaScript from setting some of the properties.  Launching a new window in the 1st place is disabled in many browsers.

  • IOS/AIR Running and Debugging Issues with Flash Builder

    I'm having very frustrating intermittent issues running and debugging Flex applications on an iPad 3rd generation retina with Flash Builder 4.7.
    Until this morning, launching on device using both standard and fast packaging worked pretty well. Every now and again, I'd get a dialog saying the packaging had completed successfully, but it hadn't. A quick change of the USB cable to another port on my iMac and it started working again. I'd also randomly get a "Error occurred while installing the application: Invalid <device> specified" error, which quickly went away.
    This morning, with the same code base, the same certificate and provisioning profiles, Flash Builder has only managed to successfully package and run my application on my iPad twice and I must have attempted to launch fifty or so times. Standard packaging, fast packaging and with and without the useLegacyAOT.
    Does this sound like a Flash Builder issue? Is my iMac USB driver dodgy? Has anybody else experienced this?
    Any help greatly welcomed!
    Thanks,
    Simon

    Hi I have had this problem sometimes. With my Mac Book Pro.
    Try making a new flex application and see if you have the same result.
    When I had this problem I created a new Application and copied every thing from my other application.
    This my be a hard solution but I don't no any others.

  • How to display local HTML5 web page in flash builder mobile application?

    We have one single html5 web page that includes script tag to include a set of resources(java script).
    Currently we have tried using web view, htmlloader and IFrame, but none of the approaches worked as the page is included in the assets folder itself of the application, and we need to run it on the mobile device(not the browser).

    If all you are doing is loading an HTML5 web page I would look at using PhoneGap instead:
    http://phonegap.com/
    PhoneGap was bought by Adobe.

  • Trouble Import Flash Builder 4 project into Flash Builder 4.5

    Hi,
    I have quite a lot of Flash Builder 4 Air project which I would like to convert all of them into Flash Builder 4.5 project. However, after I tried to import it into 4.5, the project got error and saying that "application descriptor not found".
    I am posting it here because I believe it is due to improper import of the air project into 4.5. Flash Builder 4.5 should be intelligent enough to solve the problem when converting the project. Hope there will be a fix for it soon
    Btw, how can I manually solve this problem so that I can get all my previous projects run on 4.5? Thanks.

    Hi Yue,
    I'm sorry you're running into problems with Flash Builder.  Would you mind reposting this over on the Flash Builder forums?  You'll probably have better luck over there.
    Thanks,
    Chris

  • Accessing EJBs from a Web project

    Hi,
    I am getting the error: "com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/ejb/UserInfoServer." when I try to access the session bean from my web project.  I have followed the instructions explicitly in http://help.sap.com/saphelp_nw04s/helpdata/en/55/29ed5eff965448941c0b42f01b9804/frameset.htm and also tried every other combination I can think of for configuring the references in both the EJB project & the web project (both in the same ear).  I do have a jndi name in the visual administrator for localebjs/sap.com/myEar/UserInfoServer.  Does anyone have any ideas?
    Thanks & merry Christmas/Happy New year to all the SDN folks!

    I've managed to get around the problem for the time being by using "/localejbs/provider/application/beanName" - bypassing (I think) the whole JNDI issue -  this is OK for now, but it's obviously not a long term fix. 
    Previously, I had used the default & so did not enter anything in the ejb-j2ee-engine.xml, and so my ejb's showed up nicely in the Visual Administrator JNDI Registry under the localejbs tab as you would expect. The problem appears to be in the Web project - The key is that the error is "Path to object not found" rather than "Name not found".  It seems to me that it knows what it is looking for & that it is valid, but doesn't know how to get there! Note that the EJB project is in the same EAR. The only reference to "Path" that I can find is in the help doc above where it says "If the name of the target enterprise bean is not unique in the enterprise application scope, you can enter the path to the JAR file that contains the bean...".  I've gone through the Car Rental Application pdf (I can't find the download that contains the entire application) & followed the instructions there explicitly for referencing ejbs from the web..

  • Flash Catalyst, Flash Builder and Adobe Air....Issues...

    My problem is simple.
    I have a flash catalyst project I importedc it into flash builder - whats the issue? its a web app. I need it as a air app. I don't know how to change it from a web app to an air app.
    Also:
    If I publish the "demo" version in Flash cat as a air app and install it, I have to resize the window? even when I set the bounds to be 800x600 it shows up on the desktop as either half that or sligtly larger. even running the swf - publishing for both web and air for testing - i have to resize the swf (unless its embeded on a page). why is this happening?
    Tha main purpose here is to change the imported flas cat proj into a air app in flash builder so i can change the default chrome.
    Thanks.

    I finally find what the problem was. It has nothing to do with either the server, neither Flash Player or Adobe Air.
    The problem came from mstc window (remote desktop software). By default it was set to display 16bit colors. I might have changed it sometime to 15bit.
    By setting it to 16bit, it solved the problem.

  • AIR Update framework with Flash Builder

    Hi,
    I am not sure if this is the right place but since this problem happens with the new Flash Builder 4 and AIR, I am putting it here :
    When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
    The error is
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
        at mx.controls::ProgressBar/createChildren()
        at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
        at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
        at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
        at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
        at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
        at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
        at mx.states::AddChild/createInstance()
        at mx.states::AddChild/set targetFactory()
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
        at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
        at ApplicationUpdaterDialogs()
        at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
        at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
        at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
        at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
    The code is the exact same give in the example i mentioned above.
     This works fine in my Flex Builder 3. 
    Thanks
    Hironmay Basu

    the issue is already reported here:
    http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
    As a workaround, you can try using:
    http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/

Maybe you are looking for