Howdy!

Heres the problem i'll try to explain as cleary as i can.

I have two frames. On the first frame a dynamic text with the variable name "LETTER" and two buttons. One with this statement
---------------------------------------------------

on (release) {
LETTER = "A";
}

and the other with this statement

on (release) {
LETTER = "B";
}

--------------------------------------------------

Frame 2 has this but also a movie with an instance name "GUN". The movie "GUN" has two frames with stop actions each frame has a different image.
Frame 2 of the main timeline (not the "GUN" movie) has also got this actionscript on it;

--------------------------------------------------
gotoAndPlay (1);
if (LETTER == "B") {
tellTarget ("GUN") {
gotoAndPlay (1);
}
if (LETTER == "A") {
tellTarget ("GUN") {
gotoAndPlay (2);
}
}
} else {
gotoAndPlay (1);
}
--------------------------------------------------
As you can see the 'desired' effect is to have the buttons change a variable and then a piece of sript finding out what the variable is and changing a movie according to the appropriate letter but it don't work! boohoo!

If you can help i'd be really really thankful and buy you a cake of your choice!*

Thanks a bunch for your time
James Bending


*this is a lie.