/Frameworks/AppKit/browser.platform/CAFlashLayer.j
http://github.com/polymar/polish · Unknown · 18 lines · 18 code · 0 blank · 0 comment · 0 complexity · 1522a26f03b227b2342faf25c2ffca05 MD5 · raw file
- i;9;CALayer.ji;14;CPFlashMovie.jc;803;
- var _1=objj_allocateClassPair(CALayer,"CAFlashLayer"),_2=_1.isa;
- class_addIvars(_1,[new objj_ivar("_flashMovie")]);
- objj_registerClassPair(_1);
- objj_addClassForBundle(_1,objj_getBundleWithPath(OBJJ_CURRENT_BUNDLE.path));
- class_addMethods(_1,[new objj_method(sel_getUid("setFlashMovie:"),function(_3,_4,_5){
- with(_3){
- if(_flashMovie==_5){
- return;
- }
- _flashMovie=_5;
- _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>";
- }
- }),new objj_method(sel_getUid("flashMovie"),function(_6,_7){
- with(_6){
- return _flashMovie;
- }
- })]);