Thank you for your time, and also thank you very much for getting back to me in my previous question. If its any consolation, I am learning quickly - and if it wasn't for the fact that I really like to construct my site using loadMovie then this would not be so critical for me to get right. I anticipate once I get this, then happy days and I will never be stuck at this point again; nor will anyone else in the future if this exchange becomes a swift reference point for such questions re loadMovie.
I understand the logic of flash - the syntax often escapes me, but I am learning by doing.
So I separated the functions (at least I hoped I had):
var pause_one_loading:TweenMax = new TweenMax.to.delayedCall(10.0,load_one);
function load_one():Void {
_root.loader_mc.loadMovie("pages/one.swf");
}
and then I call it from:
one_mc.onRelease=function(){
TweenMax.to(_root.band_mc,0.3,{_height:0.25, yoyo:1, overwrite:1});
load_one.play();
}
But that may well, strictly speaking, be a nested function of sorts, so next I tried to assign two clearly separate functions to the same event:
one_mc.onRelease=function(){
load_one.play();
}
one_mc.onRelease=function(){
_root.loader_mc.loadMovie("pages/one.swf");
}
Both times I get the same error, "there is no method with the name 'play'"
I know you have enough of a drain on your time to refer questions about loadMovie and tween clashes elsewhere, but perhaps this exchange can be quickly referred to in future questions regarding delaying a loadMovie call? I had no idea that delayed.Call existed, and it is a godsend. I have skimmed the documentation but my eye was geared towards tweening rather than anything else. Best regards, LF