# Basic Problem

**URL:** <https://forum.kirupa.com/t/basic-problem/281558>\
**Category:** Uncategorized\
**Created:** [February 10, 2009, 5:38pm UTC](https://forum.kirupa.com/t/basic-problem/281558 "2009-02-10T17:38:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VaLL](https://avatars.discourse-cdn.com/v4/letter/v/4491bb/32.png) [@VaLL](https://forum.kirupa.com/u/VaLL)\
**Post date:** [February 10, 2009, 5:38pm UTC](https://forum.kirupa.com/t/basic-problem/281558/1 "2009-02-10T17:38:07Z")

</div>

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:
