i want to “text description” on full images which calling by function “callFullImages” from gallery…
** my gallery is-**----
<gallery thumb_width=“400” thumb_height=“290” gallery_width=“400” gallery_height=“700” gallery_x="" gallery_y="" full_x=“1220” full_y=“50”>
<image thumb_url=“shop1.png” full_url=“full01.jpg” title=“Mango Juice”/>
<image thumb_url=“shop2.png” full_url=“full01.jpg” title=“Mango Juice”/>
<image thumb_url=“shop3.png” full_url=“full01.jpg” title=“Mango Juice”/>
<image thumb_url=“shop4.png” full_url=“full01.jpg” title=“Mango Juice”/>
<image thumb_url=“shop5.png” full_url=“full01.jpg” title=“Mango Juice”/>
<image thumb_url=“shop6.png” full_url=“full01.jpg” title=“Mango Juice”/>
</gallery>
** my function is ----- **
function callFullImage(myNumber)
{
myURL = myImages[myNumber].attributes.full_url;
myTitle = myImages[myNumber].attributes.title;
_root.createEmptyMovieClip("ajit",_root.getNextHighestDepth());
ajit._x = _root.full_x = 130;
ajit._y = _root.full_y = 32;
/*by forum*/
_root.onEnterFrame = function()
{
wall._alpha = 0;
if (_root._currentframe == 2)
{
wall._alpha = 100;
}
};
this.gotoAndStop(21);
var fullClipLoader = new MovieClipLoader("ajit");
var fullPreloader = new Object();
fullClipLoader.addListener(fullPreloader);
fullPreloader.onLoadStart = function(target)
{
target.createTextField("my_txt",ajit.getNextHighestDepth(),0,0,400,20);
target.my_txt.selectable = false;
};
fullPreloader.onLoadProgress = function(target, loadedBytes, totalBytes)
{
target.my_txt.text = Math.floor((loadedBytes / totalBytes) * 100);
};
fullPreloader.onLoadComplete = function(target)
{
new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
target.my_txt.text = myTitle;
};
fullClipLoader.loadClip("full_images/" + myURL,ajit);
}