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

Similar Messages

  • 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

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • File sharing problem between XP and MAC when using Airport Extreme

    I recently got a Time Machine to replace my flaky Linksys Wireless N router and since I've done that I can't connect to my PC running Windows XP and was able to before. I have made sure my firewall settings are correct and have gone through many different settings on Time Machine but still no luck.
    I have my PC directly connected via ethernet to the Time Machine and my Mac is wireless. I'm able to ping the IP address of the Mac from my PC but can't ping in the opposite way.
    Any suggestions would be greatly appreciated.
    Thanks!!

    btw the error is
    "Attempting to copy to the disk "Guy_s iPod" failed. The file name was invalid."
    and then it says
    "The iPod "Guy's iPod II" cannot be updated. The disk could not be read or written to."

  • 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

  • Sharing keywords between LR and PSE 9 Organiser? :-(

    OK, I've owned 3 photo products from Adobe (Photoshop Album, Lightroom and Photoshop Essentials) and have 3 keyword file formats! I use LR as my main photo organiser and have started using PSE and its Organiser but am frustrated by the lack of coherent design of keyword files. I have hundreds of keywords in LR. I had to write some Python code to convert my "Album" keywords to the LR format and it seems I have to do the same to get keywords from LR into PSE's organiser. But there's now a new problem...
    Unfortunately when I import keywords into PSE's Organiser any duplication of existing keywords results in duplication in the keyword list - i.e. when I add "From file.." PSE adds to the list rather than merging! PSE is clearly not designed to re-load keywords from file any extend the keywords. If I export all my keywords and re-import them I don't expect the number of keywords to double! Oh - I can;t delete keywords before importing because I'm told everything it's 'learned' (people etc. will be lost).  Keywords appear to be exportable but not importable.
    I clearly cannot import keywords into PSE's organiser as I can with LR.
    Is anyone sharing keywords between LR and PSE's Organiser?

    Thanks, I can see how that can work and the problems. It looks like the keywords themselves cannot be easily shared and I agree that having two organising programs is problematic but I wanted to 'export' the keywords I have created including their structure from Lightroom and import them into PSE organiser. You'd think you could do this with two similar products from the same company. The organisers in question are used for two purposes and the photos in each are different - i.e. I use lightroom for my pro stuff and PSE for family/casual stuff and no photo would be present in both. It looks like PSE really isn't designed to import keywords. I have Python code to create a PSE keyword file from a lightroom file so that will have to do as it's clear there's no interoperability.
    Thanks for your suggestions.

  • Sharing files between users and macs

    My husband and I share an iMac. I have a MBA for traveling and my husband a PC laptop (though he rarely uses for private stuff). We both have iPhones.
    We are looking for a way to:
    - Share our photos (we don't use iPhoto) and some files. We would like to have this in one shared folder, that we can access from both accounts in the iMac, the MBA and ideally (though not a must) the PC and iPhones. We would both need to have admin rights to edit documents, etc.
    - Have access to all the information in my account on the iMac from the MBA. Ideally, same thing for his and the PC.
    - Have access to all the data remotely when traveling.
    - Have all the data backed up locally (we already have a cloud backup, but we'd like to have a local backup too as it's easier and quicker to access)
    We have read a lot about configuration, NAS, time capsule... but we get more and more confused, as we are obviously no tech experts.
    Dropbox is not our preferred choice. We already have a cloud backup system. We'd rather have the files stored and accessed locally for everyday use.
    Using a NAS to store shared folders and backup the rest sounds good, but they either seem very complicated to set up, or they have mixed reviews in terms of stability, especially to access files remotely.
    Timecapsule seems easier and more straightforward, but I'm not sure it would solve the "sharing files between users and macs with admin rights"? It seems to be more focused on backing up the main drive and then providing access to the backed up files. (Though I might be completely mistaken!)
    We just can't manage to have one shared folder between both accounts in the iMac. We need to grant admin rights document by document. We don't manage to make it work automatically so we both have one folder to access with full rights for all the contents inside it. And this seems to me like something that should easily be done...?
    Any help, advice, proposals... would be greatly appreciated!!!

    Move any file you want to the other user to access to the Shared Folder. Anything you put in that folder is available to all users.
    The shared folder is here:
    Macintosh HD > Users > Shared

  • Sum Debit and Credit where code between 1001001001 and 1001001999 in Report

    Hi all
    I Create a Simple Report
    Which is
    SELECT initcap(Acc_name),to_char(acc_id),to_char(acc_id),control_detail,+
    Opening_balance, NVL(cb.C,0) as Credit, NVL(Cb.D,0) as Debit,+
    Opening_balance+NVL(cb.D,0)-NVL(Cb.C,0) Closing_balance,+
    Cb1.dr,cb1.cr,+
    Opening_balance+NVL(cb.D,0)-NVL(Cb.C,0)+nvl(cb1.Dr,0)-nvl(cb1.Cr,0)Ending+
    from COA,+
    *(Select cb_acc_id,sum(nvl(dabit,0)) D ,sum(nvl(credit,0)) C from cb*
    where vdate < :Date_from+
    Group by cb_acc_id)CB,+
    *(Select cb_acc_id,sum(nvl(dabit,0))Dr ,sum(nvl(credit,0))Cr from Cb*
    Where vdate between nvl(:Date_from,vdate) and nvl(:date_to ,vdate)+
    Group by cb_acc_id)CB1+
    Where acc_id = cb.cb_acc_id (+) and+
    acc_id =cb1.cb_acc_id (+)+
    CONNECT BY PRIOR acc_id = CATAGORY_id+
    START WITH acc_id between 01 and 1000+
    ORDER SIBLINGS BY acc_id+
    Now i need To sum Debit and Credit where code between 1001001001 and 1001001999
    Need Help
    Regard
    Shahzaib ismail

    Hi,
    Usually it can be determined using the field shkzg. If it contain 'S' its debit and if it contains 'H' then its credit.
    Before showing the amount you need to do like;
    IF wa_gl-shkzg = 'H'.
    wa_gl-dmbtr = wa_gl-dmbtr * (-1). " dbmtr - amount
    ENDIF.
    This will solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Jun 3, 2009 12:29 PM

  • Looking for new laptop what are the differences between pro and air? Besides size. Does the air preform like the pro?

    Looking for new laptop what are the differences between pro and air? Besides size. Does the air preform like the pro?

    The NEW macbook Pro and Air are EXTREMELY close in form factor
    The newest macbook Pro is essentially a larger macbook Air with Retina display and options for speed in increasing prices up to an independent graphics and quad core processor.
    both Air and new Pro now have PCIe SSD and permanent RAM.
    The Air is the lightweight portable form factor, fast to boot and shut down, but with longer battery life than any of the macbook pro in 13"
    Now the new macbook Pro and macbook Air are extremely close in form factor and nature.
    both have 802ac wifi
    both have permanent RAM, no superdrive
    both are slim profiles and SSD
    The only real differences now are (in the most expensive Pros) faster processors and quadcore processors and top end model autonomous graphics.
    ....and of course the retina display
    both are now "very good for travel"
    Other than features the form factor of the Air and Pro are VERY close now,....so now its merely a matter of features and price more than anything.
    You need an external HD regardless of what you get for backups etc.   Drop into an Apple store and handle both and make your choice based on features, such as Retina or non-retina, .... both at a distance now look like the same computer.
    The Pro weighs more, ....but nowhere near what it used to just a month ago on the older macbook Pros
    The NEW macbook Pro is a different creature entirely than the older macbook Pro, .....the new Pro is thicker than the Air, but id frankly call the NEWEST Pro a "macbook Air with Retina display" , or
    Maybe a “macbook Air PRO with Retina display” 
    Instead of Air VS Pro now,.....its really a smooth transition from Air to pro without comparing say, 2 different creatures, now its like contrasting a horse from a race horse.
    Either one in 8gig of RAM (preferably)... the 4gig upgrade costs very little,  the I7 you will notice only 15% faster on heavy applications over the I5, and NOTHING on most APPS.....I5 has longer battery life.
    As you see below, the non-Retina 13" AIR is 82% of the Macbook with Retina display in resolution
    there is no magical number of pixels per inch that automatically equates to Retina quality.
    http://www.cultofmac.com/168509/why-you-might-be-disappointed-by-the-resolution- of-those-new-retina-display-macs-feature/
    A huge internal SSD isnt a game changer for anything, you need an external HD anyway
    what you WONT READ on Apple.com etc. is that the larger SSD  are MUCH FASTER due to SSD density
    "The 512GB Samsung SSD found in our 13-inch model offers roughly a 400MB/s increase in write speeds over the 128GB SanDisk/Marvell SSD"
    http://blog.macsales.com/19008-performance-testing-not-all-2013-macbook-air-ssds -are-the-same
    Here is an excellent video comparison between the 11” I5 vs. I7 2013 Macbook Air.
    http://www.youtube.com/watch?v=oDqJ-on03z4
    http://www.anandtech.com/show/7113/2013-macbook-air-core-i5-4250u-vs-core-i7-465 0u/2
    I5 vs. I7 performance 13” Macbook Air 2013
    Boot performance
    11.7 I5 ……11.4 I7
      Cinebench 
    1.1 I5….1.41 I7
    IMovie Import and Opt.
    6.69 I5….5.35 I7
      IMovie Export 
    10.33 I5…8.20 I7
    Final Cut Pro X
    21.47 I5…17.71 I7
      Adobe Lightroom 3 Export 
    25.8 I5….31.8 I7
    Adobe Photoshop CS5 Performance
    27.3 I5…22.6 I7
    Reviews of the newest Retina 2013 Macbook Pro
    13”
    Digital Trends (13") - http://www.digitaltrends.com/laptop-...h-2013-review/
    LaptopMag (13") - http://www.laptopmag.com/reviews/lap...play-2013.aspx
    Engadget (13") - http://www.engadget.com/2013/10/29/m...-13-inch-2013/
    The Verge (13") - http://www.theverge.com/2013/10/30/5...ay-review-2013
    CNet (13") - http://www.cnet.com/laptops/apple-ma...-35831098.html
    15”
    The Verge (15") - http://www.theverge.com/2013/10/24/5...w-15-inch-2013
    LaptopMag (15") - http://www.laptopmag.com/reviews/lap...inch-2013.aspx
    TechCrunch (15") - http://techcrunch.com/2013/10/25/lat...ok-pro-review/
    CNet (15") - http://www.cnet.com/apple-macbook-pro-with-retina-2013/
    PC Mag (15") - http://www.pcmag.com/article2/0,2817,2426359,00.asp
    Arstechnica (15") - http://arstechnica.com/apple/2013/10...-pro-reviewed/
    Slashgear (15") - http://www.slashgear.com/macbook-pro...2013-26303163/

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

  • How to create shared folder between mac and windows

    how to create shared folder between mac and windows

    Us ean external drive formatted FAT32 or ExFat. Both OSx and Windows can read/write to the drive and both can use the same data files as long as you have a program that can open and save these files. For example, Word running both on OSx and on Windows will be able to work with the same document on the external drive.

  • What is the difference between ojvm and client versions?

    Changing the java vm from client to ojvm result in the following error:
    Errormessage:
    java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm FAILS
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm      RUNS OK.
    Project Settings -&gt; Configurations -&gt; Development -&gt;Paths -&gt;Additional Classpath:
    C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
    What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
    Various version info:
    Output from program:
    java version:1.4.2_01
    java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
    java vm version:9.0.3.738 cdov
    Taken from JDeveloper Help About:
    Oracle IDE     9.0.3.10.35
    UML Modelers Version     9.0.3.9.4
    Business Components Version     9.0.3.10.7
    java.version     1.3.1_02
    java.vm.name     OJVM Client VM
    java.vm.version     9.0.3.738 o

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • HT3702 the billing info keeps saying my security code is invalid and when i use a different debit card it says my bank records dont match WTH

    the billing info keeps saying my security code is invalid and when i use a different debit card it says my bank records dont match WTH

    Pease dont' waste your time with that useless article. Carolyn has been warned many times before to stop posting that and waisting people's time.
    This error is a little generic at times and there are a few things that could be happening here. Please put in a ticket here for an advisor to check into details:
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html
    There is no need to keep frustrating yourselfs at the moment.

  • What is the difference between paid and unpaid versions of adobe reader

    What is the difference between paid and unpaid versions of adobe reader

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • Connect as sysdba between Linux and Windows without using password

    hello
    Hello
    I need to connect as sysdba between Linux and Windows without using password for the sys user
    Sqlplus /@string_connection
    Plz help me

    Duplicate post:
    Connect as sysdba between Windows and Linux
    Actually you have been given the answer in your above thread. You need to read the Oracle documentation. Search password file at tahiti.oracle.com
    regards

Maybe you are looking for