|
From: | Cyril THURIER |
Subject: | Re: [Swftools-common] SWFC : onLoad... never loaded |
Date: | Fri, 4 May 2012 14:17:17 +0200 |
It should work with relative path, I think. At least on my machine (I have other example where it work !).
What I don't understand is why, in any case, I don't observe this update: ' this.log0.text += " 2;"; ' in the onLoad function. Even if there is no file. ' cahier_XML. { this.log0.text += " 2;"; if (success) { this.log0.text += " 3;"; cahier = cahier_XML.firstChild; photos = cahier.childNodes; for (i = 0; photos[i] != undefined; i++) { listePhotos[i] = photos[i].firstChild; } }else { this.log0.text += " ??? "; } };' try with complete path to 'cahier.xml' and be carreful : if this code is used ONLINE, I think that the file 'cahier.xml' should ALSO online. 2012/5/4 Cyril THURIER <address@hidden>
|
[Prev in Thread] | Current Thread | [Next in Thread] |