Flex in Air

If I create a file with Flex 3, then compile with Air will
work?

If you have flex builder, create a new AIR project, dump your
flex 3 files there and it will work.
Like SujitG said, you have to change the root tag of your
main MXML file from <mx:Application> to
<mx:WindowedApplication> if you want the native window chrome
with maximize, minimize, etc to come around your application.

Similar Messages

  • Purchase Order Dashboard using Adobe Flex and AIR

    Hi ,
      I have written a AIR apps for displaying the Purchase Order using OPen source Flex and AIR making Web Service calls to our SAP R3  6.20 Backend System . If anybody would be interested in taking a look at it and expanding the apps please free to post at those forum with the your email ID . I can send the AIR apps along with the source code .
    Thnks
    V

    I have uploaded the zip file containing my code . If anybody is interested can download from this link .
    http://www.mediafire.com/?8mfesdczsuv
    Vinod

  • Oracle APEX versus Adobe Flex on AIR

    Hi
    I need advantages and disadvantages Oracle APEX versus Adobe Flex on AIR. I don't know Adobe and need your help. (we fight about our potential customer).
    Project:
    40 users insert own actvities into database. Supervisor analyse this info (reports, charts). Users connect to app via mobile phone EDGE using laptop.
    Regards

    Hello again,
    From the end-user perspective, FLEX applicatoins are more graphic in nature, in that they are truly graphic. APEX (at least through 3.2) generates a standard HTML type of web page. You can do graphics type of code, but Flex creates applications that will only run with Adobe tools. Flex generates an HTML page, but it calls a .swf file and plays that.
    Unless it is critical that you have that fully graphic interface (a .swf file type of image that plays), standard HTML is much better. You can still generate graphs, charts and such; incorporate images in your page and all the things that standard web pages have.
    With APEX, your users will see a standard HTML web-page type of interface, which most users today know how to use and expect.
    Thanks,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • Sharing code between Flex and AIR versions using library project

    Hello everyone,
    I'm developing an application that has both Flex and AIR versions. In order to share code between these apps, I created a library project and added all my code there. Now I've set the library project as a dependency for both Flex and AIR projects. Since there are some components that use the DataService object, I've added fds.swc and fds_rb.swc and fiber_rb.swc modules to the libs directory of the library project. No compile errors. Now, if I try to run my Flex application, I'm getting this error:
    Variable mx.data::LocalStoreFactory is not defined.
    I know that this error comes up when playerfds.swc is not present in the path. But that is not the case here. I have added playerfds.swc, fds.swc and related lib files to the build path.
    If I go back and add the playerfds.swc file to the original library project, the error no longer appears. This is not a proper solution for me, since I need to share this project with AIR version also, and I cannot have both playerfds.swc and airfds.swc in the same project.. Has anyone faced an issue like this before?? What am I doing wrong??

    Hello everyone,
    I'm developing an application that has both Flex and AIR versions. In order to share code between these apps, I created a library project and added all my code there. Now I've set the library project as a dependency for both Flex and AIR projects. Since there are some components that use the DataService object, I've added fds.swc and fds_rb.swc and fiber_rb.swc modules to the libs directory of the library project. No compile errors. Now, if I try to run my Flex application, I'm getting this error:
    Variable mx.data::LocalStoreFactory is not defined.
    I know that this error comes up when playerfds.swc is not present in the path. But that is not the case here. I have added playerfds.swc, fds.swc and related lib files to the build path.
    If I go back and add the playerfds.swc file to the original library project, the error no longer appears. This is not a proper solution for me, since I need to share this project with AIR version also, and I cannot have both playerfds.swc and airfds.swc in the same project.. Has anyone faced an issue like this before?? What am I doing wrong??

  • Inserting/manipulating PDF in Flex 3 AIR project?

    I've read as much as I can find about dropping a PDF into my
    Flex 3 AIR project, but the information is scarce and I understand
    it's a very new (not fully baked) feature.
    Can anyone describe what component to use to drop a PDF into
    my AIR project? I need to manipulate the PDF from within AIR and
    would prefer not to abstract through the HTML Container object
    (e.g. calling JS through the HTML Container object).
    Thanks,
    Mike

    looks like your equipmentArray is empty. Put a breakpoint inside that method to see if there is any data.

  • Flex Based AIR application & remote HTML

    The question is ....from a flex based AIR application do you
    always have full access to all of the HTML content loaded from a
    remote site via the DOM (htmlLoader.window.document), or is the
    'context' of what you can see limited to what the initial url
    requested can see - i.e. the context is as if it were javascript
    running in the page corresponding to the initial URL.
    As far as i can see if i request say the page
    http://www.abc.com/page1.htm
    and it has content along the lines of
    <IFRAME src="
    http://www.xyz.com/page3.htm"
    id="remoteframe" />
    <IFRAME src="
    http://www.abs.com/page2.htm"
    id="localframe" /?
    then using the htmlControl.htmlLoader.window.document i can
    successfully navigate the DOM for the initial page loaded and
    localframe, but
    not remoteframe.
    I've seen various comments about sandboxes, bridges and
    applicationdomains in the documentation but i don't see how this
    can help me.
    Can someone please shed some light on this? Can i from the
    AIR application access all of the DOM, or am i restricted to the
    initially loaded page and pages referenced from the same domain in
    the page?
    Thanks
    Jamie

    Hi,
    From your AIR application, you can only access "exposed
    properties" in remoteframe.
    You expose a property by using the sandbox bridge mechanism:
    http://livedocs.adobe.com/air/1/devappshtml/help.html?content=security_5.html#1092959

  • Convert HTML/javascript AIR app to flex-based AIR app?

    Hi all,
    I've already built an AIR app using HTML/javascript that I
    would like to monetize.
    I would like to use O2app's E-Commerce framework, which right
    now only supports Flex-created AIR apps.
    My question: Is there a simple way to "convert" an
    HTML/javascript AIR app to Flex 3 format? I'd rather not have to
    rebuild the app from scratch in Flex 3 if I don't have to. :)
    Thanks,
    Al

    Hi,
    There's no simple way to convert an HTML AIR app to flex.
    But it is possible to create HTML Root windows from a Flex
    AIR App. By root window, I mean the same kind of window that is
    launched when you launch an HTML AIR App.
    For more info, look at the HTMLLoader.createRootWindow()
    call. (This will be available from a Flex AIR app as well)

  • BlazeDS and Flash(not Flex or Air)

    Will BlazeDS work with Flash (not Flex or Air)?
    If so, are there any examples of this out on the web?
    Thanks,
    James

    Responded to this in the Configuration and Getting Started forum so am just reposting what I wrote there. . .
    Hi. I'm not sure anyone has done messaging between a Flash app and BlazeDS. I found some postings where people had gotten Flash apps to do web service calls using the rpc.swc from the Flex sdk. Not sure if these calls were going through BlazeDS as a proxy or directly to the target web service but I imagine that if they got the non-proxy case to work, the BlazeDS proxy case would work as well.
    The rpc.swc also contains the client side BlazeDS messaging code so based on what I have read it seems like a Flash app should be able to use rpc.swc to talk to BlazeDS to do messaging remote object calls etc. but not sure how hard it would be to get this working.
    This blog posting might help you.
    http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash
    -Alex

  • Open source debugger for Flash, Flex and AIR

    As developers at De Monsters we weren’t totally happy
    with the current Flash, Flex or AIR debuggers out there. So we
    decided to create our own debugger called De MonsterDebugger. Today
    we’ve got a great new version that we want to share with the
    community for free.
    Interface
    screenshot
    De MonsterDebugger started out as an internal tool that
    helped us with the development of different ActionScript 3
    projects. The past several months we’ve been working on a new
    version of this internal tool. With this new version you can
    explore your live application, adjust properties and run methods
    all at runtime. You can trace objects of any type (String, Array,
    XML or even custom classes) to De MonsterDebugger and it will show
    the complete structure of that object in an easy-to-read tree
    structure. De MonsterDebugger is made with Adobe Flex and brought
    to the desktop with Adobe AIR.
    Because De MonsterDebugger isn’t our core business
    we’re giving it away for free! All the sourcecode is open
    source available under the GNU General Public license.
    Enough talking!
    Here’s all the information you need:
    http://www.demonsterdebugger.com
    Ferdi Koomen,
    Lead Developer @ De Monsters

    I have uploaded the zip file containing my code . If anybody is interested can download from this link .
    http://www.mediafire.com/?8mfesdczsuv
    Vinod

  • What is the state if flex, and air development for air

    Hi,
    1- I wanted to know what is the state of affairs in flex and air as cross platform mobile development solutions?
    2- Are they still worth learning and spending time developing mobile application using these technologies?
    Becuase all the documnetation forum posts and most of the help material I come across is almost a year old.
    Any guidance in this regard would be greatly appreciated.
    Thank you.

    The right place to look for updates on Flex is http://flex.apache.org
    The good thing is that activities are still going on. The bad things are that:
    - Unless the dependency to Adobe air is cut, Flex as an open source project is bound to fail imho. See FlexJS for updates on that point
    - Current activties seem to be focused around making things more polished rather than working on hard stuff (typically developing an independent and open source runtime execution engine => flexJS)
    So...
    For a small company, home development, not so business critical applications, I recommend warmly Flex, since it is one of the best (if not the best) cross-platform mobile development environment (Very good performances if used appropriately, very good programming environment, lots of components, structured language, lots of documentation and tutorials, easy to design, etc.)
    for business critical applications... The risk is high !

  • Will BlazeDS work with Flash (not Flex or AIR)?

    Does anyone know if Blaze can work with Flash(not flex or AIR)?
    If so, how? Any examples?
    Thanks,
    James

    Hallo Russell,<br /><br />I'm a beginner with Flex and Flash, and I already succeeded calling the remote object with Flex. But my company requires me to use Flash (AS3).<br /><br />So, could you please give me an example of ActionScript code to call a RemoteObject in BlazeDs? The url? and call string?<br /><br />I also use Spring behind.<br /><br />I tried to use the url: "http://localhost:8080/myAppName"<br />and then the call string is "myService.getList"<br /><br />myService is the destination in the service-config.xml<br />getList is the method from the remote object which is a Java class.<br /><br />Here is the snippet from remoting-config<br />  <destination id="clasificationService"><br />    <properties><br />      <factory>spring</factory><br />      <source>clasificationManager</source><br />    </properties><br />  </destination><br /><br />and Here is the snippet from services-config:<br /><br />    <!-- Spring factory registration --><br />    <factories><br />        <factory id="spring" class="com.airbus.cm.cd.controller.SpringFactory" /><br />    </factories><br />    <channels><br />        <channel-definition id="channel-amf" class="mx.messaging.channels.AMFChannel"><br />            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"<br />                class="flex.messaging.endpoints.AMFEndpoint" /><br />            <properties><br />                <polling-enabled>false</polling-enabled><br />            </properties><br />        </channel-definition><br />        <br />        <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br />            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br />            <properties><br />                <add-no-cache-headers>false</add-no-cache-headers><br />            </properties><br />        </channel-definition><br /><br />        <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"><br />            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/><br />            <properties><br />                <polling-enabled>true</polling-enabled><br />                <polling-interval-seconds>4</polling-interval-seconds><br />            </properties><br />        </channel-definition><br /><br />    </channels><br /><br />Best regards,<br />Raymond.

  • Integrating Bazeds-spring from Flex Adobe air application?

    Hi
    I have seen that from Flex Adobe Air platform using the old integration model (without spring) with Blazeds we can successfully communicate from AIR to the server side.
    I have got the project working fine with FLEX-SPRING-BLAZEDS on a simple flex application. However, I would like to know if the same can be done with the new way of defining channels in Server side with the Blazeds-Spring combination from AIR. If yes could you please direct me to the changes in configuration required in the flex side of the Air application.
    Thanks,
    Naveen

    AIR does not support running applications from a CD-ROM;
    that's both a technical and a licensing limitation.
    You can redistribute both AIR and your application via
    CD-ROM, thus enabling off-line install, if you agree to a
    redistribution license. See
    http://www.adobe.com/products/air/runtime_distribution1.html
    for details.
    Oliver Goldman | Adobe AIR Engineering

  • What's the relationship between Flex and AIR?

    What's the relationship between Flex and AIR?
    I only know that Flex is a Framework and the AIR is a runtime,
    Can any one tell me more about these two object in detail,thanks a lot!

    AIR is a runtime that supports a superset of the Flash Player API. You use it to run mobile and desktop applications, as opposed to browser apps.
    Flex is a set of technologies for building either AIR apps or browser apps. It includes a framework of runtime classes (e.g, Button, DataGrid, etc.) to use in your applications, an SDK with a command-line compiler, and an IDE called Flash Builder (formerly Flex Builder) that supports intelligent editing, a design view, and a debugger.
    So, a brief statement of their relationship is that you can use Flex to build AIR apps.
    Gordon Smith
    Adobe Flex SDK Team

  • Using flex for air 2.0

    Hi,
    I don't know if anybody will be able to help. I use a company to create software for me. They have been using Flex to create a menu system that runs in the Air application. The software was running fine when using Air 1.5. However, since the update to 2.0 there are now issues with the software.
    Are the coding practices of the company I am using wrong? Should they be designing with Air 2.0 in mind?
    Obviously i understand that this isn't an issue with Adobe. But I am concerned that this company will not tell me the whole truth and if this would be better solved using legal advice?
    I appreciate any help you can give.
    Thanks!

    Hi,
    Sorry your running into problems with Voddler.  There aren't any known issues with AIR on Danish XP systems.  Have you tried contacting Voddler to see what they have to say?
    Chris

  • I can't compile for iOS anymore with Flex and AIR 3.8

    Hi Adobe team and others,
    I'm using Apache 4.10 Flex framework and adobe Air 3.8 for my business projects.
    I always had some problems to compile and publish iOS application (with Air 3.5 before), but with AIR 3.8, that was a miracle, I could compile my projects without any errors on Windows ... until today.
    I'm executing this command in DOS to compile my project:
    "C:\Program Files\Java\jre7\bin\java.exe" -jar "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.10 - AIR 3.8\lib\adt.jar" -package -target ipa-app-store -hideAneLibSymbols no -provisioning-profile "S:\Directory_to_MobileProvision.mobileprovision" -storetype pkcs12 -keystore "S:\Directory_to_Certificats_ios.p12" -storepass my_private_password Proginov_FVTE_V45.ipa Proginov_FVTE_V45-app.xml assets com config_app.xml [email protected] Proginov_FVTE_V45.swf -extdir "S:/Directory_to_ANE/air_3.8_pnv_3.00"
    And I'm getting this result after 1 hour compiling:
    If you want, I can send you my bin-release-temp folder and ANE to try by yourself, but I need a private mail, because I don't want to publish my private project to everyone.
    Thanks

    Thank you a lot.
    I remember I tried this with AIR 3.5, and that didn't work.
    But with AIR 3.8, it's OK.
    Perfect

  • Adobe Flex Mobile + AIR - Custom iOS Build Setting

    I am building some Adobe Flex Mobile application using Flex 4.6.0 + AIR 3.5 only for iOS
    This app involves some iOS Native Extension created also by me.
    The thing is that this ANE uses some third party framework (GD.framework from Good Dynamics Technology). That framework requires GD FIPS linker to be used, and for that, i need to set some custom build settings in a .xcconfig file, with this content:
    FIPS_PACKAGE=$(CURRENT_ARCH).sdk LDPLUSPLUS=/Good Technology/Good.platform/FIPS_module/$FIPS_PACKAGE/bin/gd_fipsld LD=/Good Technology/Good.platform/FIPS_module/$FIPS_PACKAGE/bin/gd_fipsld
    The ANE compiles OK, but then, I add the ANE to the app, I compile the app, but when I launch the app, it crashes because the FIPS linker was not properly got set on my Flex Mobile project.
    So, my question is:
    Is there a way to set the above configuration on my project like somebody would do in a Xcode project?
    Regards!

    I see your key as a reserved key for iOS. I haven't tested it myself but here's the keys you cannot change. Sure enough, MinimumOSVersion is reserved.

Maybe you are looking for