MCPcopy Create free account
hub / github.com/CreateJS/SoundJS / getObjectById

Function getObjectById

lib/flashaudioplugin-NEXT.js:315–330  ·  view source on GitHub ↗
(objectIdStr)

Source from the content-addressed store, hash-verified

313 }
314
315 function getObjectById(objectIdStr) {
316 var r = null;
317 var o = getElementById(objectIdStr);
318 if (o && o.nodeName == "OBJECT") {
319 if (typeof o.SetVariable != UNDEF) {
320 r = o;
321 }
322 else {
323 var n = o.getElementsByTagName(OBJECT)[0];
324 if (n) {
325 r = n;
326 }
327 }
328 }
329 return r;
330 }
331
332 /* Requirements for Adobe Express Install
333 - only one instance can be active at a time

Callers 2

matchVersionsFunction · 0.70

Calls 1

getElementByIdFunction · 0.70

Tested by

no test coverage detected