j0se
May 31st, 2002, 02:49 AM
part 1:
i have this little mc that i want to play before every new mc (i.e. 'about us' mc; 'services' mc and so on) to give the impression that something is loading (it's just eye-candy, really).
http://www.tnlc.co.uk/z/loading.htm
(it's a bit rough, though)
now...
1 do i place this mc somewhere in the timeline and give it a label (playLoading) then create a function that accepts a string (frameLabel) and call it from my buttons?
2 do i place the mc in a layer on it's own (or maybe a layer that contains only mc's called up by functions?
3 can i call the mc 'into existence' without having to place it anywhere?
part 2:
i want each button to:
1 call the loading_mc
2 then go to the appropriate label
i've got this:
on (release) {
_root.gts("playLoading");
if (_root.playLoading_mc.finished=true) {
_root.gts("about_us");
}
}
i've created a var called finished and placed it at the end of the playLoading mc, and i'm trying to get the button script to check whether the condition is true. but at the moment the code seesm to run straight through to about us
?
i have this little mc that i want to play before every new mc (i.e. 'about us' mc; 'services' mc and so on) to give the impression that something is loading (it's just eye-candy, really).
http://www.tnlc.co.uk/z/loading.htm
(it's a bit rough, though)
now...
1 do i place this mc somewhere in the timeline and give it a label (playLoading) then create a function that accepts a string (frameLabel) and call it from my buttons?
2 do i place the mc in a layer on it's own (or maybe a layer that contains only mc's called up by functions?
3 can i call the mc 'into existence' without having to place it anywhere?
part 2:
i want each button to:
1 call the loading_mc
2 then go to the appropriate label
i've got this:
on (release) {
_root.gts("playLoading");
if (_root.playLoading_mc.finished=true) {
_root.gts("about_us");
}
}
i've created a var called finished and placed it at the end of the playLoading mc, and i'm trying to get the button script to check whether the condition is true. but at the moment the code seesm to run straight through to about us
?