|
-
I'm just wondering if anyone has seen code out there to access flash in a dhtml layer. Ive been using the code examples on moock.org which work great but when I'm not having much luck when I try adding the layer reference.
Thanks.
-
Let me answer my question
Sorry if that last post didnt make any sense, I didnt have enough coffee in my system... With that let me answer my question in case anyone wants to know:
function movieobject(thisLayer,thisMovie) {
if (navigator.appName.indexOf ("Microsoft") !=-1) return window[thisMovie]
else return eval('document.'+thisLayer+'.document.embeds["'+thisMovie+'"]');
}
This will return the flash plugin object for either netscape or IE. I dont know why the @#$@#$ I have to use the embed array which seems like a hack but its the only way I can get it to work. Let me know if you figure out a different way.
-Nate
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|