Changeset 4595

Show
Ignore:
Timestamp:
07/02/06 00:49:33 (2 years ago)
Author:
alex
Message:

fixing dojo.storage for Flash 9 on Safari

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/flash.js

    r4526 r4595  
    683683                                                                + "&baseRelativePath=" + escape(dojoPath); 
    684684                        } 
     685 
     686                        if(swflocEmbed.indexOf("?") == -1){ 
     687                                swflocEmbed +=  "?baseRelativePath="+escape(dojoPath)+"' "; 
     688                        } 
    685689                         
    686690                        objectHTML = 
     
    695699                                  + '<param name="quality" value="high" /> ' 
    696700                                  + '<param name="bgcolor" value="#ffffff" /> ' 
    697                                   + '<embed src="' + swflocEmbed + '" ' 
     701                                  + '<embed src="' + swflocEmbed + "' " 
    698702                                  + 'quality="high" ' 
    699703                                  + 'bgcolor="#ffffff" ' 
     
    705709                                  + 'align="middle" ' 
    706710                                  + 'allowScriptAccess="sameDomain" ' 
    707                                   + 'type="application/x-shockwave-flash" '+ "&baseRelativePath=" + escape(dojoPath); 
     711                                  + 'type="application/x-shockwave-flash" ' 
    708712                                  + 'pluginspage="http://www.macromedia.com/go/getflashplayer" />' 
    709713                                + '</object>'; 
  • trunk/src/storage/browser.js

    r4055 r4595  
    1010                Storage provider that uses features in Flash to achieve permanent storage. 
    1111                 
    12                 @author Alex Russel, alex@dojotoolkit.org 
     12                @author Alex Russell, alex@dojotoolkit.org 
    1313                @author Brad Neuberg, bkn3@columbia.edu  
    1414*/ 
  • trunk/src/storage/Storage.as

    r4190 r4595  
    2222                // access so it is in the cache 
    2323                _root.createEmptyMovieClip("_settingsBackground", 1); 
     24                // getURL("javascript:alert('"+DojoExternalInterface.dojoPath+"');"); 
    2425                _root._settingsBackground.loadMovie(DojoExternalInterface.dojoPath + "storage_dialog.swf"); 
    2526        }