monior
03-02-2008, 02:46 PM
Hi ,
I am new in flash,
I make a movie clip in main timeline, its name circle. In circle time line, frame1 I put a variable.Then in main time line (_root) I try to trace the variable.The code is :
trace(circle.myVar)
but it doesnt work, output is : undefined.
However if I trace it using button which I put in main time line, the code is :
on(release){
trace(circle.myVar)
}
it works. So what wrong with it,
I am new in flash,
I make a movie clip in main timeline, its name circle. In circle time line, frame1 I put a variable.Then in main time line (_root) I try to trace the variable.The code is :
trace(circle.myVar)
but it doesnt work, output is : undefined.
However if I trace it using button which I put in main time line, the code is :
on(release){
trace(circle.myVar)
}
it works. So what wrong with it,