# Why does trace function not work?

**URL:** https://forum.kirupa.com/t/why-does-trace-function-not-work/56181
**Category:** Uncategorized
**Created:** [July 1, 2004, 9:07am UTC](https://forum.kirupa.com/t/why-does-trace-function-not-work/56181 "2004-07-01T09:07:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 1, 2004, 9:07am UTC](https://forum.kirupa.com/t/why-does-trace-function-not-work/56181/1 "2004-07-01T09:07:44Z")

</div>

hi,

ive just started actionscripting instead of tweening so be gentle!

i use mx 2004 but i cant get the trace function to work…, here is the code form a kirupa tutorial…

\_global.myvar=5;  
trace (\_global.myvar);

why does this not work? i thought it shud display 5.

ta, Billy
