Changeset 20

Show
Ignore:
Timestamp:
01/24/07 01:47:22 (2 years ago)
Author:
mikel
Message:

change load order of swflayer/swftemplate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • worldkit/com/brainoff/worldkitImages.as

    r19 r20  
    8282 
    8383        /* 
     84          swftemplate: a way to specify a tiling on a single level 
     85           this should be our base representation of images -- a single image is a special case of tiling 
     86        */ 
     87        var l=0; 
     88        for (var s in conf.swftemplate) { 
     89            imagemc.createEmptyMovieClip(s, layer + conf.swftemplate[s].layer); 
     90            if (conf.swftemplate[s].layer > l) { 
     91                    l = conf.swftemplate[s].layer; //REVIST tangled interplay of config iterator, layer, etc 
     92            } 
     93        }  
     94        layer += l; 
     95 
     96        checkSwfTemplate(); 
     97 
     98        /* 
    8499          swflayer can actually load in any type of image 
    85100           with additional positioning parameters 
     
    93108        } 
    94109 
    95         /* 
    96           swftemplate: a way to specify a tiling on a single level 
    97            this should be our base representation of images -- a single image is a special case of tiling 
    98         */ 
    99         var l=0; 
    100         for (var s in conf.swftemplate) { 
    101             imagemc.createEmptyMovieClip(s, layer + conf.swftemplate[s].layer); 
    102             if (conf.swftemplate[s].layer > l) { 
    103                     l = conf.swftemplate[s].layer; //REVIST tangled interplay of config iterator, layer, etc 
    104             } 
    105         }  
    106         layer += l; 
    107  
    108         checkSwfTemplate(); 
    109110 
    110111        if (startLoading == 0) {