Working with libraries and setting up on two computers

I have been trying Lightroom on my PC and just now took the plunge and bought it (for home use: family and amateur photography). I have installed it on both the PC and laptop (Mac). Sadly the first time I tried using 1.2 having been using 1.0 and 1.1 it said there was a problem reading the library and had to check it... a bit scary...
I am trying to work out how to set-up my system. I intend to have files on an external drive which I can then move from Mac to PC as necessary (i.e. only using one at a time): the PC is mine, the Mac is my wifes, and this seems to be the only way of allowing us to share the photos in a way which is not hugely complicated and confusing.
Any changes we make to the photos on each machine should be visible on the other. From my understanding, that means the library has to be on the external drive, not just the image files?
At the moment the image files and library are on my PC internal drive, imported "at their present location". Is it possible to change the kind of import (to move the image files directly into the library)? Of course it is possible to re-import from scratch, but as there are keywords already organised, and some files have been edited in PS I would lose all that, wouldn't I? Is there a more sophisticated way of changing how the files are organised?
And when I get the external drive, can I just move the libraries and image files and then tell Lightroom about the move, or is it going to be more difficult than that?
thanks in advance
Nic

Reading over your message, I am a little unclear about how far along you are in sharing your LightRoom setup with the Laptop. I am going to assume that right now Lightroom and the pictures are both on the PC and on an internal Hard Drive. And except for the scary message you had at the beginning of changing to ver 1.2, everything is working ok. Yes?
What I'd do is wait until you get the external drive up and working. Once you are satisfied that the system works ok, and you have tested it with whatever diagnostic software you use, you are ready to start moving your images to the new drive.
Do a good backup of your images to your backup drive.
Move them to the hard drive from within Lightroom: Use the '+' symbol in the heading of the Folders panel to tell LR to add a new folder from the external drive to the LR folders panel, and then drag and drop the folders already in LR over to their new home.
This way the LR Catalog will always know where the files are.
Then when you are sure that all the image files are on the external drive and LR sees them all and everything is working correctly, exit from LR and copy the catalog file over there.
I used to use windows systems, although I converted to Mac a few years ago. You should be able to double-click on that catalog file that is on the external drive and it should start Lightroom and you should be good to go.
I just used the word "should" three times meaning I'm not really positive about that last step; if I'm wrong I hope someone on a PC will post a correction.
Once it is working OK on the PC with the external drive Load LR on the Laptop.
Best Wishes!

