I am using the following actionscript to load a external swf. I would like to actually start playing that movie at a specific location based on what is already loaded. I am using this tutorial [COLOR=#0000ff]here[/COLOR]. Its hard to explain exactly what I want but basically lets say I have three swf’s. A, B, C.
If I go from A to B I use this AS
B_bt.onRelease = function() {
if (_root.currMovie == undefined) {
_root.currMovie = "B"; container.loadMovie("B.swf");
} else if (_root.currMovie != "B") {
if (container._currentframe>=container.midframe) {
_root.currMovie = "B"; container.play(); }
}
};
Which is fine. If I go from A to C I use basically the same AS just change the “B” to a “C”. In each case (going from A to B and from A to C) I am ok with them starting to play on the first frame. But if I go from C to B I actually want B to start at a different frame then when I went from A to B. Is there a way to change the AS to do that?
I am also using this AS to load a movie right off the bat.
_root.currMovie = "A";
[LEFT]container.loadMovie(_root.currMovie+".swf");[/LEFT]
Can I change that to A start at a particular location.
I hope this all makes sense
Thanks,
Josh