This is a follow up to a post I had earlier in the week that bill helped me with (so if your still out there!).
The accepting .swf takes the variable with this code...
(frame 2)
if (vars == undefined) {
gotoAndPlay(1);
}else{gotoAndStop(vars);}
stop();
-- The problem is I have a movie loader on the key frame before this. After the loader does it thing it ignores the code above and just rolls to the first frame in the time line (i.e. not passing the var and jumping to the frame it should)
load movie code...
(frame 1)
onClipEvent(enterFrame) {
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal()
percentLoaded = Math.round(100*bytesLoaded/bytesTotal);
_root.displayText = "__"+percentLoaded+"__";
if (bytesLoaded == bytesTotal) {
nextFrame();
}
-- what am I doing wrong? I tried incorporating the code, but my actionscripting skills are pretty minimal.
Thanks!
The accepting .swf takes the variable with this code...
(frame 2)
if (vars == undefined) {
gotoAndPlay(1);
}else{gotoAndStop(vars);}
stop();
-- The problem is I have a movie loader on the key frame before this. After the loader does it thing it ignores the code above and just rolls to the first frame in the time line (i.e. not passing the var and jumping to the frame it should)
load movie code...
(frame 1)
onClipEvent(enterFrame) {
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal()
percentLoaded = Math.round(100*bytesLoaded/bytesTotal);
_root.displayText = "__"+percentLoaded+"__";
if (bytesLoaded == bytesTotal) {
nextFrame();
}
-- what am I doing wrong? I tried incorporating the code, but my actionscripting skills are pretty minimal.
Thanks!