Hi was having a problem, that i already solved but i donĀ“t understand te solution.
To trace a variable that is in the main class i have to use this:
trace(myClass(root).amount);
While i would expect it to be this:
trace(root.myClass.amount);
When do i have to use the dot syntax and when the parentheses?