Thanks, MM .. you've taught me a LOT! I have all 160 or so links working ..
rather than the loadfunction routine. Works really well.
"Motion Maker" <macromedia@osfordusahay.com> wrote in message
news:dtama7$fib$1@forums.macromedia.com...
> Great!
>
> Also for the future, IE and FireFox both will load an XML file and report
> if you have malformed XML.
>
> --
> Lon Hosford
>
www.lonhosford.com > May many happy bits flow your way!
> "Nancy Gill" <nancy@webwish.com> wrote in message
> news:dt8hci$pmu$1@forums.macromedia.com...
> IT WORKED!!!!! Thank you .. Thank you .. Thank you .. a thousand times
> ..
> Thank you!!! :)
>
>
> "Nancy Gill" <nancy@webwish.com> wrote in message
> news:dt8avg$igo$1@forums.macromedia.com...
>>I will give this a shot. Someone on the flash.actionscript forum said he
>>believes it's my XML file and when I put that in DW, truly it doesn't
>>validate so probably both are a possibility. But if I can keep from
>>having to remake about 160 files, I surely will. :)
>>
>> thanks!
>> Nancy
>>
>> "Motion Maker" <macromedia@osfordusahay.com> wrote in message
>> news:dt82b6$91n$1@forums.macromedia.com...
>>> <a href='asfunction:loadFunction,newfile.xml'>New Link</a>
>>>
>>> Might be a level or loadFunction's scope problem. Does this make a
>>> difference
>>>
>>> <a href='asfunction:_root.loadFunction,newfile.xml'>New Link</a>
>>>
>>> Add a traces as well to see if the function is called and other data
>>> values. Use Control->Test Movie to observe the traces.
>>>
>>> function loadFunction(target){
>>> trace("loadFunction");
>>> trace("\ttarget = " + target);
>>>
>>> myXML.load(target);
>>> myXML.onLoad = function(success)
>>> {
>>> trace("myXML.onLoad ");
>>> trace("\tsuccess = " + success);
>>> trace("\tmyXML = " + myXML);
>>>
>>> var myArray:Array = myXML.firstChild.childNodes;
>>> myTitle.text = myXML.firstChild.attributes.title
>>> myLoader.contentPath = myXML.firstChild.nextSibling.attributes.src
>>> myText.text = myXML.firstChild.nextSibling.nextSibling
>>> }
>>> }
>>>
>>>
>>> also consider placing _root for all myXML references ex:
>>>
>>> _root.myXML.load
>>> _root.myXML.onLoad
>>>
>>> --
>>> Lon Hosford
>>>
www.lonhosford.com >>> May many happy bits flow your way!
>>>
>>
>>
>