PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/Frameworks/AppKit/browser.platform/CAFlashLayer.j

http://github.com/jfahrenkrug/MapKit-HelloWorld
Unknown | 18 lines | 18 code | 0 blank | 0 comment | 0 complexity | 1522a26f03b227b2342faf25c2ffca05 MD5 | raw file
 1i;9;CALayer.ji;14;CPFlashMovie.jc;803;
 2var _1=objj_allocateClassPair(CALayer,"CAFlashLayer"),_2=_1.isa;
 3class_addIvars(_1,[new objj_ivar("_flashMovie")]);
 4objj_registerClassPair(_1);
 5objj_addClassForBundle(_1,objj_getBundleWithPath(OBJJ_CURRENT_BUNDLE.path));
 6class_addMethods(_1,[new objj_method(sel_getUid("setFlashMovie:"),function(_3,_4,_5){
 7with(_3){
 8if(_flashMovie==_5){
 9return;
10}
11_flashMovie=_5;
12_DOMElement.innerHTML="<object width = \"100%\" height = \"100%\"><param name = \"movie\" value = \""+_5._fileName+"\"></param><param name = \"wmode\" value = \"transparent\"></param><embed src = \""+_5._fileName+"\" type = \"application/x-shockwave-flash\" wmode = \"transparent\" width = \"100%\" height = \"100%\"></embed></object>";
13}
14}),new objj_method(sel_getUid("flashMovie"),function(_6,_7){
15with(_6){
16return _flashMovie;
17}
18})]);