I WILL PICK BEST ANSWER!!!
I have 2 movie clips and i need a variable from movie clip 1 (login_mc) to be the same on movie clip 2(messages_mc)
(logon. no database needed, all usernames are in code)
here is my code
/////////main scene//
function checkVariable(event:Event):void
{...