ok, I've got an interface mc that gets (12) external .swf files loaded into it for its content.
The interface mc's frist 100 frames or so are the splash (which on slow connections, finishes its gratuitous little sliding around before everything is loaded) and I'd like to incorporate a preloader (maybe one that extends the grey field as a progress bar) The trick of it is, I'd like the preloader to monitor all (12) of the external .swf's progress, not each one individually... as I load all (12) of the .swfs simultaneously rather than one after the other. As I'm sure it is doable, a more relavent question may be: is this reasonable, or is it going to be more headache than its worth? Maybe I divide the distance of the grey field into 12 and let each subdivided section of the field act as an independant progress bar for each .swf? Any suggestions out there?
On a side note, I've been having difficulty accessing arrays of mc targets, sometimes it works, sometimes not, but the coding is essentially the same... typically what I'm doing is passing a function like so...
_root.exampleFunction (x);
where "x" is an integer corresponding to an array element I wish to pass in the function like so...
(this is all in a "storage" frame at the opening of the main mc)
exampleArray = new Array (mc_01, mc_02, mc_03, mc_04);
function exampleFunction (x) {
_root.anotherFunction (_root.exampleArray [x])
}
function anotherFunction (targetMC) {
targetMC._visible = 0;
}
are there any issues with using targets in arrays that I'm obviously unaware of? I've gone through about a hundred different iterations of the coding, using "_root. " and not, using quotations around target names and not, etc. I can't seem to find any rhyme or reason as to why it works in some places and not in others. If anybody is interested in seeing the specific code, I can e-mail it, post it, whatever...
thanks for any help anybody might be able to offer...
-bugg
The interface mc's frist 100 frames or so are the splash (which on slow connections, finishes its gratuitous little sliding around before everything is loaded) and I'd like to incorporate a preloader (maybe one that extends the grey field as a progress bar) The trick of it is, I'd like the preloader to monitor all (12) of the external .swf's progress, not each one individually... as I load all (12) of the .swfs simultaneously rather than one after the other. As I'm sure it is doable, a more relavent question may be: is this reasonable, or is it going to be more headache than its worth? Maybe I divide the distance of the grey field into 12 and let each subdivided section of the field act as an independant progress bar for each .swf? Any suggestions out there?
On a side note, I've been having difficulty accessing arrays of mc targets, sometimes it works, sometimes not, but the coding is essentially the same... typically what I'm doing is passing a function like so...
_root.exampleFunction (x);
where "x" is an integer corresponding to an array element I wish to pass in the function like so...
(this is all in a "storage" frame at the opening of the main mc)
exampleArray = new Array (mc_01, mc_02, mc_03, mc_04);
function exampleFunction (x) {
_root.anotherFunction (_root.exampleArray [x])
}
function anotherFunction (targetMC) {
targetMC._visible = 0;
}
are there any issues with using targets in arrays that I'm obviously unaware of? I've gone through about a hundred different iterations of the coding, using "_root. " and not, using quotations around target names and not, etc. I can't seem to find any rhyme or reason as to why it works in some places and not in others. If anybody is interested in seeing the specific code, I can e-mail it, post it, whatever...
thanks for any help anybody might be able to offer...
-bugg