AIR with JavaScript and AJAX (noob design issues)

Okay, so as the subject states, I'm a noob when it comes to designing an AIR app. My question is kind of two fold:
First, as a matter of design, I've got a main window that has several drop-down type menus "File", "Preferences", "Help" that kind of thing. My plan was to keep reusing the main window for each of my different screens (unless a pop-up/dialog type screen was called for)
Anyway, the application I'm writing will, in part, handle a database of patrons. So under one of the menus (File in this case) I've got a "Patron" option. Clicking on "Patron" fires a function called newPatron() which in turn calls my function ebo.displayScreen('patron.htm'). This latter function takes the filename passed in and reads that file then dumps it's contents out to the main screen.
So, my main window consists (in part) of the following html:
<body onload="ebo.doLoad();">
     <div id="content"></div>
</body>
then my displayScreen function looks like this:
function displayScreen(filename){
     var my = {};
     // get a handle on the file...
     my.file = air.File.applicationDirectory(resolvePath(filename);
     // get a handle on the stream...
     my.stream = new air.FileStream();
     //open the stream for read...
     my.stream.open(my.file, air.FileMode.READ);
     // read the data...
     my.data = my.stream.readUTFBytes(my.stream.bytesAvailable);
     // close the stream...
     my.stream.close();
     // update the screen (I'm using jQuery here)
     $("#content").empty().append(my.data);
So anyway, this works like a champ. I click on "Patron" from my file menu and the screen changes to display the contents of patron.htm.
Currently, patron.htm just contains the following:
<div style="text-align:left;">
     <input type="button" value="add" onclick="ebo.add(1,2);" />
</div>
<div id="result"><div>
ebo.add looks like this:
function add(a,b){
     var my = {};
     my.result = a + b;
     $("#result").empty().append(my.result + "<br />");
So, if anyone hasn't guessed by now, the code contained in the ebo namespace gets included on the main screen when the application loads, and my problem is that despite the fact that once the patron.htm file is loaded in the content div by clicking on the menu option, my button on that screen refuses to work. I've even tried just having the button do an alert directly,
<input type="button" value="add" onclick="alert('AIRRocks!');" />
but even that fails!
So, I added some code to the main page to test a button from there...
<body onload="ebo.doLoad();">
     <input type="button" value="add" onclick="ebo.add(1,10);" />
     <div id="result"></div>
     <div id="content"></div>
</body>
So, now when the main screen loads, I get an "add" button and when I click it the number 11 appears in the "result" div. When I click on the Patron menu option, the new html and javascript are loaded into the "content" div, but the add button in that area refuses to work!
What gives? I'm sure I'm missing something. So I guess the two questions are: is my scheme of loading new content into the main window by reading the contents of a file, flawed in some way? Or am I just missing something about making calls from this dynamically loaded content? It *looks* like it should work fine, but if I can't make javascript calls from the resultant content, then the concept is no good.
I realize this has been a somewhat long winded post, but hopefully it describes in enough detail the problem I'm having. I should maybe add that I've looked at what's in the DOM using the AIR HTML/JS Application Inspector and it looks like everything should work perfectly.
I hope someone out there can help me and might have the patience to explain where I've gone wrong. I might also mention that the only book I've read (or am reading) on AIR with JavaScript and AJAX is "Adobe AIR (Adobe Integrated Runtime) with Ajax: Visual QuickPro Guide"... it really hasn't covered aspects of what makes good design (like what's the best way to reuse the main application window to hold interactive content)... but anyway, there you have it.
Again, I hope someone can help me out.
Thanks!
Chris

Thanks for responding, Andy. I don't think I'm losing my namespace. That
thought had crossed my mind, which is why (and I thought I put this in my
original post) I tried putting a somple alert in the onclick event of the
button in my "patron.htm" file... but that simple alert doesn't even work.
:o(
Do you still think it's an issue with the namespace?

Similar Messages

  • What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API

    The question says it all:
    What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API.?
    In the User Profile -> Permissions there is only the option for "Full Control".

    Hi Nikolay,
    Thanks for posting your issue, you need to set permissions on User Profiles = Read. Kindly find the below mentioned URLs to get the code and more details on this.
    http://www.vrdmn.com/2013/02/sharepoint-2013-working-with-user.html
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    http://sharepoint.stackexchange.com/questions/61714/sharepoint-2013-call-the-rest-api-from-sharepoint-hosted-app
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/09/how-to-query-sharepoint-2013-using-rest-and-javascript.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • I purchased a IPad Air with Pages and Numbers included. I was told I could use these apps on my mac book and other devices. How do I sync or access these from my mac.

    I purchased a IPad Air with Pages and Numbers included. I was told I could use these apps on my other devices like my MacBook. How do I sync or add these to my macBook?

    the free apps are only for ios device (iphone ipad ipod touch) and do not work on mac computers. if you do get pages and numbers on your mac though you can sync the information using icloud

  • Unable to sync music in Library of MacBook Air with iPad and iPhone. Appears to start synchronising but does not actually do it. All devices run on same Apple ID. Suggestions please.

    Unable to sync music in Library of MacBook Air with iPad and iPhone. Appears to start synchronising but does not actually do it. All devices run on same Apple ID. Suggestions please.

    Re Outlook for Mac - can anyone confirm that this will acheive my aims to have emails and associated folders within email to synch across all devices and that calender will also sycn across all devices using iCloud ?

  • How is valid Programming in HTML5 with JavaScript and CSS3 Specialist certification

    Hi ,
    Before 2 years(2013) i take  Programming in HTML5 with JavaScript and CSS3 Specialist certification, and i want to ask you,  is still valid there this certification, or should I take the exam again to take certification.
    Thank you :)

    This certification is "permanent", you don't need to recertify.
    If you also took the additional exams needed for a MCSD, then yes, you would need to recertify every two years in order to maintain the MCSD. But the TS certification that you get by passing exam 70-480 does not require recertification.

  • I'd like to know what is different between iPad air with wifi, and with cellular

    I'd like to know what the different between iPad air with wifi and with cellular

    With the wifi only one you can only get internet via wifi.
    With the cellular one you can also access the internet via cellular (with appropriate data plan)
    beyond that, and the price, they're the same

  • I have a Macbook Air with Lion and have downloaded drivers for the Pico Pix 2055 which i am unable to run how do I override the security. I have followed the Mac procedure but to no avail :-(

    I have a Macbook Air with Lion and have downloaded for the Pico Pix 2055 which I am unable to run. How do I override the security.  I have followed the Mac procedure but to no avail :-(. 

    See the heading "How to open an app from a unidentified developer" on this support page. The instructions apply to installer packages as well as applications.

  • Buy mac air with Arabic and English keyboard

    would like to buy mac air with Arabic and English keyboard?
    can u guid me

    Nobody in these forums represents Apple or any store.  So to find out whether you can buy something, you need to contact stores or consult their websites in the country where you live directly yourself.
    Since you did not say where you live, it is hard to provide much further help.  If you live in the US, you can go to the web page for the online store and order this machine with an Arabic keyboard.  But they will not ship outside the US, and every store is different.
    Arabic keyboards always have English on them too.  Otherwise you could not type email or web addresses.

  • Migrated powerbook to new macbook air with mavericks and the macbook air is using much more storage

    I migrated powerbook to new macbook air with mavericks and the macbook air is using much more storage than the powerbook.

    I'm trying to figure out why the new macbook air takes almost twice as much storage as the old powerbook with the same content. 

  • JavaScript and PS CS6: Performance issue

    Hi folks
    I have to admit we are stuck in our development: We have written a Phothoshop Plugin unsing extensive JavaScript and Flash Panels / Action Script.
    The Javascripts would, eg. select a given layer. When running the Javascript in PS CS5 or 5.1 everything is smooth and snappy but we've noticed, that the same JavaScript running in PS CS6 takes up to 300% more time.
    Does anyone having observed the same performance issues?
    Would it be faster to address the specific layers by their native Layer ID's rather than their names?
    Why is there such a performance slow down with the same JavaScripts / ActionScript-FlashPanel between CS5 and CS6?
    We have already contacted [email protected] (we are solution partner silver) but they do not start acting if you are using your own JavaScripts....
    You are our last hope :-( 
    I can send you some of the code but I don't want it to be publicly exposed here.
    Thanks in advance,
    Andrash

    Hi, since nobody bothers to answer we might have to find out ourselfs.
    Maybe it is caused by the way we address layers throug the script?
    Which method are you using?
    Are you addressing the layers directly or are you just cicling throug an array of layers?
    Are you pointing for the layers by their native ID or rather their layer names?
    How do you trigger the script: by another script? From a flash panel (Flex / Action Script)?
    We are using Flash Panels to start the script. The script simply calls a layer by it's name (a numerical ID that we apply to the layer). The script shall look up that specific layer and check if there is some content on the layer. We created a logger to see where the heavy amount of time is consumed and it seems, that it is while jumping to the layer.
    In CS5 that was all a matter of a split second. Now in CS6 it takes a couple of seconds (4sec.). We asked ADOBE Techsupport for help, but they didn't even bother to look at the problem since we are working with self written code (as every developer does.....?!?!). I wonder what techsupport is good for if not answering techical problems like this one.
    I hope that, with your answers we might circle in the cause of the problem!
    Cheers,
    Andreas

  • I am quite fed up with Apple and my iMac - multiple issues

    I've been a Windows user for years. I've suffered through all of the ups and downs of Windows over the years, mostly the downs. I have three Windows 7 computers, and quite frankly, both have performed quite beautifully, albeit without the polish of the Mac.
    Earlier this year, I decided to buy an iMac for a few reasons. First, they are just so beautiful, and even if you are going to run Windows they are probably the best Windows computers out there. Second, I wanted to do more video editing and found the Windows tools weren't very good. I also wanted to run some karaoke software (kJams) that at the time was not available for Windows.
    I was basically pleased with the iMac for a few months. However, there was one problem I could never solve: the wifi connection got lost periodically, even though I had made all of the system updates. I know this is a problem with the iMac, because my numerous Windows PCs and my two iPod toouches had no problem with a wifi connection. It appears from various posts here that this is indeed a problem many others have experienced since Snow Leopard's release, and as far as I can tell, despite many updates to the Airport software it has never been fixed by Apple. Strike 1.
    A couple of weeks ago, my iMac started running slow for no reason I could identify. I don't have a lot of software installed on it, I didn't download anything pirated or questionable. I did install bootcamp according to Apple's instructions, and it worked fine (I wanted to run some Windows games). I tried doing all of the things that folks suggest when your computer is running slow - repairing permissions, running Onyx, etc. None of them seemed to do anything. I tried creating a new user, it had the same problem. I also noticed various other problems with the computer: it was slow to recognize a USB hard drive (and sometimes didn't recognize it at all), external hard drives would not appear in the time machine set up, and various other problems I can't quite recall. Overall, while presumably nothing serious should have been wrong with my computer, I decided I probably should simply reinstall OS X. Strike 2.
    Now, quite frankly I would have been happy to simply reset the computer to its factory state. I would point out that nearly all Windows PCs come with a separate repair partition where it is very easy to do that with one click. I guess Apple is so confident in the reliability of its computers it doesn't think this is a useful feature. So, I had to install OS X using the DVD that came with the computer. It took quite a while to do this, and actually it wasn't at all clear to me that my settings would be kept (one would think that this is something the install screen would point out - Windows makes a quite clear distinction between a "clean install" and a re-install).
    I was somewhat pleased when all of my settings were there. After the long process of reinstalling, I click on the "Accounts" setting I get a message saying that the Preferences application has quit unexpectedly -- clearly there are still problems. Quite irritating given that I just spent an hour trying to re-install the OS. I google around and again find others have had this problem, but unfortunately none of the proposed fixes I try seem to work. And my computer still seems to have other problems - it still doesn't recognize external drives very well. I will say that it seemed to be running a little faster though. Strike 3.
    Anyway, I decide I need to do a full clean install. When I do that, things seem to be working better, although the mouse pointer is quite jerky - I'm thinking that maybe I need to just run software update to fix that. I start the software update - a nice 1gb download is required. Now ,the problem is that I STILL HAVE THE PROBLEM WITH WIFI DISCONNECTIONS. So no matter how many times I start the download, I CAN"T FINISH IT. And Apple, in its infinite wisdom, HAS NOT WRITTEN A DOWNLOADER THAT IS SMART ENOUGH TO CONTINUE WHERE IT LEFT OFF. How hard is this to do, really? Do I now have to lug my iMac across the house to put it on a wired connection? I've already wasted hours trying to get this piece of junk working.
    And the sad fact is, once I am done, I will have a very beautiful computer that can't hold an internet connection.
    I have to give Apple kudos for the iMac hardware. It's great. But the software? It's fine as long as it works. But it doesn't always work - and when it doesn't, it actually at this point seems more buggy and difficult to repair than Windows. Is this the last Mac I'll ever buy? Probably. Quite frankly, it's hard to avoid the conclusion that Apple's best developers have moved on to more exciting pastures (iPhone for example). And given the number of unsolved issues posted on these forums (including the ones I mention here), it appears that Apple engineers are simply asleep at the switch.

    Let me start by saying I don't use wireless so I haven't had to deal with it, and I assume you know your way around all the settings in your modem/switch and Windows 7.
    http://www.google.com/search?sourceid=navclient&q=Applewifi+signaldrops
    Google turned up a 43 page thread, going on for a year, not very encouraging.
    a href=http://discussions.info.apple.com/thread.jspa?threadID=2142725&tstart=0&me ssageID=12175855#12175855> Dropping Wi FI Signal
    Well for weeks (months?) now, since two or three weeks maybe after 10.6.4 was released, I did not have dropped wifi until today. What is different? I applied the latest security patch less than 24 hours ago.
    http://support.apple.com/kb/DL1094
    Safari and DNS:
    http://discussions.apple.com/thread.jspa?threadID=2227251
    http://reviews.cnet.com/8301-13727_7-20016549-263.html
    Airport:
    http://reviews.cnet.com/8301-13727_7-20012462-263.html
    Joining an encrypted wireless network
    When logged in, then AirPort menu bar icon shows the approximate strength of your wireless network signal. All four signal bars darkened means you have very good throughput. If you don't see this menu bar icon, enable it in AirPort preferences. http://support.apple.com/kb/HT1126
    If you can focus on networking, there are some excellent people that hang out there.
    http://discussions.apple.com/forum.jspa?forumID=1343
    If you bought your iMac this year then it likely came with 10.6.3 and shouldn't have a whole lot of updates, outside of iTunes and Safari etc.
    iMac Networking Discussion?
    http://discussions.apple.com/forum.jspa?forumID=1111
    Support, tutorials, how to, etc:
    http://www.apple.com/support/imac/intel/
    Potential sources for interference with wireless
    http://support.apple.com/kb/HT1365
    Bluetooth: If your computer stops recognizing your Apple wireless mouse or wireless trackpad, simply click the mouse button or trackpad surface to get it working again. http://support.apple.com/kb/TS3048
    And, sometimes just knowing what make of networking equipment (linksys, netgear, d-link, even Apple). USB ADSL or a USB wireless devices don't work with Macs. Checked for firmware update for the network devices?
    Changing from WEP to WPA
    How do I change from WEP to WPA security, which I have been told is better. I'm sure it is simple but i cant find it.
    These settings are in your wireless router, so you will have to consult the manual for how to access the administration page and change the wireless security settings. Once you have WPA or WPA2 enabled, you will need to reauthenticate your computer with the wireless network since you will have a new password. If you have problems with persistent password requests popping up, you will need to open the "Keychain Access" utility and remove all keychain entries associated with your wireless network and password.
    http://reviews.cnet.com/8301-13727_7-20014188-263.html
    Networking In networking utilities, the in-depth network troubleshooting and monitoring utility VisualRoute ($49.95) has been updated to fix a bug with the "whois" routine, and likewise the Wi-Fi hot spot finder AirRadar ($19.95) has also been updated with a small bug fix for the signal status not updating.
    The network administration and security testing utility NetScan (free) has also been updated and now has a revamped interface and new features for port scanning as well as fixes for icon appearance and update-checking problems.
    http://reviews.cnet.com/8301-13727_7-20013211-263.html
    As for restore, it is different, won't be the same, but there are two ways to handle that on a Mac:
    Apple TimeMachine
    Clone OS X: bootable (yes, you can boot from 2nd or 3rd hard drive) - SuperDuper ($29) is superb and I update the backup (15 minutes) before applying updates.
    That way I have my previous system with all data, not just an image, all my data and going back in time.
    From another thread:
    if you have issues when using an AirPort router, you've either got interference issues causing your problems or a system issue.
    whenever possible:
    1) Vist an Apple Store
    2) Try your machine on their network
    3) If the connection drops, make them fix it.
    Reason being, I've tried and checked log after log and have never seen a connection drop inside an Apple Store.
    My gut reaction would be interference but the easiest move may be to check it in an Apple Store if at all possible.
    http://discussions.apple.com/thread.jspa?threadID=2142725&start=225&tstart=0
    If you connect to the Internet or a network in several different ways (using AirPort or Ethernet, for example), you can change the order of the network port configurations your computer tries when connecting to the Internet or a network.
    To change the priority of a network port configuration:
    1) Choose Apple menu > System Preferences, and then click Network.
    2) Choose Set Service Order from the Actions pop-up menu.
    3) Drag a service, such as Ethernet, to the top of the list. When you try to connect, Mac OS X will try the port configuration at the top of the list.©
    Tip: Any Network Device listed here that you'll never use for a Network Connection should be set to 'Inactive'.

  • Problem with Javascript and opening a new page

    Hi,
    I'm developping a website with Java Server Faces.
    I've a problem with JavaScript.
    I have a table, and each row of that table, has a button, to display more information about that specific row. I want to display this information in a new window. For this I want to use JavaScript.
    The new window, of course, needs some information of the other window, to show the right data.
    The first time I click the 'more-information-button', it works perfectly, but from than on, he keeps showing the same information...
    Here is my jsp-page of the first page (the one with the table):
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
             <f:loadBundle basename="languages.MessageBundle" var="bundle"/>
            <html>
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>- UCV-Period -</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                        <h:dataTable binding="#{UcvPeriod.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd" rows="5"
                            style="left: 24px; top: 168px; position: absolute" value="#{UcvPeriod.dataTable1Model}" var="currentRow">
                            <h:column binding="#{UcvPeriod.column1}" id="column1">
                                <h:outputText binding="#{UcvPeriod.outputUcvPeriod}" id="outputUcvPeriod" value="#{currentRow['UCVPERIOD']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText2}" id="outputText2" value="#{bundle.ucvPeriod_columnHeader_ucvPeriod}"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{UcvPeriod.column11}" id="column11">
                                <h:commandButton action="#{UcvPeriod.btnDetails_action}" binding="#{UcvPeriod.btnDetails}" id="btnDetails" value="+" onclick="window.open('Details.jsp')"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText21}" id="outputText21" value=""/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Here is my action, when someone clicks on the 'more-information-button':
    public String bthnDetails_action() {
       Object s = outputUcvPeriod.getValue();
       BigDecimal ucvPeriod = (BigDecimal)outputUcvPeriod.getValue();
       this.getSessionBean().setUcvPeriod(new Integer(ucvPeriod.intValue());
       return "detail_ucvperiod";
    }Here is my constructor of the Detailspage.
        public Details() {
             this.txtUcvPeriod.setValue(this.getSessionBean().getUcvPeriod());
        }Here is the navigation part for this part of my faces-config.xml .
    <navigation-rule>
       <from-view-id>/UcvPeriod.jsp</from-view-id>
       <navigation-case>
           <from-outcome>detail_ucvperiod</from-outcome>
           <to-view-id>/UcvPeriod.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>Thx a lot....
    Anneke

    See the tutorial "Sharing Data Between Two Pages" at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/data_sharing_twopages.html and the FAQ "How can I pass data between pages without creating SessionBean variables in Creator?" at http://devservices.sun.com/premium/jscreator/standard/reference/faqs/technical/javasource/passing_data.html. Since you can open a new window when your button is clicked, the tutorial and FAQ will explain ways to pass your data to the new window.

  • FCC with ASCII and UTF-8 encoding issue

    Hi,
    I have File to IDoc scenario and I am doing FCC which has Japanese chars. (PO with HEADER,1,ITEMS,*)
    I have specified UTF-8 encoding in file adapter to processed the file.
    Earlier, my source file was in ASCII format which had junk chars; my file was picked and Idoc posted had junk chars.
    Then I used UTF-8 encoding for my source file to correct this issue. XI showed proper Japanese chars but this time Header part is missing.
    Do I have to specify encoding in "module" for File adapter?
    Regards,

    Thanks for your replies Chirag/Gabriel,
    ISO encoding didn't work.
    My source file will be in UTF-8 format.
    There is one correction. It is ANSI encoding, not ASCII as in the subject.
    I still have this issue when my document offset is 0.
    I tried to play around with FCC and found this odd thing.
    When first line of my input file is blank....and I omit reading the first line with offset 1, then file is read in its entirety.
    Again, when I remove this blank line and the file starts with Header and with offset 0 in File adapter, then again my Header part is missing.
    What to do?
    Regards,
    AV

  • Please point me to examples of fixed layout ebooks with javascript and animations

    Hi! I am a danish children's author and want to create an ebook in "Fixed layout" for the ibookstore. I want the ebook to have simple interactive and animated features triggered by javascript. I would like more knowledge about what is and isn't possible with the javascript and CSS in apples fixed layout format. I have already viewed the "Yellow Submarine" ebook and Apples sample ebook "Sonnet 18". Are there more examples available?
    Please do not point me to apps. There are great interactive book-apps for children - but for this project I am only interested in the Fixed layout format for the ibookstore.
    All replies will be greatly appreciated, thanks!

    if I can help, let me know...
    check out the new series to help create publications. just search in the iTunes Store for An iBuild Opportunity

  • Have a MacBook Air with Lion and it won't print in color, just black. How to fix?

    Have a new MacBook Air with Lion which will only print in black.  How do I get to print in color. Have HP 7200 All In One Printer???????

    Are you using the correct printer driver? Did you contact HP tech support for help?

Maybe you are looking for

  • File Utility - Find operation; How to retrieve all files in a folder?

    I am using Find operation of FileUtility service to count the number of files present under a given folder. I can not find the correct Regular Expression to match all files. The Adobe documentation mentions that * character is default which matches a

  • Line break in photoshop image

    I had a tif file of a mountain climber which was placed in an Indesign file as a cover for a brochure. The indesign file went through a number of text edits during the course of August through November.  Towards the last month of November a line gap

  • Incoming Direct Debits

    We are setting up and testing incoming Direct Debits.  By default it seems to clear the items and post the receipt even though we havent had the money yet.  Were post dating the posting date to allow for the bank processing time, ut I'm wondering wha

  • Catastrophic failure with setting up a new iMac

    I'm kind of at my wits end here. I bought my wife a new iMac to replace her 6 year old iMac. When trying to set up, using the prompt to copy from another Mac when her old one and the new one were connected with an Ethernet cable, they just couldn't f

  • IChat AV is hopeless try Skype

    Before I left for Iraq I installed the latest OS, 10.4.9, on the powerbook G4 at home, as well as buying a Logitech quick cam. For several days I tested iChat AV between that machine and the one I brought with me, a MacBook. No problems communicating