Changeset 8887 for trunk

Show
Ignore:
Timestamp:
06/03/07 13:37:54 (18 months ago)
Author:
alex
Message:

adding flash6 and flash8 dirs

Location:
trunk/src/flash
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/flash/flash6/DojoExternalInterface.as

    r4563 r8887  
    1414 
    1515        public static function initialize(){  
    16                 //getURL("javascript:dojo.debug('FLASH:DojoExternalInterface initialize')"); 
     16                //getURL("javascript:console.debug('FLASH:DojoExternalInterface initialize')"); 
    1717                // FIXME: Set available variable by testing for capabilities 
    1818                DojoExternalInterface.available = true; 
     
    2020                // extract the dojo base path 
    2121                DojoExternalInterface.dojoPath = DojoExternalInterface.getDojoPath(); 
    22                 //getURL("javascript:dojo.debug('FLASH:dojoPath="+DojoExternalInterface.dojoPath+"')"); 
     22                //getURL("javascript:console.debug('FLASH:dojoPath="+DojoExternalInterface.dojoPath+"')"); 
    2323                 
    2424                // Sometimes, on IE, the fscommand infrastructure can take a few hundred 
     
    111111                        Called by Flash to indicate to JavaScript that we are ready to have 
    112112                        our Flash functions called. Calling loaded() 
    113                         will fire the dojo.flash.loaded() event, so that JavaScript can know that 
     113                        will fire the dojox.flash.loaded() event, so that JavaScript can know that 
    114114                        Flash has finished loading and adding its callbacks, and can begin to 
    115115                        interact with the Flash file. 
    116116        */ 
    117117        public static function loaded(){ 
    118                 //getURL("javascript:dojo.debug('FLASH:loaded')"); 
     118                //getURL("javascript:console.debug('FLASH:loaded')"); 
    119119                 
    120120                // one more step: see if fscommands are ready to be executed; if not, 
     
    172172                        fscommand("addCallback", _callbacks[i]); 
    173173                } 
    174                 call("dojo.flash.loaded"); 
     174                call("dojox.flash.loaded"); 
    175175        } 
    176176         
  • trunk/src/flash/flash8/DojoExternalInterface.as

    r4190 r8887  
    5959                 
    6060                // tell JavaScript about DojoExternalInterface new method so we can create a proxy 
    61                 ExternalInterface.call("dojo.flash.comm._addExternalInterfaceCallback",  
     61                ExternalInterface.call("dojox.flash.comm._addExternalInterfaceCallback",  
    6262                                                                                                         methodName); 
    6363                                                                                                          
     
    8888                        Called by Flash to indicate to JavaScript that we are ready to have 
    8989                        our Flash functions called. Calling loaded() 
    90                         will fire the dojo.flash.loaded() event, so that JavaScript can know that 
     90                        will fire the dojox.flash.loaded() event, so that JavaScript can know that 
    9191                        Flash has finished loading and adding its callbacks, and can begin to 
    9292                        interact with the Flash file. 
    9393        */ 
    9494        public static function loaded(){ 
    95                 DojoExternalInterface.call("dojo.flash.loaded"); 
     95                DojoExternalInterface.call("dojox.flash.loaded"); 
    9696        } 
    9797         
     
    108108         
    109109        public static function chunkArgumentData(value, argIndex:Number):Void{ 
    110                 //getURL("javascript:dojo.debug('FLASH: chunkArgumentData, value="+value+", argIndex="+argIndex+"')"); 
     110                //getURL("javascript:console.debug('FLASH: chunkArgumentData, value="+value+", argIndex="+argIndex+"')"); 
    111111                var currentValue = DojoExternalInterface.argData[argIndex]; 
    112112                if(currentValue == null || typeof currentValue == "undefined"){ 
     
    131131                        DojoExternalInterface.encodeData(DojoExternalInterface.resultData); 
    132132                         
    133                 //getURL("javascript:dojo.debug('FLASH: encoded result data="+DojoExternalInterface.resultData+"')"); 
     133                //getURL("javascript:console.debug('FLASH: encoded result data="+DojoExternalInterface.resultData+"')"); 
    134134        } 
    135135         
     
    153153                var piece = DojoExternalInterface.resultData.substring(startCut, endCut); 
    154154                 
    155                 //getURL("javascript:dojo.debug('FLASH: chunking return piece="+piece+"')"); 
     155                //getURL("javascript:console.debug('FLASH: chunking return piece="+piece+"')"); 
    156156                 
    157157                return piece; 
     
    174174         
    175175        private static function encodeData(data){ 
    176                 //getURL("javascript:dojo.debug('inside flash, data before="+data+"')"); 
     176                //getURL("javascript:console.debug('inside flash, data before="+data+"')"); 
    177177 
    178178                // double encode all entity values, or they will be mis-decoded 
     
    195195                data = DojoExternalInterface.replaceStr(data, '"', '\"'); 
    196196                 
    197                 //getURL("javascript:dojo.debug('inside flash, data after="+data+"')"); 
     197                //getURL("javascript:console.debug('inside flash, data after="+data+"')"); 
    198198                return data; 
    199199        } 
  • trunk/src/flash/flash8/ExpressInstall.as

    r3638 r8887  
    6767 
    6868        public function onInstallStatus(msg):Void{ 
    69                 getURL("javascript:dojo.flash.install._onInstallStatus('"+msg+"')"); 
     69                getURL("javascript:dojox.flash.install._onInstallStatus('"+msg+"')"); 
    7070        } 
    7171}