flash data integration:
Have you tried this:
var myXml = new XML();
myXml.ignoreWhite = true;
--
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11 *THE online Radio*
http://www.tornadostream.com <--check this
*Must Read*
http://www.smithmediafusion.com/blog [quoted text, click to view] "ArthurFlash" <webforumsuser@macromedia.com> wrote in message
news:evh0b2$fq6$1@forums.macromedia.com...
> Hello people. I am completely self taught and don't really have any idea
> if
> what i am trying to do is right or wrong so stick with me. I will keep
> this as
> sort and sweet as possible to save boring you.
>
> I am currently making a website for a client. There is an updatable
> section of
> the website which has a photo and text area that can be changed whenever
> necessary. I am getting google's Picasa to upload a XML to my server then
> get
> flash to read certain nodes (I think that right?) to get the information
> needed. I have got the text working fine but can't get the pictures to
> load. I
> know why but don't know a way around it.
>
> Here's the XML that Picasa exports
>
> <?xml version="1.0" encoding="utf-8" ?>
>
> <album>
>
> <albumName>Your Site Updater</albumName>
>
> <albumItemCount>1</albumItemCount>
>
> <albumCaption>Test caption. This works fine.</albumCaption>
>
> <images>
>
> <image>
>
> <isFirstImage>
>
> true
>
> </isFirstImage>
>
>
>
>
>
>
>
> <isPrevImage>
>
> false
>
> </isPrevImage>
>
> <prevImage />
>
>
>
> <isLastImage>
>
> true
>
> </isLastImage>
>
>
>
>
>
>
>
> <isNextImage>
>
> false
>
> </isNextImage>
>
>
>
>
>
>
>
> <firstImage>
>
> images/blue_hills.jpg
>
> </firstImage>
>
> <itemLargeImage>
>
> images/blue_hills.jpg
>
> </itemLargeImage>
>
> <nextImage>
>
>
>
> </nextImage>
>
> <nextThumbnail>
>
>
>
> </nextThumbnail>
>
> <prevImage>
>
>
>
> </prevImage>
>
> <prevThumbnail>
>
>
>
> </prevThumbnail>
>
> <lastImage>
>
> images/blue_hills.jpg
>
> </lastImage>
>
> <lastThumbnail>
>
> thumbnails/blue_hills.jpg
>
> </lastThumbnail>
>
>
>
> <itemWidth>
>
> 320
>
> </itemWidth>
>
>
>
> <itemHeight>
>
> 240
>
> </itemHeight>
>
>
>
> <itemThumbnailImage>
>
> thumbnails/blue_hills.jpg
>
> </itemThumbnailImage>
>
>
>
> <itemThumbnailWidth>
>
> 90
>
> </itemThumbnailWidth>
>
>
>
> <itemThumbnailHeight>
>
> 70
>
> </itemThumbnailHeight>
>
>
>
> <itemName>
>
> blue_hills.jpg
>
> </itemName>
>
>
>
> <itemNumber>
>
> 9
>
> </itemNumber>
>
>
>
> <itemOriginalPath>
>
> c:\documents and settings\all users\documents\my pictures\sample
> pictures\blue_hills.jpg
>
> </itemOriginalPath>
>
>
>
>
>
> <itemNameOnly>
>
> itemNameOnly UNDEFINED (9)
>
> </itemNameOnly>
>
>
>
> <itemCaption>
>
>
> </itemCaption>
>
>
>
> <itemSize>
>
> itemSize UNDEFINED (9)
>
> </itemSize>
>
> </image>
>
> </images>
>
> </album>
>
> I have no problem reading the <albumCaption> node as there is no white
> space
> round it and it loads fine. The <firstImage> node however has white space
> round
> it and means that the URL that flash goes through to load the chosen image
> is
> unrecognised. Such a simple problem in theory but I being an amature who
> is
> petrified of Action Script and I can't find a solution. All of this has
> been
> done through flash 8's XML connector and not one line of action script has
> been
> needed. Any help would be really appreciated.
>
> Cheers
>