Similar Messages

  • Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Hi ron1098,
    Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
    See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Hello, my itunes app is getting shut down every time I want to open it. Ever since I downloaded the last two updates. I tryed repearing the file and uninstalling and installing several times. Still, is not working. I work with music and need my itunes

    Hello, my itunes app is getting shut down every time I want to open it.
    I don't know if it's related but ever since I downloaded the last two updates. I tryed reparing the file and uninstalling and installing several times. Still, is not working. I work with music and need my itunes up and running. Does anybody know how to fix this?

    Hi Vero Torres,
    If you are having issues with iTunes unexpectedly quitting on launch after on your Windows machine, you may find the troubleshooting steps outlined in the following article helpful:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Regards,
    - Brenden

  • FaceTime no longer working with Yosemite and IOS 8.1

    I have used FaceTime flawlessly for some time with no issue.
    After I upgraded to Yosemite on my MacBookAir and IOS8.1 on 5S and iPad air, I've had a problem connecting.
    When I get a call, all the devices ring (as they should) but it will not connect on the first device I pick up on.  It says connecting
    but all the other devices keep ringing and finally it says I have a missed call.  The connection does not happen.  If I turn off
    all devices except one, it will work...... do we have a bug here??

    Thank you for responding to my issue.  I spent the better part of two hours trying to get this to work.  Bluetooth is enabled on all devices. Each computer is set in Preferences/General to allow Handoff.  All computers and iPhones are on the same WiFi network.  I toggled all of the major settings off and on.  Rebooted each of my computers several times. I finally conceded defeat.  Then my daughter asked to have a try at it.  She worked on the first MBP for about thirty minutes and informed me that she had gotten continuity to work.  And indeed, on her MBP late 2012 she is able to use the continuity features in both directions between her computer and her iPhone 6.  But it only works with Mail and Safari.  I asked how she accomplished this feat.  She said she turned off "everything" on her computer and iPhone (WiFi, Bluetooth, "Allow handoff" under Preferences/General) and then rebooted both the iPhone and the computer.  She then turned everything back on.  This worked for her.  So we tried the same thing on my MBP and iPhone 6.  Now continuity works partially. Email activity is mirrored on both the MBP and the iPhone regardless of which device initiates the continuity activity.  But Safari activity on the computer is mirrored on the iPhone but not in the opposite direction.  There is no continuity function for Pages in either direction.  The telephone connectivity works fine on all of my devices– 3 MBPs, Mac Pro, iPad Air, 2nd gen iPad and 3rd gen iPad.

  • Handoff not working with Yosemite and iOS 8

    I have three Macbook Pros in my household.  Two are mid 2012 models and the other a late 2012 model.  Each is supposed to support the handoff feature of Yosemite and ios8.  Everything seems to work properly between my daughter's late 2012 MBP and her iPhone 6.  But on the other two MBPs in our family the continuity feature does not work on either of them.  Receiving and sending calls works fine.  But the continuity does not work even though all three MBPs and all three iPhone 6 are on the same wifi network.
    I've tried all the suggestions that I could find.  Toggling off and on the various settings on the MBPs and the iPhones.
    John

    Thank you for responding to my issue.  I spent the better part of two hours trying to get this to work.  Bluetooth is enabled on all devices. Each computer is set in Preferences/General to allow Handoff.  All computers and iPhones are on the same WiFi network.  I toggled all of the major settings off and on.  Rebooted each of my computers several times. I finally conceded defeat.  Then my daughter asked to have a try at it.  She worked on the first MBP for about thirty minutes and informed me that she had gotten continuity to work.  And indeed, on her MBP late 2012 she is able to use the continuity features in both directions between her computer and her iPhone 6.  But it only works with Mail and Safari.  I asked how she accomplished this feat.  She said she turned off "everything" on her computer and iPhone (WiFi, Bluetooth, "Allow handoff" under Preferences/General) and then rebooted both the iPhone and the computer.  She then turned everything back on.  This worked for her.  So we tried the same thing on my MBP and iPhone 6.  Now continuity works partially. Email activity is mirrored on both the MBP and the iPhone regardless of which device initiates the continuity activity.  But Safari activity on the computer is mirrored on the iPhone but not in the opposite direction.  There is no continuity function for Pages in either direction.  The telephone connectivity works fine on all of my devices– 3 MBPs, Mac Pro, iPad Air, 2nd gen iPad and 3rd gen iPad.

  • Problems with libraries and plugins - non admin account

    I''ve got a couple of problems with a fresh install of photoshop on my windows Windows 7 64 bits system.
    1. Libraries panel does not work. It displays the following error and interaction is not possible:
    2. 3rd party plugins would load their content.
    3. In the Creative Cloud Application the apps tab would load and displays the "download error" message:
    The funny thing is that all the above errors don't occur on the loacl admin account. So I think this might be a permission problem. I think the most easy sollution would be to work under the admin account, but sadly that's no option (company policy). I am able to extent the rights of the useraccount I work on, but I don't know in wich folders the software needs write permissions. The both Adobe folders in program files and program files (x86) I already changed to full acces for all users. Can someone please help me?

    Problems with libraries and plugins - non admin account https://forums.adobe.com/people/pippyn%20stortelder
    This is a permissions Error.  The other accounts on the computer do have permissions to use / change the administrator settings of these particular items.
    There are two ways you can fix this. 1.) contact the admin of the system and let him know your accounts need read access to these items
    My Preferred method is:
    If you are on a Windows Account, then you can choose those items to run in Administrator mode for all people.  ( win7,64bit )
    Right click the infinity system for creative cloud (creative cloud icon - you would normally click to start the program. (not the one in your service tray, but the one in your menu area with the square red on it.
    choose/click on properties
    choose/click compatibility (tab at the top of the window)
    Last boxed option on this screen is: Run Program As Administrator,  Click that check box.
    Click on  Change Settings for All Users
    in the window that comes up again choose, put an X in the box-  the last option, Run Program As Administrator - Click Apply
    Click OK
    Click OK and the opened preferences window should now be closed.
    You should be able to simply invoke the Cloud app now. But you might want to reboot to safe.
    Depending on the installation methods used for your add-ons, you may have to perform this same process for all add-ins.  I believe that would depend on which account, first installed the add-on and what level of permissions they have.
    Good Luck
    ~elaine.

  • Technical question:  Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??

    Technical question:
    Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??
    Here's a little more information on what I am trying to do.
    I have a desktop computer with 4tb worth of pictures that has Lightroom and Photoshop on it. I also have a laptop with Photoshop and Lightroom. I would like to be able to edit those same pictures with their current edits that are currently on my desktop on my laptop. If this can be done, I'm sure I need to be on the same wifi network for my laptop to be able to access my desktop's photo library. I am technically savvy enough to map a network drive, but how do I get my two Lightroom catalogs to sync when I make a change on one of my computers? Would i be working only on one catalog? Or two separate catalogs that would need to be manually synced to the other computer? Would it be beneficial to put my lightroom catalog on something like dropbox?
    I'd appreciate any information or tutorials if someone knows how to do this.

    I do this by having my LR catalog and photos on an external drive that I swap between the two computers.  I am on Windows and have the same drive letter assigned to the drive on both computers.
    Because the photos are on a portable drive I back up the portable drive to another hard-drive every night or after important work, because portable drives are susceptible to damage or loss.

  • Experience​s with Lenovo and my purchases of two laptops

    Experiences with Lenovo and my purchases of two laptops (one was exchanged) and issues following with defective parts:
    First.. Lenovo Return Policy:
    I had ordered an E420, and by  mistake in that I responded to an email advertisement while at work, and rushed through the online order (bad mistake).
    When I received the E420, I didn't like the LCD or keyboard at all... and was really disappointed. While researching other customer experiences, I assumed Lenovo basically had an "all sales final" policy for Canadian Customers.
    I called them the next business day after receiving the E420, and said I was disatisified with the it, and would like to exchange it for a T520. She said that is possible, but I'd have to order the T520 before I could get a return authorization (which was ok).
    I ordered the T520, and within a week (I had to call and bug them once), I received the return labels for the E420, and returned it that day. It took about 10 days, for the full E420 credit to show up on my credit card, and I was very happy to see they did not charge me restocking.
    Second, issues with the T520:
    Within hours of opening the T520, I noticed the upper cursor key was not working. Not very good for a brand new laptop... a bit disappointing.
    I called lenovo the next morning, and she apologized for the issue, and said she'd send me another keyboard asap... and the instructions. This was ok, since repairing PC's and laptops is a skill I have. The keyboard came the next day.... and I replaced it.. all good.
    Next issue:
    The bluetooth worked for about 3 days, and stopped working (which was a pain because I used a lenovo blue tooth mouse).  Bios shows it enabled, but does not show up anymore when I do a FN F5, or in device manager. Just to be sure it wasn't an issue with software, I used the recovery DVDs to reinstall the OS... still no bluetooth.
    Called Lenovo support, he had me pull battery, press the power button with no power sources connected (he said it drained any capacitors), reset bios to system defaults... reboot a few times... still no bluetooth.
    He suggested I re-seat the bluetooth daughter card. While I felt comfortable with this, I was surprised Lenovo Support would suggest this, because I am sure many or most customers would not have this expertise to open a laptop without doing some sort of damage. That being said, Lenovo does have a Hardware Maintenance Guide that explains step by step procedures for replacement of parts on the T520.
    I didn't do this while on the phone with him, but after going through the troubleshooting, he said a box would come to my door, and I'd have to ship my laptop away for a week or so to have it fixed.
    I expressed my unhappyness with this idea as UPS/Lenovo just delivered the Laptop to my door and a week had not even passed, and I have to do without it for a week or ???. 
    I said, this is why purchasing a laptop online can be a huge drawback... had I purchased from "Best Buy" I could go exchange it over the counter in a few hours.
    Anyways.. I asked if I could drop it off at an Authorized Lenovo Repair depot, and he said yes.. just bring the case number.
    I personally don't trust "Repair Depots" by default.  They scratch laptops, they leave screws out, they mark the plastic edges when separating the covers, bezels, etc because they use metal screwdrivers or are not careful when doing so.
    After I got off the phone, I was able to re-seat the bluetooth card... still not resolved. I think I will call Lenovo back and ask the part to be sent to me, and I'll replace it.
    Other comments:
    Sound - The volume level on the T520 isn't as loud as my HP nx9420... unfortunate.. but I can live with it.
    Performance: The Performance rating on my 5 year old HP nx9420 was 4.3, this new T520 was 4.6... not that much better and appears to be due to the video card rating.
    Lenovo Packaging:
    I was also very surprised that Lenovo ships the laptops by sending them in their own box, and not putting them in a large box with padding to protect them. That means that any rough handing by UPS, would be experienced by the laptop, which if you ever talk to people who work for UPS or other couriers admit that they work on volume/speed and not giving much priority to ensuring items are handled carefully.

    The Windows experience index is only a rough guide, not a benchmark. Many people have reported having minor things wrong with the machines as shipped. Perhaps, this is due to shipping damage.
    I find it interesting that you BT went out after a keyboard replacement. Mine did the same thing, and had to be replaced. 
    When asking for help, post your question in the forum. Remember to include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help others with the same question in the future.
    My TPs: Twist 2HU: i5-3317U Win 8 Pro, 4GB RAM 250GB Samsung 840 | T420 4177CTO: i5-2520M, HD+, Win 7 Pro x64, 8GB RAM, Optimus, 160GB Intel 320 SSD, Intel 6300 WiFi, BT 3.0 | T400 2764CTO: P8700, WXGA, Win 7 Ult x64, AMD 3470, 8GB RAM, 64GB Samsung SSD, BT, Intel 5300 WiFi | A20m 14.1" PIII 500 (retired). Monitors: 2x Dell U2211h IPS 100% sRGB calibrated w/ Spyder3.

  • PC Webcam works with iChat and iSight

    Before I purchase a web cam for my PC I need to know if it will work with iChat and iSight. Will I need to install any third party software for my mac or PC?

    Hi Gene,
    You will need to make a choice between AIM and Trillian
    The AIM app is free but does not Audio only Chat to iChat users and has a very small pic.
    Trillian costs $25 for the Pro version to Video chat but has a Bigger pic and can do full screen. The Basic version can alos Audio only chat to iChat users. Trillian can also join other IM services.
    More info on setting up AIM on the PC http://www.ralphjohnsuk.dsl.pipex.com/page12.html and the XP Service Pack 2 firewall. The Firewall will need to have Trillain enabled though it as well if you use that.
    Ralph

  • BO MOBI with BOE and Mobile server on two separate servers

    Hi Experts,
    We need to set up a BO MOBI with BOE and Mobile server on two separate servers.
    In such a configuration, how does the two servers communicate?
    What should be the VAS and VMS server configurations? especially the external hostnames in the files?
    We are looking for a non Blackberry(proxy) deployment.
    We have installed the software,however the windows services of Authserver and the Job servers are not available in the mobile server instance
    Any help would be highly appreciated.

    Hi Experts,
    We need to set up a BO MOBI with BOE and Mobile server on two separate servers.
    In such a configuration, how does the two servers communicate?
    What should be the VAS and VMS server configurations? especially the external hostnames in the files?
    We are looking for a non Blackberry(proxy) deployment.
    We have installed the software,however the windows services of Authserver and the Job servers are not available in the mobile server instance
    Any help would be highly appreciated.

  • Site list update not working with TED and Zenworks for Servers

    Product: Zenworks for Desktops 7Sp1 and Zenworks For Server/TED 7Sp1HP5
    Subject: Site list update not working with TED and Zenworks for Servers ,
    all on Linux
    Description: We have an exiting environment with 6 ZfS Servers and now we
    brought up a new Server for another location. I configured all same as on
    the other Server and the new one created all NAL-Apps at the new location.
    But in the Application Site list on the golden App is this Application
    missing. So I clicked on the Link up site list on the Distribution Screen
    in C1. On ApplicationSite list the App from the new location is missing.
    So I removed all and added the new from the new location and now i see all
    in the application site list.When I install an app on the client on the
    new location NAL is connecting alway th the same (wrong location-server
    and i get an msi error 1612 or id=53272 with path=\Wrong serverpath to
    file.
    I looked on the other tab on C1 at the golden app an I see the backlinks
    are going to all other servers without the new one. Software installation
    on other locations are ok
    Regards

    Andreas,
    I forgot to mention that you can also set the loging level on the Distributor and the Subscriber to 6. to do this at the Zenworks Server Management prompt type "setconsolelevel 6" if you want to capture this to the log file ted.log then use "setfilelevel 6"
    Next delete the Distribution from the Subscriber and then re-push the channel.
    What we are looking for here in the log is the creation of the object and the linking information about the gold object. it should look like this (not the failure part ;-))) )
    In this excerpt you will see the entry
    Golden App =
    This should be were the link is to
    You can check this both ways in the Golden App and in the Distributed Application.
    Here is a log from me that shows this info as an example of what you should be looking for.
    2008.05.29 03:35:41 [TED:Work Order In(yourserver.yes.com)] Receiving distribution: Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_YOURSERVER.BRN.FL.SUBS.SUBSCRIBERS.ZSM. GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Handle Event: Work order IN completed... Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Received (from haverhi-flbrn1.yesbank.com) Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..

  • How to work with DTR  and CBS?

    Hi
    I have designed one web dynpro application. Now I want to work on this application through DTR. Means i want to do versioning and all. How to work with DTR..? I have gone through lot of blogs and help available in SDN but i am unable to understand how to work with it.
    One more thing how to work with CBS. How to configure CBS. I have NWDS latest version 7.0.7. In window perspective i am unable to find JDI. can any one please explain me if u have worked on this with example
    If possible can any one send me the screen shots how to work with these ?
    Best Regards
    Ravi Shankar B

    Hi Ravi
    For you to work with DTR and CBS, firstly u will have to configure JDI on server.
    To configure the NWDI, please go through the links given below:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/07/f6bc3d42f46c33e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/0369404c65587ee10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/26b84d6c823f66e10000000a11466f/frameset.htm
    In Nutshell, following steps will be performed:
    1) logon to Portal Devinf.
    2) click on CMS
    3) Go to landscape configurator
    4) create domain
    5) create tracks and add Software components in that track
    6) runtime systems ( dev/qa etc are configured
    7) in the transport studio, all the files listed are checked in through check - in tab.
    8) they move to developement tab.
    Once all these things are done, in your NWDS:
    1) Setting the devbox host name and server port in Window -> Preferences -> SAP
    J2EE Engine
    2) Setting Portal URL in Window -> Preferences -> JDI -> DC Pool and ping server,
    to check whether server is getting accessed from NWDS.
    3) Once server is set, login to DTR and go to DTR perspective. Create a client there, by doing a right click and filling up the required details.
    4) In the DC perspective, in the Local DCs view, perform import configuration.
    5) the dev track is not configured
    6) Under this, after logging into DTR, now you can create your project, check them in and create new versions.
    Thanks & regards,
    Anupreet

  • Working with NTSC and PAL

    Hey,
    So I'm editing a live concert and the director wanted to work with iPhones and DSLRs so I asked them to all film in 30fps (as iPhones only do NTSC at 30fps) but they forgot and now I have to edit with 25fps (PAL) and 30fps. I've multi-camed the four 25 files (so the project is in and got a decent cut but now I'm trying to sync the two 30 files to the project. I've thrown them in the timeline and applied Rate Conform but it's reading the 30 files as 24s so it's applying a "24 to 25" conversion instead of a "30 to 25" conversion resulting in it being even worse out of sync...
    How do I manually tell Rate Conform that the files that I want to conform to 25 are 30 not 24?
    Also, is there any chance I can add the two 30 files to the multicam to make it easier to cut? Can I just add them or will I have to start the multicam file over again?
    Cheers!

    … I guess, I'm a bit lost in translation ....
    1) adding 25fps material to a 30fps timeline AND 'conform speed' will speed-up this clips, NOT make'em synch! to add 'any' fps to a project, FCPX will care, to keep a second = a second - independently of fps. Or, in other words: clips are synch automatically. 'conform speed' is e.g. to create slowmo by conforming  60fps reecording to a 24fps timeline ......
    2) what makes you believe iPhone is 30fps? iOS devices offer a 'variable' fps, under low light conditions, the fps can drop down to 18fps, 15fps .... worse: vary within a clip, weird stuff like 21.67fps! I'm not surprised, FCPX identifies iPhone recordings as 24fps - most probably they ARE 24
    3) before import to FCPX, I would 'convert' iPhone recordings with Mpeg Streamclip to a 'steady' clic; open recordings, repair timecode, export as prores/30fps
    (and, just to mention: frame-rate ≠ NTSC/PAL ; and iPhone can not record in NTSC nor in PAL ......)

  • Working with Classes and Arrays

    hello to all,
    public class Store
    //private data
    private Person list[];
    private int count;
    private int maxSize;
    //constructor starts
    public Store(int max)
    count = Person.count(); //sets count to 0     
    maxSize = max;//maxSize is equals to max
    Person list[] = new Person[maxSize];
    }//end of store
    //constructor ends
    //accessor starts   
    public int getCount()
    for(int i=0; i<list.length; i++)
    int result = list;
    return result;
    }//returns the number of elements currently in store
    the code above is working with classes and some arrays
    what am trying to do is to display what the array holds
    and then i meet an error saying that
    INCOPATIBLE TYPES - FOUND PERSON BUT EXPECTED INT
    Please note that am new to this!
    Thank you in advanced!
    <img src="file:///C:/Documents%20and%20Settings/fh84/Desktop/untitled.JPG" alt="" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    public class Store
        //private data
        private Person list[];
        private int count;
        private int maxSize;
    //constructor starts
        public Store(int max)
             count = Person.count(); //sets count to 0     
             maxSize = max;//maxSize is equals to max
            // Person list[] = new Person[maxSize];
             Person list[] = new Person[maxSize]; //set tne
        }//end of store
    //constructor ends
    //accessor starts  
        public int getCount()
            for(int i=0; i<list.length; i++)
                int  result = list;
    return result;
    am sending the code again                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Working with XML and Button

    Hi,
    How are all of you. Well I am new to Flex. But I have started
    building simple applications. One of the top most problem I am
    facing is working with XML and Button. Can you please assist me in
    this. I am explaining my problem:
    I have an external XML file like this:
    <Menu>
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    <button>
    <idnt>1</idnt>
    <label>Mental Health</label>
    <text>Mental Health pages is currently under
    construction</text>
    </button>
    </Menu>
    Now I want to generate Buttons Dynamically from this XML. And
    the second thing which is the most problematic is that how I code
    it so that when I press the Button labled "General Health", it will
    show the same text as in the XML tag coresponding to tag
    "<label>General Health</label>" ?
    I badly need this. I am realy confused on this. Kindly help
    me.
    Regards
    ..::DeX

    Let's assume that variable "node" contains one element of the
    XML. For example,
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    such that node.label would be "General Health", node.idnt
    would be 0, etc.
    You can build a Button like this:
    var b:Button = new Button();
    b.label = node.label;
    b.data = node; // more on this later
    b.width = 60;
    b.height = 26;
    addChild(b); // critical - adds the button to the display
    list so you can see it
    b.addEventHandler( MouseEvent.CLICK, handleClick );
    You must set the button's width and height unless the button
    will be in a container that will size its own children (like Tile).
    Every Flex component has a data property. You can set it to
    whatever you like. For your needs it makes sense to set each
    Button's data property to the node it relates to.
    Now suppose that code above is in a function, createButton:
    private function createButton( node:XML ) : void {
    // code from above
    Here's how to make all the buttons where "menu" is a variable
    that contains your XML:
    for(var k:int=0; k < menu.button; k++) { // menu.button is
    an XMLList
    createButton( menu.button[k] );
    Now to handle the event:
    private function handleEvent( event:MouseEvent ) : void
    var b:Button = event.currentTarget as Button;
    trace( b.data.text);
    When a button is picked, the description element will print
    in the debug console. Replace the trace with whatever code you
    need.

Maybe you are looking for