If you use the onclipevent you can create variables on the main timeline that can easily be accessed and manipulated in the MC. For example this code is attached to an MC on the main timeline:
Code:
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
download = _root.getBytesLoaded();
bytesleft = _root.getBytesTotal()-_root.getBytesLoaded();
percenttxt = int(_root.getBytesLoaded()/_root.getBytesTotal()*100)+"%";
percent = int(_root.getBytesLoaded()/_root.getBytesTotal()*100);
}
Then in the first frame of tje MC I test the value of 'percent':
Code:
if (percent >= 30) {
gotoAndPlay ("tween");
}
I also display the value of 'percenttxt' in a dynamic textbox within the MC.
If you attach an onclipevent to M1 similar to this:
Code:
onClipEvent (enterFrame) {
if (!T1) {
T1 = initvalue;
} else {
T1 = othervalue;
}
}
Then just create 'othervalue' and go back to the first frame where M1 is.
hope that helps....