Hi
I hope someone can help me, as I’m not a coder. I am trying to modify a random image gallery template in AS2. Basically the gallery is just the image with some scrolling thumbs on the right side. I moved a text field which was below the image onto the bottom of the image, and am trying to add a semi-transparent black band (black_band) so the text can be read more clearly. A section of the code is below:
function callRanImage(myNumber) {
myURL = myImages[myNumber].attributes.full_url;
myTitle = myImages[myNumber].attributes.title;
**_root.createEmptyMovieClip("fullImage_mc",0);**
fullImage_mc._x = _root.full_x;
fullImage_mc._y = _root.full_y;
var fullClipLoader = new MovieClipLoader();
var fullPreloader = new Object();
fullClipLoader.addListener(fullPreloader);
fullPreloader.onLoadStart = function(target) {
target.createTextField**("ran_txt",target.getNextHighestDepth(),0,480,350,20);**
target.ran_txt.textColor = 0xFFFFFF
};
fullPreloader.onLoadComplete = function(target) {
new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
target.ran_txt.text = myTitle;
};
fullClipLoader.loadClip("images/Concept_full_images/"+myURL,fullImage_mc);
pause();
}
**_root.createEmptyMovieClip("black_band_mc",1);**
black_band_mc.attachMovie ("black_band","black_band", 0)
black_band_mc._x = 0;
black_band_mc._y = 480;
Seems the level the text is on I cannot manipulate separately from the image level, which loads into fullimage_mc using loadClip. I have tried changing (“ran_txt”,target.getNextHighestDepth(),0,480,350,20); to (“ran_txt”,_level4,0,480,350,20); or (“ran_txt”,1001,0,480,350,20); stuff like that, but specifying a level doesn’t seem to work for me…Black_band either shows above the image and text field, or is invisible below it…I want it to be above the image but below the text field…but have no idea how to get this effect…
any help appreciated…
Thanks guys