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.onLoad = function(Reussite) { 
    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 <[email protected]>






some code appears to be not displayed (once again)

please read :

 "cahier_XML.onLoad = function(success) { "
instead of: 
"cahier_XML. { "


and 

 "mc.onEnterFrame=function(){;};"
for  
mc.>               

Cyril





                                                                                
                                          

---------------

SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>


                                          
---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

Reply via email to