I’ve never quite understood this.
I’am dynamically loading 3 clips using an array to reference them:
code:
_root.holdingClips_array[g].loadMovie("MAIN/players/CARD/ten.swf", get);
Now, all this works fine & dandy, however if I want to use “getBytesLoaded” in an “onEnterFrame” like this:
code:
_root[holdingClips_array[g]].onEnterFrame=function(){
Time+=_root[holdingClips_array[g]].getBytesLoaded
}
Then I have to enclose the reference in brackets [ ], like:
_root[holdingClips_array[g]]
I know using this technique creates a dynamic reference to the clip, but how come it works in the first example given above without the brackets?




Reply With Quote