phlackee
asked on
Xml And Duplicate MC
OK
this is my question:
I have a MC called image_dropzone, with a image container and caption text that duplicate it self for slideshow. so when next image is loaded it will be placed on duplicated MC and current image will fade out next image fade in. this works without captions. I need captions to be faded too, so I put captions inside MC and create a mc for image a text for caption, so this is code below loads Images only. I have something wrong loading text.
My idea is to Load all the images and captions from the XML data
for(var i=1; i<=numImages; i++){
_root.image_dropzone.dupli cateMovieC lip("image _dropzone" + i, i);
_root["image_dropzone" + i].container.loadMovie(_ro ot.image_f older + xmlData.slideshow[1].image s[i-1].ima ge[0].file .value);
_root["image_dropzone" + i].tb_caption.text.LoadVar s(xmlData. slideshow[ 1].images[ i-1].image [1].captio n.value);
}
Make it simple: How to load XML text in tb_caption.
this is my question:
I have a MC called image_dropzone, with a image container and caption text that duplicate it self for slideshow. so when next image is loaded it will be placed on duplicated MC and current image will fade out next image fade in. this works without captions. I need captions to be faded too, so I put captions inside MC and create a mc for image a text for caption, so this is code below loads Images only. I have something wrong loading text.
My idea is to Load all the images and captions from the XML data
for(var i=1; i<=numImages; i++){
_root.image_dropzone.dupli
_root["image_dropzone" + i].container.loadMovie(_ro
_root["image_dropzone" + i].tb_caption.text.LoadVar
}
Make it simple: How to load XML text in tb_caption.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.