capsize
04-28-2005, 03:58 PM
Hi.
I have the following code:
/* Frame1 */
_root.TF = _level3._totalframes;
_root.FL = _level3._framesloaded;
_root.CF = _level3._currentframe;
if (_root.CF == _root.TF) {
_root.gotoAndStop(2);
}
/* Frame2 */
gotoAndPlay(1);
this is the code from an emptyMC on the root stage called "timer".
I am loading an .swf into _level3, and this code is supposed to control movement on the _root timeline.
Im looking to move the _root timeline to the nextFrame, when the movie loaded in _level3 has its _currentFrame "equal" to the total number of frames in the loading movie in _level3 (which would be the last frame of the loaded .swf).
My AS doesnt seem to be doing the trick.
Any help is appreciated!
Thanks!
I have the following code:
/* Frame1 */
_root.TF = _level3._totalframes;
_root.FL = _level3._framesloaded;
_root.CF = _level3._currentframe;
if (_root.CF == _root.TF) {
_root.gotoAndStop(2);
}
/* Frame2 */
gotoAndPlay(1);
this is the code from an emptyMC on the root stage called "timer".
I am loading an .swf into _level3, and this code is supposed to control movement on the _root timeline.
Im looking to move the _root timeline to the nextFrame, when the movie loaded in _level3 has its _currentFrame "equal" to the total number of frames in the loading movie in _level3 (which would be the last frame of the loaded .swf).
My AS doesnt seem to be doing the trick.
Any help is appreciated!
Thanks!