Closed GoogleCodeExporter closed 9 years ago
I don't see how this is a swfobject bug.
The timing of access to DOM elements are controlled by the browsers.
If you want a standard way of storing the reference, then add a callback
function to
embedSWF() or registerObject() as per the docs.
e.g.
<script type="text/javascript">
var myFlashObj;
function getRef(e) {
if (e.success)
myFlashObj = e.ref;
}
swfobject.registerObject("myId", "9.0.0", "expressInstall.swf", getRef);
</script>
Original comment by aran.rhee@gmail.com
on 18 Dec 2009 at 12:20
Original issue reported on code.google.com by
nagarajh...@gmail.com
on 17 Dec 2009 at 7:06