I have a bit of code that is on my main timeline:
var myV:Number=100;
var myV2:Number=200;
function loader() {
myV=200+100;
myV2=400+300;
fn();
}
loader();
function fn() {
trace(myV);
trace(myV2);
}
So far so good.
But i have a movieclip on my timeline, from which i would like to retrieve these evaluated values.
I need to put these values into a another function which exists in my Movieclip’s timeline.
Any idea how that could be achieved.
Much appreciated.