Basic Problem

AS2 on a button symbol:

on (release) {
_root.randomVar = pie
trace (_root.randomVar)
}

Trace = undefined

If I put Var = X in the time line it comes out undefined, no variables seem to be working, tried it in 2x flash projects :stare: