# Galley text Problem

**URL:** <https://forum.kirupa.com/t/galley-text-problem/104482>\
**Category:** Uncategorized\
**Created:** [March 16, 2004, 6:11pm UTC](https://forum.kirupa.com/t/galley-text-problem/104482 "2004-03-16T18:11:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barrie](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@Barrie](https://forum.kirupa.com/u/Barrie)\
**Post date:** [March 16, 2004, 6:11pm UTC](https://forum.kirupa.com/t/galley-text-problem/104482/1 "2004-03-16T18:11:46Z")

</div>

Here is my attempt at a site, The irc friends Text is my problem when you open the gallery go to first picture, their is a read up dynamic text to the left of screen… Now if you go to button 1 or 2 the gallery goes away thats fine, But the text still shows on the left :be: How can I fine tune it so it goes away once gallery is shut?

[http://www.barrie44.pwp.blueyonder.co.uk/friends40.html](http://www.barrie44.pwp.blueyonder.co.uk/friends40.html)

The action script :

//initialize variables and properties

description1 = “I am a 40 year old wife, mother, daughter, sister and friend from North Texas This October I will be married to Ricky aka RenSor 10 years.I am the mother of 2 sons, Brandon 19 and Bradley 17, Step-mom of Kris 25 and Karrie 19 Also, I am the proud Grandma to Lezlie Jayde (Brandon), Step-Gma to Anthony and Micheal (Kris) and Angel (Karrie)I have two wonderful pets, Bubbles my 12 year old Border Collie and Diesel our 7 month old kitten. My hobbies and interests include: Computers, Photography and Photo scrapebooks, Poetry, Swimming and Dirtbikes (which I miss terribly) Right now most of my free time is spent visiting with friends online.”;

description2 = “”;

square.\_alpha = 0;  
whichPic = 0;  
//initiate change to new image when buttons are clicked  
next.onPress = function() {  
if (whichPic\<17 && !fadeIn && !fadeOut) {  
fadeOut = true;  
whichpic++;  
input = whichPic;  
}  
};

back.onPress = function() {  
if (whichPic\>1 && !fadeIn && !fadeOut) {  
fadeOut = true;  
whichpic–;  
input = whichPic;  
}  
};  
\_root.onEnterFrame = function() {  
// when a new Photo is selected, fade out, load new image, and fade in  
if (square.\_alpha\>10 && fadeOut) {  
square.\_alpha -= 10;  
}  
if (square.\_alpha\<10) {  
loadMovie(“friends40/image”+whichPic+".jpg", “square”);  
fadeOut = false;  
fadeIn = true;  
if (whichPic == 1){desc = description1;}  
else if (whichPic == 2){desc = description2;}  
else if (whichPic == 3){desc = description3;}  
else if (whichPic == 4){desc = description4;}  
else if (whichPic == 5){desc = description5;}  
else if (whichPic == 6){desc = description6;}  
else if (whichPic == 7){desc = description7;}  
else if (whichPic == 8){desc = description8;}  
else if (whichPic == 9){desc = description9;}  
else if (whichPic == 10){desc = description10;}  
else if (whichPic == 11){desc = description11;}  
else if (whichPic == 12){desc = description12;}  
else if (whichPic == 13){desc = description13;}  
else if (whichPic == 14){desc = description14;}  
else if (whichPic == 15){desc = description15;}  
else if (whichPic == 16){desc = description16;}  
else if (whichPic == 17){desc = description17;}  
}  
if (square.\_alpha\<100 && fadeIn && !fadeOut) {  
square.\_alpha += 10;  
} else {  
fadeIn = false;  
}  
// limit input field  
if (input\>17) {  
input = 17;  
}  
// initiate change to new image when Enter key is pressed  
if (Key.isDown(Key.ENTER)) {  
fadeOut = true;  
whichpic = input;  
}  
};  
// if a number is entered in the input field but Enter is not pressed, change  
// back to current Photo number when clicking anywhere else  
inputField.onKillFocus = function() {  
input = whichPic;  
};

Can some one help please, To amend my problem…

Many Thanks

Regards Barrie
