# Variable problems

**URL:** <https://forum.kirupa.com/t/variable-problems/121521>\
**Category:** Uncategorized\
**Created:** [September 3, 2004, 1:49pm UTC](https://forum.kirupa.com/t/variable-problems/121521 "2004-09-03T13:49:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LunarTears](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@LunarTears](https://forum.kirupa.com/u/LunarTears)\
**Post date:** [September 3, 2004, 1:49pm UTC](https://forum.kirupa.com/t/variable-problems/121521/1 "2004-09-03T13:49:39Z")

</div>

Hiya 😃

I’ve made this mini website (just for me and friends and such), and it first starts out with a little button on the top right corner. Click the button and three button ease and fade from top left and right at the same time. Ok, now, when I click button 1, an animation plays, and text gets displayed, and if I were to click button 1 again, the animation plays again (the exact opposite of the first animation), and nothing is displayed like it was before I clicked on button 1.  
So, I’ve been having troubles making a mechanism that would play the closing animation for button 1 (If it’s up) then play the animation for button 2.

Here’s the variable problem-  
I figured out that when I had my first button named, l\_aboutme, it doesn’t always work. On some things it seems to work, and on some others it doesn’t. So I changed the “l” to “link”, so now it’s link\_aboutme, and it works!  
By work and doesnt work, I meant stuff like-

trace(\_root.b1\_links.l\_aboutme.aboutme);  
returns “undefined”

trace(\_root.b1\_links.link\_aboutme.aboume);  
returns “true” (assuming that it’s been set true elsewhere)

I know that posting the .fla would be much easier for you to understand, but alas, I am currently at school \>\<, but I can’t concentrate in school until this knot is untied in my head (I have to work afterwards till later hours, so it’d be torture even more). sorry! and, thanks in advance 😃  
(you’re probably thinking that I wouldn’t find out till I get home anyway, but you see, if I post now 😃 my problem may be answered by the time I get on rather than posting when I get home and finding out tomorrow:))
